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

Public Member Functions

 SyncDumper ()
 
int parseRunstring (int argc, char **argv)
 
int run ()
 
void printHeader ()
 

Static Public Member Functions

static int usage (const char *argv0)
 
static void sigAction (int sig, siginfo_t *siginfo, void *)
 
static void setupSignals ()
 

Static Public Attributes

static bool interrupted = false
 

Private Member Functions

 SyncDumper (const SyncDumper &)
 
SyncDumperoperator= (const SyncDumper &)
 

Private Attributes

string _dataFileName
 
n_u::auto_ptr< n_u::SocketAddress_sockAddr
 
vector< string > _varnames
 
vector< const SyncRecordVariable * > _vars
 
string _dumpHeader
 
string _dumpJSON
 

Static Private Attributes

static const int DEFAULT_PORT = 30001
 

Constructor & Destructor Documentation

◆ SyncDumper() [1/2]

SyncDumper::SyncDumper ( )

◆ SyncDumper() [2/2]

SyncDumper::SyncDumper ( const SyncDumper & )
private

Member Function Documentation

◆ operator=()

SyncDumper & SyncDumper::operator= ( const SyncDumper & )
private

◆ parseRunstring()

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

◆ printHeader()

void SyncDumper::printHeader ( )

◆ run()

int SyncDumper::run ( )

◆ setupSignals()

void SyncDumper::setupSignals ( )
static

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

Referenced by main().

◆ sigAction()

void SyncDumper::sigAction ( int sig,
siginfo_t * siginfo,
void *  )
static

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

Referenced by setupSignals().

◆ usage()

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

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

Referenced by parseRunstring().

Member Data Documentation

◆ _dataFileName

string SyncDumper::_dataFileName
private

Referenced by parseRunstring(), and run().

◆ _dumpHeader

string SyncDumper::_dumpHeader
private

Referenced by parseRunstring(), and run().

◆ _dumpJSON

string SyncDumper::_dumpJSON
private

Referenced by parseRunstring(), and run().

◆ _sockAddr

n_u::auto_ptr<n_u::SocketAddress> SyncDumper::_sockAddr
private

Referenced by parseRunstring(), and run().

◆ _varnames

vector<string> SyncDumper::_varnames
private

Referenced by parseRunstring(), and run().

◆ _vars

vector<const SyncRecordVariable*> SyncDumper::_vars
private

Referenced by run().

◆ DEFAULT_PORT

const int SyncDumper::DEFAULT_PORT = 30001
staticprivate

Referenced by parseRunstring(), and usage().

◆ interrupted

bool SyncDumper::interrupted = false
static

Referenced by run(), and sigAction().


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