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

ProtocolFormatter. More...

#include <Protocol.h>

Public Types

typedef std::tuple< unsigned short, unsigned char, unsigned char, unsigned char > Descriptor
 
typedef std::vector< DescriptorDescriptors
 
typedef std::vector< ServerItemServerItems
 
typedef std::vector< TimerTimers
 
typedef std::vector< std::string > Strings
 
typedef std::vector< unsigned char > ParameterBytes
 

Static Public Member Functions

static void decodeGetServerItem_Res (std::shared_ptr< DataPacket > dataPacket, ServerItems &serverItems)
 
static void encodeSetServerItem_Req (std::shared_ptr< DataPacket > dataPacket, const ServerItems &serverItems)
 
static void decodeServerItem_Ind (std::shared_ptr< DataPacket > dataPacket, ServerItems &serverItems)
 
static void decodeGetDatapointDescription_Res (std::shared_ptr< DataPacket > dataPacket, Descriptors &descriptors)
 
static void decodeGetDescriptionString_Res (std::shared_ptr< DataPacket > dataPacket, Strings &strings)
 
static void encodeGetDatapointValue_Req (std::shared_ptr< DataPacket > dataPacket, unsigned char filter)
 
static void decodeGetDatapointValue_Res (std::shared_ptr< DataPacket > dataPacket, ServerItems &serverItems)
 
static void decodeDatapointValue_Ind (std::shared_ptr< DataPacket > dataPacket, ServerItems &serverItems)
 
static void encodeSetDatapointValue_Req (std::shared_ptr< DataPacket > dataPacket, const ServerItems &serverItems)
 
static void decodeGetParameterByte_Res (std::shared_ptr< DataPacket > dataPacket, ParameterBytes &parameterBytes)
 
static void encodeSetDatapointHistoryCommand_Req (std::shared_ptr< DataPacket > dataPacket, unsigned char command)
 
static void decodeGetTimer_Res (std::shared_ptr< DataPacket > dataPacket, Timers &timers)
 
static void encodeSetTimer_Req (std::shared_ptr< DataPacket > dataPacket, const Timers &timers)
 

Detailed Description

ProtocolFormatter.

Member Typedef Documentation

typedef std::tuple<unsigned short, unsigned char, unsigned char, unsigned char> kdrive::baos::ProtocolFormatter::Descriptor
typedef std::vector<unsigned char> kdrive::baos::ProtocolFormatter::ParameterBytes
typedef std::vector<std::string> kdrive::baos::ProtocolFormatter::Strings

Member Function Documentation

void ProtocolFormatter::decodeDatapointValue_Ind ( std::shared_ptr< DataPacket dataPacket,
ServerItems serverItems 
)
static
void ProtocolFormatter::decodeGetDatapointDescription_Res ( std::shared_ptr< DataPacket dataPacket,
Descriptors descriptors 
)
static
void ProtocolFormatter::decodeGetDatapointValue_Res ( std::shared_ptr< DataPacket dataPacket,
ServerItems serverItems 
)
static
void ProtocolFormatter::decodeGetDescriptionString_Res ( std::shared_ptr< DataPacket dataPacket,
Strings strings 
)
static
void ProtocolFormatter::decodeGetParameterByte_Res ( std::shared_ptr< DataPacket dataPacket,
ParameterBytes parameterBytes 
)
static
void ProtocolFormatter::decodeGetServerItem_Res ( std::shared_ptr< DataPacket dataPacket,
ServerItems serverItems 
)
static
void ProtocolFormatter::decodeGetTimer_Res ( std::shared_ptr< DataPacket dataPacket,
Timers timers 
)
static
void ProtocolFormatter::decodeServerItem_Ind ( std::shared_ptr< DataPacket dataPacket,
ServerItems serverItems 
)
static
void ProtocolFormatter::encodeGetDatapointValue_Req ( std::shared_ptr< DataPacket dataPacket,
unsigned char  filter 
)
static
void ProtocolFormatter::encodeSetDatapointHistoryCommand_Req ( std::shared_ptr< DataPacket dataPacket,
unsigned char  command 
)
static
void ProtocolFormatter::encodeSetDatapointValue_Req ( std::shared_ptr< DataPacket dataPacket,
const ServerItems serverItems 
)
static
void ProtocolFormatter::encodeSetServerItem_Req ( std::shared_ptr< DataPacket dataPacket,
const ServerItems serverItems 
)
static
void ProtocolFormatter::encodeSetTimer_Req ( std::shared_ptr< DataPacket dataPacket,
const Timers timers 
)
static

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