libhomegear-base  0.7
Base library for Homegear and Homegear family modules.
BaseLib::DeviceDescription::Packet Class Reference

Class defining a physical packet. More...

#include <DevicePacket.h>

Classes

struct  Direction
 

Public Member Functions

 Packet (BaseLib::SharedObjects *baseLib)
 
 Packet (BaseLib::SharedObjects *baseLib, xml_node *node)
 
virtual ~Packet ()
 

Public Attributes

std::string id
 
Direction::Enum direction = Direction::Enum::none
 
int32_t length = -1
 
int32_t type = -1
 
int32_t subtype = -1
 
int32_t subtypeIndex = -1
 
double subtypeSize = -1
 
std::string function1
 
std::string function2
 
std::string metaString1
 
std::string metaString2
 
int32_t responseType = -1
 
int32_t responseSubtype = -1
 
std::string responseTypeId
 
std::vector< PDevicePacketResponseresponses
 
int32_t channel = -1
 
int32_t channelIndex = -1
 
int32_t channelIndexOffset = 0
 
double channelSize = 1
 
bool doubleSend = false
 
int32_t splitAfter = -1
 
bool repeat = true
 
int32_t maxPackets = -1
 
JsonPayloads jsonPayloads
 
BinaryPayloads binaryPayloads
 
HttpPayloads httpPayloads
 
std::vector< PParameterassociatedVariables
 

Protected Attributes

BaseLib::SharedObjects_bl = nullptr
 

Detailed Description

Class defining a physical packet.

Constructor & Destructor Documentation

§ Packet() [1/2]

BaseLib::DeviceDescription::Packet::Packet ( BaseLib::SharedObjects baseLib)

§ Packet() [2/2]

BaseLib::DeviceDescription::Packet::Packet ( BaseLib::SharedObjects baseLib,
xml_node node 
)

§ ~Packet()

virtual BaseLib::DeviceDescription::Packet::~Packet ( )
inlinevirtual

Member Data Documentation

§ _bl

BaseLib::SharedObjects* BaseLib::DeviceDescription::Packet::_bl = nullptr
protected

§ associatedVariables

std::vector<PParameter> BaseLib::DeviceDescription::Packet::associatedVariables

§ binaryPayloads

BinaryPayloads BaseLib::DeviceDescription::Packet::binaryPayloads

§ channel

int32_t BaseLib::DeviceDescription::Packet::channel = -1

§ channelIndex

int32_t BaseLib::DeviceDescription::Packet::channelIndex = -1

§ channelIndexOffset

int32_t BaseLib::DeviceDescription::Packet::channelIndexOffset = 0

§ channelSize

double BaseLib::DeviceDescription::Packet::channelSize = 1

§ direction

Direction::Enum BaseLib::DeviceDescription::Packet::direction = Direction::Enum::none

§ doubleSend

bool BaseLib::DeviceDescription::Packet::doubleSend = false

§ function1

std::string BaseLib::DeviceDescription::Packet::function1

§ function2

std::string BaseLib::DeviceDescription::Packet::function2

§ httpPayloads

HttpPayloads BaseLib::DeviceDescription::Packet::httpPayloads

§ id

std::string BaseLib::DeviceDescription::Packet::id

§ jsonPayloads

JsonPayloads BaseLib::DeviceDescription::Packet::jsonPayloads

§ length

int32_t BaseLib::DeviceDescription::Packet::length = -1

§ maxPackets

int32_t BaseLib::DeviceDescription::Packet::maxPackets = -1

§ metaString1

std::string BaseLib::DeviceDescription::Packet::metaString1

§ metaString2

std::string BaseLib::DeviceDescription::Packet::metaString2

§ repeat

bool BaseLib::DeviceDescription::Packet::repeat = true

§ responses

std::vector<PDevicePacketResponse> BaseLib::DeviceDescription::Packet::responses

§ responseSubtype

int32_t BaseLib::DeviceDescription::Packet::responseSubtype = -1

§ responseType

int32_t BaseLib::DeviceDescription::Packet::responseType = -1

§ responseTypeId

std::string BaseLib::DeviceDescription::Packet::responseTypeId

§ splitAfter

int32_t BaseLib::DeviceDescription::Packet::splitAfter = -1

§ subtype

int32_t BaseLib::DeviceDescription::Packet::subtype = -1

§ subtypeIndex

int32_t BaseLib::DeviceDescription::Packet::subtypeIndex = -1

§ subtypeSize

double BaseLib::DeviceDescription::Packet::subtypeSize = -1

§ type

int32_t BaseLib::DeviceDescription::Packet::type = -1

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