ApplicationOptions.h File Reference
#include <iostream>
#include <ostream>
#include <string>
#include <Ice/Properties.h>
#include <IceUtil/Handle.h>
#include "../ArmarXDummyManager.h"
#include "properties/PropertyUser.h"

Classes

struct  Options
 Stucture containing the parsed options of the application. More...
 

Namespaces

namespace  armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
namespace  armarx::ApplicationOptions
 This namespace contains all relevent methods to parse and print options and propertiesas used by the armarx::Application.
 
namespace  boost
 
namespace  boost::program_options
 

Enumerations

enum  OptionsFormat {
  eHelpBrief , eOptionsDetailed , eDoxygen , eDoxygenComponentPages ,
  eConfig , eXml
}
 Help format to display. More...
 

Functions

PropertyUserList getPropertyUsers (ArmarXDummyManagerPtr dummyManager)
 Return the list of property users.
 
Ice::PropertiesPtr mergeProperties (Ice::PropertiesPtr properties, int argc, char *argv[])
 Merge command line options into properties.
 
Options parseHelpOptions (Ice::PropertiesPtr properties, int argc, char *argv[])
 Parse the help options.
 
void showHelp (ApplicationPtr application, ArmarXDummyManagerPtr dummyManager, Options options, Ice::PropertiesPtr properties, std::ostream &out=std::cout)
 Prints help according to the format selection in options.