DataPacketHeaderPolicy.
More...
#include <Protocol.h>
|
virtual std::size_t | size (const DataPacket &dataPacket)=0 |
|
virtual std::size_t | read (DataPacket &dataPacket, const unsigned char *buffer, std::size_t bufferSize)=0 |
|
virtual std::size_t | write (const DataPacket &dataPacket, unsigned char *buffer, std::size_t bufferSize) const =0 |
|
virtual std::size_t kdrive::baos::HeaderPolicy::read |
( |
DataPacket & |
dataPacket, |
|
|
const unsigned char * |
buffer, |
|
|
std::size_t |
bufferSize |
|
) |
| |
|
pure virtual |
virtual std::size_t kdrive::baos::HeaderPolicy::size |
( |
const DataPacket & |
dataPacket | ) |
|
|
pure virtual |
virtual std::size_t kdrive::baos::HeaderPolicy::write |
( |
const DataPacket & |
dataPacket, |
|
|
unsigned char * |
buffer, |
|
|
std::size_t |
bufferSize |
|
) |
| const |
|
pure virtual |
The documentation for this struct was generated from the following file: