fesa::ProcessConfigurationImpl Class Reference

#include <ProcessConfigurationImpl.h>

List of all members.

Public Member Functions

 ProcessConfigurationImpl (int argc, char *argv[])
virtual ~ProcessConfigurationImpl ()
bool isHelpNeeded () const
void printHelp () const
void load (const ConfigDirs &configDirs)
const std::string & getLogConfigFile () const
const std::string & getCMWConfigFile () const
const std::string & getMsgConfigFile () const
const std::string & getLabMsgConfigFile () const
const std::string & getCMWServerName () const
void setCMWServerName (const std::string &name)
bool isInTimingSimulationMode () const
LoggingMode::LoggingMode getLoggingMode () const
bool isDefined (const std::string &tag) const
std::string getStringValue (const std::string &tag) const
int getIntValue (const std::string &tag) const
bool getBoolValue (const std::string &tag) const

Private Attributes

CMW::Util::CmdOptions cmdOptions_
CMW::Util::Properties properties_
std::string fesaCfgFile_
std::string logCfgFile_
std::string msgCfgFile_
std::string msgLabCfgFile_
std::string cmwCfgFile_
std::string cmwServerName_
bool timingSimulationMode_
std::string timingSimulationCfgFile_
LoggingMode::LoggingMode loggingMode_

Detailed Description

Definition at line 18 of file ProcessConfigurationImpl.h.


Constructor & Destructor Documentation

fesa::ProcessConfigurationImpl::ProcessConfigurationImpl ( int  argc,
char *  argv[] 
)

Definition at line 79 of file ProcessConfigurationImpl.cpp.

References cmdOptions_.

fesa::ProcessConfigurationImpl::~ProcessConfigurationImpl (  )  [virtual]

Definition at line 97 of file ProcessConfigurationImpl.cpp.


Member Function Documentation

bool fesa::ProcessConfigurationImpl::getBoolValue ( const std::string &  tag  )  const
const std::string & fesa::ProcessConfigurationImpl::getCMWConfigFile (  )  const

Definition at line 223 of file ProcessConfigurationImpl.cpp.

References cmwCfgFile_.

const std::string & fesa::ProcessConfigurationImpl::getCMWServerName (  )  const

Definition at line 251 of file ProcessConfigurationImpl.cpp.

References cmwServerName_.

int fesa::ProcessConfigurationImpl::getIntValue ( const std::string &  tag  )  const
const std::string & fesa::ProcessConfigurationImpl::getLabMsgConfigFile (  )  const

Definition at line 237 of file ProcessConfigurationImpl.cpp.

References msgLabCfgFile_.

const std::string & fesa::ProcessConfigurationImpl::getLogConfigFile (  )  const

Definition at line 216 of file ProcessConfigurationImpl.cpp.

References logCfgFile_.

LoggingMode::LoggingMode fesa::ProcessConfigurationImpl::getLoggingMode (  )  const

Definition at line 265 of file ProcessConfigurationImpl.cpp.

References loggingMode_.

const std::string & fesa::ProcessConfigurationImpl::getMsgConfigFile (  )  const

Definition at line 230 of file ProcessConfigurationImpl.cpp.

References msgCfgFile_.

std::string fesa::ProcessConfigurationImpl::getStringValue ( const std::string &  tag  )  const

Definition at line 284 of file ProcessConfigurationImpl.cpp.

References FesaErrorCFGParameterNotFound, and properties_.

Referenced by getBoolValue(), and getIntValue().

bool fesa::ProcessConfigurationImpl::isDefined ( const std::string &  tag  )  const

Definition at line 272 of file ProcessConfigurationImpl.cpp.

References properties_.

bool fesa::ProcessConfigurationImpl::isHelpNeeded (  )  const

Definition at line 103 of file ProcessConfigurationImpl.cpp.

References cmdOptions_.

bool fesa::ProcessConfigurationImpl::isInTimingSimulationMode (  )  const

Definition at line 244 of file ProcessConfigurationImpl.cpp.

References timingSimulationMode_.

void fesa::ProcessConfigurationImpl::load ( const ConfigDirs configDirs  ) 
void fesa::ProcessConfigurationImpl::printHelp (  )  const

Definition at line 114 of file ProcessConfigurationImpl.cpp.

References cmdOptions_.

void fesa::ProcessConfigurationImpl::setCMWServerName ( const std::string &  name  ) 

Definition at line 258 of file ProcessConfigurationImpl.cpp.

References cmwServerName_.


Member Data Documentation

CMW::Util::CmdOptions fesa::ProcessConfigurationImpl::cmdOptions_ [private]

Definition at line 41 of file ProcessConfigurationImpl.h.

Referenced by isHelpNeeded(), load(), printHelp(), and ProcessConfigurationImpl().

Definition at line 47 of file ProcessConfigurationImpl.h.

Referenced by getCMWConfigFile(), and load().

Definition at line 48 of file ProcessConfigurationImpl.h.

Referenced by getCMWServerName(), load(), and setCMWServerName().

Definition at line 43 of file ProcessConfigurationImpl.h.

Referenced by load().

Definition at line 44 of file ProcessConfigurationImpl.h.

Referenced by getLogConfigFile(), and load().

Definition at line 51 of file ProcessConfigurationImpl.h.

Referenced by getLoggingMode(), and load().

Definition at line 45 of file ProcessConfigurationImpl.h.

Referenced by getMsgConfigFile(), and load().

Definition at line 46 of file ProcessConfigurationImpl.h.

Referenced by getLabMsgConfigFile(), and load().

CMW::Util::Properties fesa::ProcessConfigurationImpl::properties_ [private]

Definition at line 42 of file ProcessConfigurationImpl.h.

Referenced by getStringValue(), isDefined(), and load().

Definition at line 50 of file ProcessConfigurationImpl.h.

Referenced by load().

Definition at line 49 of file ProcessConfigurationImpl.h.

Referenced by isInTimingSimulationMode(), and load().


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

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1