#include <RtcConfig.h>
Public Member Functions | |
RtcConfig () | |
RtcConfig class constructor. | |
RtcConfig (int argc, char **argv) | |
RtcConfig class constructor. | |
virtual | ~RtcConfig () |
RtcConfig class destructor. | |
bool | initConfig (int argc, char **argv) |
Initialize RtcConfig class. | |
char ** | getOrbInitArgv () const |
Get arguments to give ORB_init(). | |
int | getOrbInitArgc () const |
Get number of arguments to give ORB_init(). | |
string | getNameServer () const |
Get name of CORBA name server. | |
list< string > & | getComponentLoadPath () |
Get component load path. | |
string | getBinName () const |
Get current executable name. | |
string | getOSname () const |
Get current OS name. | |
string | getHostname () const |
Get current host name. | |
string | getOSrelease () const |
Get current OS release level. | |
string | getOSversion () const |
Get current OS version. | |
string | getArch () const |
Get current machine architecture. | |
string | getPid () const |
Get current process id. | |
string | getLogFileName () |
string | getErrorLogFileName () |
int | getLogLevel () |
Protected Member Functions | |
bool | parseCommandArgs (int argc, char **argv) |
Parse command line arguments. | |
bool | findConfigFile () |
Find configuration file from default given path. | |
bool | parseConfigFile () |
Parse configuration file. | |
bool | collectSysInfo () |
Get system information. | |
void | printUsage (char *arg) |
Print usage. | |
void | argsToArgv () |
Convert command line argument from std::list to char**. | |
bool | fileExist (const char *filename) |
Check file existance. | |
bool | split (const string &input, const string &delimiter, list< string > &results) |
Split string with delimter. |
Read configuration information from rtc.conf configuration file for RtcManager.
|
RtcConfig class constructor. A constructor of RtcConfig. |
|
RtcConfig class constructor. A constructor of RtcConfig.
|
|
RtcConfig class destructor.
|
|
Convert command line argument from std::list to char**.
|
|
Get system information.
|
|
Check file existance.
|
|
Find configuration file from default given path.
|
|
Get current machine architecture.
|
|
Get current executable name.
|
|
Get component load path. Get component load path gived by configuration file. |
|
|
|
Get current host name.
|
|
|
|
|
|
Get name of CORBA name server. Get name of CORBA name server gived by configuration file. |
|
Get number of arguments to give ORB_init(). Get number of argument to give ORB_init(). |
|
Get arguments to give ORB_init(). Get configuration information to give to ORB_init() given by configuration file as a sequence data. |
|
Get current OS name.
|
|
Get current OS release level.
|
|
Get current OS version.
|
|
Get current process id.
|
|
Initialize RtcConfig class. Initialize RtcConfig with command line arguments.
|
|
Parse command line arguments.
|
|
Parse configuration file.
|
|
Print usage.
|
|
Split string with delimter.
|