|
nidas v1.2.3
|
Public Types | |
| enum | tasks { NUTTIN_TO_DO , LIST_CONFIG_NAMES , LIST_CONFIGS , ADD_CONFIG_BY_TIME , TERM_CONFIG , GET_CONFIG , GET_CONFIG_FOR_TIME } |
Public Member Functions | |
| ProjConfigIO () | |
| int | parseRunstring (int argc, char **argv) |
| int | run () |
| void | listConfigs (bool allinfo) |
| void | addConfigByTime () |
| void | termConfig () |
| void | getConfig () |
| void | getConfigForTime () |
Static Public Member Functions | |
| static int | usage (const char *argv0) |
Private Attributes | |
| string | xmlFile |
| XML file containing project configurations. | |
| enum tasks | task |
| What to do, per runstring arguments. | |
| string | cname |
| Name of project configuration. | |
| n_u::UTime | cbegin |
| Time of start of project configuration. | |
| n_u::UTime | cend |
| Time of end of project configuration. | |
| string | cxml |
| Name of xml containing nidas configuration for a project. | |
| string | timeformat |
| ProjectConfigs | configs |
| ProjConfigIO::ProjConfigIO | ( | ) |
| void ProjConfigIO::addConfigByTime | ( | ) |
References nidas::core::ProjectConfigs::addConfigByTime(), cbegin, cend, cname, configs, cxml, nidas::core::ProjectConfigs::getConfigs(), nidas::core::ProjectConfig::getName(), nidas::core::getSample(), nidas::core::ProjectConfig::setName(), nidas::core::ProjectConfigs::writeXML(), and xmlFile.
Referenced by run().
| void ProjConfigIO::getConfig | ( | ) |
References cname, configs, nidas::core::ProjectConfig::getBeginTime(), nidas::core::ProjectConfigs::getConfigs(), nidas::core::ProjectConfig::getEndTime(), nidas::core::ProjectConfig::getName(), nidas::core::getSample(), nidas::core::ProjectConfig::getXMLName(), timeformat, and USECS_PER_SEC.
Referenced by run().
| void ProjConfigIO::getConfigForTime | ( | ) |
References cbegin, configs, nidas::core::ProjectConfig::getBeginTime(), nidas::core::ProjectConfigs::getConfigs(), nidas::core::ProjectConfig::getEndTime(), nidas::core::ProjectConfig::getName(), nidas::core::getSample(), nidas::core::ProjectConfig::getXMLName(), timeformat, and USECS_PER_SEC.
Referenced by run().
References configs, nidas::core::ProjectConfig::getBeginTime(), nidas::core::ProjectConfigs::getConfigs(), nidas::core::ProjectConfig::getEndTime(), nidas::core::ProjectConfig::getName(), nidas::core::getSample(), nidas::core::ProjectConfig::getXMLName(), timeformat, and USECS_PER_SEC.
Referenced by run().
References ADD_CONFIG_BY_TIME, cbegin, cend, cname, cxml, GET_CONFIG, GET_CONFIG_FOR_TIME, nidas::core::getSample(), LIST_CONFIG_NAMES, LIST_CONFIGS, NUTTIN_TO_DO, task, TERM_CONFIG, timeformat, usage(), USECS_PER_DAY, and xmlFile.
| int ProjConfigIO::run | ( | ) |
References ADD_CONFIG_BY_TIME, addConfigByTime(), configs, GET_CONFIG, GET_CONFIG_FOR_TIME, getConfig(), getConfigForTime(), nidas::core::getSample(), LIST_CONFIG_NAMES, LIST_CONFIGS, listConfigs(), nidas::core::ProjectConfigs::parseXML(), task, TERM_CONFIG, termConfig(), nidas::core::XMLImplementation::terminate(), and xmlFile.
| void ProjConfigIO::termConfig | ( | ) |
Referenced by parseRunstring().
|
private |
Time of start of project configuration.
Referenced by addConfigByTime(), getConfigForTime(), and parseRunstring().
|
private |
Time of end of project configuration.
Referenced by addConfigByTime(), parseRunstring(), and termConfig().
|
private |
Name of project configuration.
Referenced by addConfigByTime(), getConfig(), and parseRunstring().
|
private |
Referenced by addConfigByTime(), getConfig(), getConfigForTime(), listConfigs(), run(), and termConfig().
|
private |
Name of xml containing nidas configuration for a project.
Referenced by addConfigByTime(), and parseRunstring().
What to do, per runstring arguments.
Referenced by parseRunstring(), and run().
|
private |
Referenced by getConfig(), getConfigForTime(), listConfigs(), and parseRunstring().
|
private |
XML file containing project configurations.
Referenced by addConfigByTime(), parseRunstring(), run(), and termConfig().