|
|
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. | |
| 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. | |
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.
| 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 |
| 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 |
| 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) |