BAOS SDK  18.2.0
Public Types | Public Member Functions | List of all members
kdrive::baos::ErrorResponse Struct Reference

#include <DataPacket.h>

Inheritance diagram for kdrive::baos::ErrorResponse:
kdrive::baos::DataResponse kdrive::baos::DataPacket

Public Types

typedef std::shared_ptr< ErrorResponsePtr
 
- Public Types inherited from kdrive::baos::DataResponse
typedef std::shared_ptr< DataResponsePtr
 
- Public Types inherited from kdrive::baos::DataPacket
typedef std::shared_ptr< DataPacketPtr
 
typedef std::vector< unsigned char > Buffer
 

Public Member Functions

unsigned char getErrorCode () const
 
- 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)
 
BuffergetBuffer ()
 
const BuffergetBuffer () const
 
void setHeaderPolicy (std::shared_ptr< HeaderPolicy > headerPolicy)
 
void setVersion (unsigned char version)
 
unsigned char getVersion () const
 

Additional Inherited Members

- 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
 

Member Typedef Documentation

Member Function Documentation

unsigned char ErrorResponse::getErrorCode ( ) const

The documentation for this struct was generated from the following files: