nidas v1.2.3
Public Member Functions | Private Attributes | List of all members
PConfig Class Reference

Public Member Functions

 PConfig ()
 
int parseRunstring (NidasApp &app, int argc, char **argv)
 
void usage (const char *argv0)
 
bool parseRemoteSpecifier (const std::string &xmlspec, std::string &host, int &port)
 
void loadFile (const std::string &xmlfile, Project &project)
 
void loadRemoteXML (const std::string &host, int port, Project &project)
 
int main ()
 
void showAll (const Project &project)
 
void showSensorClasses (const Project &project)
 
void showCalFiles (const Project &project)
 
void showHostNames (const Project &project)
 
void showVariables ()
 
void loadVariables (const Project &project)
 
void getHostNames (const Project &project, std::vector< std::string > &dsmnames)
 
void resolveCalFile (CalFile *cf)
 

Private Attributes

string _xmlFile
 
list< string > _sensorClasses
 
bool _showCalFiles
 
bool _showHosts
 
bool _showVariables
 
variable_map_t _variables
 

Constructor & Destructor Documentation

◆ PConfig()

PConfig::PConfig ( )
inline

Member Function Documentation

◆ getHostNames()

void PConfig::getHostNames ( const Project & project,
std::vector< std::string > & dsmnames )

◆ loadFile()

void PConfig::loadFile ( const std::string & xmlfile,
Project & project )

References nidas::core::getSample().

Referenced by main().

◆ loadRemoteXML()

void PConfig::loadRemoteXML ( const std::string & host,
int port,
Project & project )

◆ loadVariables()

void PConfig::loadVariables ( const Project & project)

◆ main()

int PConfig::main ( )

◆ parseRemoteSpecifier()

bool PConfig::parseRemoteSpecifier ( const std::string & xmlspec,
std::string & host,
int & port )

References nidas::core::getSample(), and port.

Referenced by main().

◆ parseRunstring()

int PConfig::parseRunstring ( NidasApp & app,
int argc,
char ** argv )

◆ resolveCalFile()

void PConfig::resolveCalFile ( CalFile * cf)

References DLOG.

Referenced by showCalFiles().

◆ showAll()

void PConfig::showAll ( const Project & project)

◆ showCalFiles()

void PConfig::showCalFiles ( const Project & project)

◆ showHostNames()

void PConfig::showHostNames ( const Project & project)

References getHostNames(), and nidas::core::getSample().

Referenced by main().

◆ showSensorClasses()

void PConfig::showSensorClasses ( const Project & project)

◆ showVariables()

void PConfig::showVariables ( )

References _variables, nidas::core::getSample(), and rate.

Referenced by main().

◆ usage()

void PConfig::usage ( const char * argv0)

Member Data Documentation

◆ _sensorClasses

list<string> PConfig::_sensorClasses
private

◆ _showCalFiles

bool PConfig::_showCalFiles
private

Referenced by main(), and parseRunstring().

◆ _showHosts

bool PConfig::_showHosts
private

Referenced by main(), and parseRunstring().

◆ _showVariables

bool PConfig::_showVariables
private

Referenced by main(), and parseRunstring().

◆ _variables

variable_map_t PConfig::_variables
private

Referenced by loadVariables(), and showVariables().

◆ _xmlFile

string PConfig::_xmlFile
private

Referenced by main(), and parseRunstring().


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