Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
DataDumper Class Reference

#include <dataDumper.h>

List of all members.

Public Member Functions

int dumpUcharBufferToConsole (unsigned char *buffer, int bufLen)
int pushData (double timeStamp, std::string info, double val)
int testbed ()
int writeDataToCsv (std::string fileName)
int writeToFileNameWhenBufferIsFull (std::string filename)
 ~DataDumper ()

Static Public Member Functions

static DataDumperinstance ()

Private Member Functions

 DataDumper ()
 DataDumper (const DataDumper &)
DataDumperoperator= (const DataDumper &)

Private Attributes

std::vector< double > dataVec
std::string dumpFileName
std::vector< std::string > infoVec
const int maxFifoSize = 10000
int pushCounter
std::vector< double > timeStampVec

Detailed Description

Definition at line 10 of file dataDumper.h.


Constructor & Destructor Documentation

Definition at line 18 of file dataDumper.h.

DataDumper::DataDumper ( ) [inline, private]

Definition at line 31 of file dataDumper.h.

DataDumper::DataDumper ( const DataDumper ) [private]

Member Function Documentation

int DataDumper::dumpUcharBufferToConsole ( unsigned char *  buffer,
int  bufLen 
)

Definition at line 65 of file dataDumper.cpp.

static DataDumper& DataDumper::instance ( ) [inline, static]

Definition at line 13 of file dataDumper.h.

DataDumper& DataDumper::operator= ( const DataDumper ) [private]
int DataDumper::pushData ( double  timeStamp,
std::string  info,
double  val 
)

Definition at line 11 of file dataDumper.cpp.

Definition at line 99 of file dataDumper.cpp.

int DataDumper::writeDataToCsv ( std::string  fileName)

Definition at line 37 of file dataDumper.cpp.

int DataDumper::writeToFileNameWhenBufferIsFull ( std::string  filename)

Definition at line 59 of file dataDumper.cpp.


Member Data Documentation

std::vector<double> DataDumper::dataVec [private]

Definition at line 29 of file dataDumper.h.

std::string DataDumper::dumpFileName [private]

Definition at line 42 of file dataDumper.h.

std::vector<std::string> DataDumper::infoVec [private]

Definition at line 28 of file dataDumper.h.

const int DataDumper::maxFifoSize = 10000 [private]

Definition at line 26 of file dataDumper.h.

int DataDumper::pushCounter [private]

Definition at line 30 of file dataDumper.h.

std::vector<double> DataDumper::timeStampVec [private]

Definition at line 27 of file dataDumper.h.


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


sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Tue Jul 9 2019 05:05:35