The Formatting class Handled anything related to the format of the streaming data.
More...
#include <Driver/DriverComponents/Formatting.h>
The Formatting class Handled anything related to the format of the streaming data.
Definition at line 19 of file Formatting.h.
◆ Formatting()
Formatting::Formatting |
( |
pMessageProcessor & |
messageProcessor | ) |
|
◆ dataFormat()
DataFormat Formatting::dataFormat |
( |
| ) |
const |
dataFormat Gets the current data form
- Returns
- the current data format
Definition at line 16 of file Formatting.cpp.
◆ handleNewFormatRecieved()
void Formatting::handleNewFormatRecieved |
( |
const google::protobuf::Message & |
message | ) |
|
|
protected |
◆ reset()
void Formatting::reset |
( |
| ) |
|
|
virtual |
◆ setDataFormat()
void Formatting::setDataFormat |
( |
const DataFormat & |
dataFormat | ) |
|
setDataFormat Sets a new data format
- Parameters
-
dataFormat | the new dataformat |
Definition at line 9 of file Formatting.cpp.
◆ swapDataFormat()
void Formatting::swapDataFormat |
( |
const DataFormat & |
newFormat | ) |
|
|
protected |
◆ m_dataFormat
DataFormat Formatting::m_dataFormat |
|
private |
◆ m_dataFormatMutex
std::mutex Formatting::m_dataFormatMutex |
|
private |