#include <dataDumper.h>
Definition at line 10 of file dataDumper.h.
◆ ~DataDumper()
DataDumper::~DataDumper |
( |
| ) |
|
|
inline |
◆ DataDumper() [1/2]
DataDumper::DataDumper |
( |
| ) |
|
|
inlineprivate |
◆ DataDumper() [2/2]
◆ binDataToAsciiString()
std::string DataDumper::binDataToAsciiString |
( |
const uint8_t * |
binary_data, |
|
|
int |
length |
|
) |
| |
|
static |
Converts and returns binary data to ascii string with non-printable data represented as "\x<hexvalue>"
- Parameters
-
[in] | binary_data | binary input data |
- Returns
- hex string
Definition at line 108 of file dataDumper.cpp.
◆ dumpUcharBufferToConsole()
int DataDumper::dumpUcharBufferToConsole |
( |
unsigned char * |
buffer, |
|
|
int |
bufLen |
|
) |
| |
◆ instance()
◆ operator=()
◆ pushData()
int DataDumper::pushData |
( |
double |
timeStamp, |
|
|
std::string |
info, |
|
|
double |
val |
|
) |
| |
◆ testbed()
int DataDumper::testbed |
( |
| ) |
|
◆ writeDataToCsv()
int DataDumper::writeDataToCsv |
( |
std::string |
fileName | ) |
|
◆ writeToFileNameWhenBufferIsFull()
int DataDumper::writeToFileNameWhenBufferIsFull |
( |
std::string |
filename | ) |
|
◆ dataVec
std::vector<double> DataDumper::dataVec |
|
private |
◆ dumpFileName
std::string DataDumper::dumpFileName |
|
private |
◆ infoVec
std::vector<std::string> DataDumper::infoVec |
|
private |
◆ maxFifoSize
const int DataDumper::maxFifoSize = 10000 |
|
private |
◆ pushCounter
int DataDumper::pushCounter |
|
private |
◆ timeStampVec
std::vector<double> DataDumper::timeStampVec |
|
private |
The documentation for this class was generated from the following files: