BAOS SDK
18.2.0
|
#include <DataPacket.h>
Public Types | |
typedef std::shared_ptr< DataRequest > | Ptr |
Public Types inherited from kdrive::baos::DataPacket | |
typedef std::shared_ptr< DataPacket > | Ptr |
typedef std::vector< unsigned char > | Buffer |
Additional Inherited Members | |
Public Member Functions inherited from kdrive::baos::DataPacket | |
virtual | ~DataPacket () |
void | setMainService (unsigned char mainService) |
unsigned char | getMainService () const |
void | setSubService (unsigned char subService) |
unsigned char | getSubService () const |
void | setOffset (unsigned short offset) |
unsigned short | getOffset () const |
void | setCount (unsigned short count) |
unsigned short | getCount () const |
void | setBuffer (const Buffer &buffer) |
Buffer & | getBuffer () |
const Buffer & | getBuffer () const |
void | setHeaderPolicy (std::shared_ptr< HeaderPolicy > headerPolicy) |
void | setVersion (unsigned char version) |
unsigned char | getVersion () const |
Protected Member Functions inherited from kdrive::baos::DataPacket | |
DataPacket () | |
std::size_t | sizeImpl () const override |
std::size_t | readFromBufferImpl (const unsigned char *buffer, std::size_t bufferSize) override |
std::size_t | writeToBufferImpl (unsigned char *buffer, std::size_t bufferSize) const override |
typedef std::shared_ptr<DataRequest> kdrive::baos::DataRequest::Ptr |