BufferData.hpp
Go to the documentation of this file.
data message happend when partId > 0 it compleate the data of a parameter or an answer or an event ...
bool writeOn(enet::WebSocket &_interface) override
Write the buffer on a specific interface.
void composeWith(const uint8_t *_buffer, uint32_t _lenght) override
When receive new data form websocket, it might be added by this input (set all the frame ...
uint16_t getParameterId() const
Get the parameter Id of the buffer.
Definition: BufferData.hpp:47
enum zeus::Buffer::typeMessage getType() const override
Get the type of the buffer.
Definition: BufferData.hpp:40
void addData(uint16_t _parameterId, void *_data, uint32_t _size)
add a raw data on the buffer
const std::vector< uint8_t > & getData() const
Get data reference.
Definition: BufferData.hpp:70
BufferData()
basic constructor (hidden to force the use of ememory::SharedPtr) zeus::BufferData::create ...
Definition: BufferData.hpp:25
static ememory::SharedPtr< zeus::BufferData > create()
Create a shared pointer on the BufferData.
Definition: BufferData.hpp:14