#include <msgpack_exporter.h>
Public Member Functions | |
void | AddExportListener (sick_scansegment_xd::MsgPackExportListenerIF *listener) |
void | Close (void) |
MsgPackExporter () | |
MsgPackExporter (sick_scansegment_xd::PayloadFifo *udp_fifo, sick_scansegment_xd::Fifo< ScanSegmentParserOutput > *msgpack_fifo, const std::string &logfolder, bool export_csv, bool verbose=false, bool measure_timing=false) | |
void | RemoveExportListener (sick_scansegment_xd::MsgPackExportListenerIF *listener) |
bool | Start (void) |
void | Stop (void) |
~MsgPackExporter () | |
Protected Member Functions | |
std::list< sick_scansegment_xd::MsgPackExportListenerIF * > | GetExportListener () |
bool | RunCb (void) |
Static Protected Member Functions | |
static void | PlotXYZI (const std::vector< float > &x, const std::vector< float > &y, const std::vector< float > &z, const std::vector< int > &i) |
Protected Attributes | |
bool | m_export_csv |
std::thread * | m_exporter_thread |
std::list< sick_scansegment_xd::MsgPackExportListenerIF * > | m_listener |
std::mutex | m_listener_mutex |
std::string | m_logfolder |
bool | m_measure_timing |
sick_scansegment_xd::Fifo< ScanSegmentParserOutput > * | m_msgpack_fifo |
bool | m_run_exporter_thread |
sick_scansegment_xd::PayloadFifo * | m_udp_fifo |
bool | m_verbose |
Definition at line 87 of file msgpack_exporter.h.
sick_scansegment_xd::MsgPackExporter::MsgPackExporter | ( | ) |
Definition at line 62 of file msgpack_exporter.cpp.
sick_scansegment_xd::MsgPackExporter::MsgPackExporter | ( | sick_scansegment_xd::PayloadFifo * | udp_fifo, |
sick_scansegment_xd::Fifo< ScanSegmentParserOutput > * | msgpack_fifo, | ||
const std::string & | logfolder, | ||
bool | export_csv, | ||
bool | verbose = false , |
||
bool | measure_timing = false |
||
) |
Definition at line 75 of file msgpack_exporter.cpp.
sick_scansegment_xd::MsgPackExporter::~MsgPackExporter | ( | ) |
Definition at line 83 of file msgpack_exporter.cpp.
void sick_scansegment_xd::MsgPackExporter::AddExportListener | ( | sick_scansegment_xd::MsgPackExportListenerIF * | listener | ) |
Definition at line 92 of file msgpack_exporter.cpp.
void sick_scansegment_xd::MsgPackExporter::Close | ( | void | ) |
Definition at line 145 of file msgpack_exporter.cpp.
|
protected |
Definition at line 116 of file msgpack_exporter.cpp.
|
staticprotected |
void sick_scansegment_xd::MsgPackExporter::RemoveExportListener | ( | sick_scansegment_xd::MsgPackExportListenerIF * | listener | ) |
Definition at line 101 of file msgpack_exporter.cpp.
|
protected |
Definition at line 160 of file msgpack_exporter.cpp.
bool sick_scansegment_xd::MsgPackExporter::Start | ( | void | ) |
Definition at line 127 of file msgpack_exporter.cpp.
void sick_scansegment_xd::MsgPackExporter::Stop | ( | void | ) |
Definition at line 137 of file msgpack_exporter.cpp.
|
protected |
Definition at line 159 of file msgpack_exporter.h.
|
protected |
Definition at line 168 of file msgpack_exporter.h.
|
protected |
Definition at line 170 of file msgpack_exporter.h.
|
protected |
Definition at line 171 of file msgpack_exporter.h.
|
protected |
Definition at line 158 of file msgpack_exporter.h.
|
protected |
Definition at line 161 of file msgpack_exporter.h.
|
protected |
Definition at line 167 of file msgpack_exporter.h.
|
protected |
Definition at line 169 of file msgpack_exporter.h.
|
protected |
Definition at line 166 of file msgpack_exporter.h.
|
protected |
Definition at line 160 of file msgpack_exporter.h.