|
This namespace contains all relevent methods to parse and print options and propertiesas used by the armarx::Application. More...
Classes | |
struct | Options |
Stucture containing the parsed options of the application. More... | |
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. More... | |
Ice::PropertiesPtr | mergeProperties (Ice::PropertiesPtr properties, int argc, char *argv[]) |
Merge command line options into properties. More... | |
Options | parseHelpOptions (Ice::PropertiesPtr properties, int argc, char *argv[]) |
Parse the help options. More... | |
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. More... | |
This namespace contains all relevent methods to parse and print options and propertiesas used by the armarx::Application.
PropertyUserList getPropertyUsers | ( | ArmarXDummyManagerPtr | dummyManager | ) |
Return the list of property users.
In this case all components are property users stored in the ComponentManager.
Definition at line 265 of file ApplicationOptions.cpp.
Ice::PropertiesPtr mergeProperties | ( | Ice::PropertiesPtr | properties, |
int | argc, | ||
char * | argv[] | ||
) |
Merge command line options into properties.
Command line options override already set properties.
properties | initialized properties object (see Ice::createProperties()) |
argc | number of command line arguments |
argv | command line arguments |
Definition at line 59 of file ApplicationOptions.cpp.
ApplicationOptions::Options parseHelpOptions | ( | Ice::PropertiesPtr | properties, |
int | argc, | ||
char * | argv[] | ||
) |
Parse the help options.
properties | properties object from Application |
argc | number of command line arguments |
argv | command line arguments |
Definition at line 68 of file ApplicationOptions.cpp.
void showHelp | ( | ApplicationPtr | application, |
ArmarXDummyManagerPtr | dummyManager, | ||
ApplicationOptions::Options | options, | ||
Ice::PropertiesPtr | properties, | ||
std::ostream & | out = std::cout |
||
) |
Prints help according to the format selection in options.
application | pointer to application in order to display application properties |
dummyManager | pointer to dummyManager in order to display properties of add ManagedIceObjects |
options | the parsed help options |
out | optional output stream (default: std::cout) |
Definition at line 169 of file ApplicationOptions.cpp.