31 #ifndef DEVICEPACKET_H_ 32 #define DEVICEPACKET_H_ 50 namespace DeviceDescription
58 typedef std::shared_ptr<Packet>
PPacket;
int32_t responseType
Definition: DevicePacket.h:109
BinaryPayloads binaryPayloads
Definition: DevicePacket.h:122
std::string function1
Definition: DevicePacket.h:105
BaseLib::SharedObjects * _bl
Definition: DevicePacket.h:128
std::string metaString1
Definition: DevicePacket.h:107
bool repeat
Definition: DevicePacket.h:119
This is the base library main class.
Definition: BaseLib.h:95
std::string function2
Definition: DevicePacket.h:106
int32_t maxPackets
Definition: DevicePacket.h:120
std::shared_ptr< Packet > PPacket
Helper type for Packet pointers.
Definition: DevicePacket.h:53
Definition: DevicePacket.h:88
Definition: DevicePacket.h:88
Definition: BaseLib.cpp:34
JsonPayloads jsonPayloads
Definition: DevicePacket.h:121
std::multimap< std::string, PPacket > PacketsByFunction
Helper type to store packets sorted by function.
Definition: DevicePacket.h:73
std::multimap< uint32_t, PPacket > PacketsByMessageType
Helper type to store packets by integer message type.
Definition: DevicePacket.h:63
std::vector< PHttpPayload > HttpPayloads
Helper type for HttpPayload pointer arrays.
Definition: HttpPayload.h:63
std::map< int32_t, std::map< std::string, PPacket > > ValueRequestPackets
Helper type to store packets used to request values from devices.
Definition: DevicePacket.h:78
Direction::Enum direction
Definition: DevicePacket.h:99
int32_t length
Definition: DevicePacket.h:100
std::string metaString2
Definition: DevicePacket.h:108
std::vector< PJsonPayload > JsonPayloads
Helper type for JsonPayload pointer arrays.
Definition: JsonPayload.h:63
double subtypeSize
Definition: DevicePacket.h:104
int32_t type
Definition: DevicePacket.h:101
HttpPayloads httpPayloads
Definition: DevicePacket.h:123
std::map< std::string, PPacket > PacketsById
Helper type to store packets sorted by packet ID.
Definition: DevicePacket.h:68
int32_t channelIndexOffset
Definition: DevicePacket.h:115
Class defining a physical packet.
Definition: DevicePacket.h:83
virtual ~Packet()
Definition: DevicePacket.h:93
Packet(BaseLib::SharedObjects *baseLib)
Definition: DevicePacket.cpp:39
Definition: DevicePacket.h:88
std::string responseTypeId
Definition: DevicePacket.h:111
Definition: DevicePacket.h:86
std::vector< PParameter > associatedVariables
Definition: DevicePacket.h:126
Enum
Definition: DevicePacket.h:88
int32_t channel
Definition: DevicePacket.h:113
int32_t subtype
Definition: DevicePacket.h:102
int32_t splitAfter
Definition: DevicePacket.h:118
double channelSize
Definition: DevicePacket.h:116
int32_t subtypeIndex
Definition: DevicePacket.h:103
std::vector< PBinaryPayload > BinaryPayloads
Helper type for arrays of BinaryPayload pointers.
Definition: BinaryPayload.h:63
int32_t responseSubtype
Definition: DevicePacket.h:110
Class representing a node of XML document.
Definition: rapidxml.h:539
int32_t channelIndex
Definition: DevicePacket.h:114
std::string id
Definition: DevicePacket.h:96
std::vector< PDevicePacketResponse > responses
Definition: DevicePacket.h:112
bool doubleSend
Definition: DevicePacket.h:117