BAOS SDK  18.2.0
Public Member Functions | List of all members
kdrive::baos::HeaderPolicy Struct Referenceabstract

DataPacketHeaderPolicy. More...

#include <Protocol.h>

Inheritance diagram for kdrive::baos::HeaderPolicy:
kdrive::baos::HeaderPolicy12 kdrive::baos::HeaderPolicy2x

Public Member Functions

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
 

Detailed Description

DataPacketHeaderPolicy.

Member Function Documentation

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: