#include <logging_task_load_cfg.h>


Public Member Functions | |
construction / destruction | |
| SimulationTaskLoggingLoadCfg () | |
| virtual | ~SimulationTaskLoggingLoadCfg () |
basic task methods | |
| virtual void | run (SimulationController &) throw ( std::runtime_error ) |
| virtual std::string | name (void) const throw () |
| virtual std::string | description (void) const throw () |
This task is able to load configuration files of both used logging libraries log4cxx and log4cplus. There is a working example in shawn/legacyapps/logging_demo/
Just type the following exemplary line to load a configuration file:
logging_load_cfg log_cfg_file=MyCfgFile
| shawn::SimulationTaskLoggingLoadCfg::SimulationTaskLoggingLoadCfg | ( | ) |
| virtual shawn::SimulationTaskLoggingLoadCfg::~SimulationTaskLoggingLoadCfg | ( | ) | [virtual] |
| virtual void shawn::SimulationTaskLoggingLoadCfg::run | ( | SimulationController & | ) | throw ( std::runtime_error ) [virtual] |
Main function which is called when starting this task. This case, configuration file with name log_cfg_file is loaded.
| SimulationController | enables access to whole simulation |
Implements shawn::SimulationTask.
| virtual std::string shawn::SimulationTaskLoggingLoadCfg::name | ( | void | ) | const throw () [virtual] |
Implements shawn::KeeperManaged.
| virtual std::string shawn::SimulationTaskLoggingLoadCfg::description | ( | void | ) | const throw () [virtual] |
1.5.6