Choreonoid  1.8
Public Member Functions | Friends | List of all members
cnoid::OptionManager Class Reference

#include <OptionManager.h>

Public Member Functions

OptionManageraddOption (const char *name, const char *description)
 
OptionManageraddOption (const char *name, const boost::program_options::value_semantic *s)
 
OptionManageraddOption (const char *name, const boost::program_options::value_semantic *s, const char *description)
 
SignalProxy< void(std::vector< std::string > &inputFiles)> sigInputFileOptionsParsed (int phase=0)
 
SignalProxy< void(boost::program_options::variables_map &variables)> sigOptionsParsed (int phase=0)
 
bool parseCommandLine1 (int argc, char *argv[])
 
void parseCommandLine2 ()
 

Friends

class ExtensionManager
 

Member Function Documentation

◆ addOption() [1/3]

OptionManager& cnoid::OptionManager::addOption ( const char *  name,
const boost::program_options::value_semantic *  s 
)

◆ addOption() [2/3]

OptionManager& cnoid::OptionManager::addOption ( const char *  name,
const boost::program_options::value_semantic *  s,
const char *  description 
)

◆ addOption() [3/3]

OptionManager & OptionManager::addOption ( const char *  name,
const char *  description 
)

◆ parseCommandLine1()

bool OptionManager::parseCommandLine1 ( int  argc,
char *  argv[] 
)

◆ parseCommandLine2()

void OptionManager::parseCommandLine2 ( )

◆ sigInputFileOptionsParsed()

SignalProxy< void(std::vector< std::string > &inputFiles)> OptionManager::sigInputFileOptionsParsed ( int  phase = 0)

Positional option is replaced with input file options that can obtained by the sigInputFileOptionsParsed signal.

◆ sigOptionsParsed()

SignalProxy< void(boost::program_options::variables_map &variables)> OptionManager::sigOptionsParsed ( int  phase = 0)

Friends And Related Function Documentation

◆ ExtensionManager

friend class ExtensionManager
friend

The documentation for this class was generated from the following files: