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

Public Member Functions

 SensorSimApp ()=default
 
int parseRunstring (int argc, char **argv)
 
int main ()
 

Static Public Member Functions

static int usage (const char *argv0)
 

Private Attributes

string _device {}
 
string _outputMessage {}
 
string _separator {"\r\n"}
 
bool _prompted {false}
 
string _prompt {}
 
bool _openpty {false}
 
bool _verbose {false}
 
float _rate {1.0}
 
int _nmessages {-1}
 
string _fixedMessage {}
 
string _inputFile {}
 
bool _onceThru {false}
 
string _termioOpts {SensorSimApp::defaultTermioOpts}
 
bool _continue {false}
 
int _timeout {0}
 
bool _wait_for_hup {false}
 

Static Private Attributes

static string defaultTermioOpts = "9600n81lnr"
 

Constructor & Destructor Documentation

◆ SensorSimApp()

SensorSimApp::SensorSimApp ( )
default

Member Function Documentation

◆ main()

int SensorSimApp::main ( )

◆ parseRunstring()

int SensorSimApp::parseRunstring ( int argc,
char ** argv )

◆ usage()

int SensorSimApp::usage ( const char * argv0)
static

Member Data Documentation

◆ _continue

bool SensorSimApp::_continue {false}
private

Referenced by main(), and parseRunstring().

◆ _device

string SensorSimApp::_device {}
private

Referenced by main(), and parseRunstring().

◆ _fixedMessage

string SensorSimApp::_fixedMessage {}
private

◆ _inputFile

string SensorSimApp::_inputFile {}
private

Referenced by main(), and parseRunstring().

◆ _nmessages

int SensorSimApp::_nmessages {-1}
private

Referenced by main(), and parseRunstring().

◆ _onceThru

bool SensorSimApp::_onceThru {false}
private

Referenced by main(), and parseRunstring().

◆ _openpty

bool SensorSimApp::_openpty {false}
private

Referenced by main(), and parseRunstring().

◆ _outputMessage

string SensorSimApp::_outputMessage {}
private

Referenced by main(), and parseRunstring().

◆ _prompt

string SensorSimApp::_prompt {}
private

Referenced by main(), and parseRunstring().

◆ _prompted

bool SensorSimApp::_prompted {false}
private

Referenced by main(), and parseRunstring().

◆ _rate

float SensorSimApp::_rate {1.0}
private

Referenced by main(), and parseRunstring().

◆ _separator

string SensorSimApp::_separator {"\r\n"}
private

Referenced by main(), and parseRunstring().

◆ _termioOpts

string SensorSimApp::_termioOpts {SensorSimApp::defaultTermioOpts}
private

Referenced by main(), and parseRunstring().

◆ _timeout

int SensorSimApp::_timeout {0}
private

Referenced by main(), and parseRunstring().

◆ _verbose

bool SensorSimApp::_verbose {false}
private

Referenced by main(), and parseRunstring().

◆ _wait_for_hup

bool SensorSimApp::_wait_for_hup {false}
private

Referenced by main(), and parseRunstring().

◆ defaultTermioOpts

string SensorSimApp::defaultTermioOpts = "9600n81lnr"
staticprivate

Referenced by usage().


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