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

#include <Packet.h>

Public Member Functions

 Packet ()=default
 
virtual ~Packet ()=default
 
virtual int32_t getTag ()
 
virtual void setTag (int32_t tag)
 
virtual int64_t getTimeReceived ()
 
virtual int64_t getTimeSending ()
 
virtual void setTimeReceived (int64_t time)
 
virtual void setTimeSending (int64_t time)
 
virtual BaseLib::PVariable toVariable ()
 Required by raw packet events. More...
 

Protected Attributes

int32_t _tag = 0
 
int64_t _timeReceived = 0
 
int64_t _timeSending = 0
 

Constructor & Destructor Documentation

§ Packet()

BaseLib::Systems::Packet::Packet ( )
default

§ ~Packet()

virtual BaseLib::Systems::Packet::~Packet ( )
virtualdefault

Member Function Documentation

§ getTag()

virtual int32_t BaseLib::Systems::Packet::getTag ( )
inlinevirtual

§ getTimeReceived()

virtual int64_t BaseLib::Systems::Packet::getTimeReceived ( )
inlinevirtual

§ getTimeSending()

virtual int64_t BaseLib::Systems::Packet::getTimeSending ( )
inlinevirtual

§ setTag()

virtual void BaseLib::Systems::Packet::setTag ( int32_t  tag)
inlinevirtual

§ setTimeReceived()

virtual void BaseLib::Systems::Packet::setTimeReceived ( int64_t  time)
inlinevirtual

§ setTimeSending()

virtual void BaseLib::Systems::Packet::setTimeSending ( int64_t  time)
inlinevirtual

§ toVariable()

virtual BaseLib::PVariable BaseLib::Systems::Packet::toVariable ( )
inlinevirtual

Required by raw packet events.

Should return a good representation of the packet. For binary packets return a hex string.

Member Data Documentation

§ _tag

int32_t BaseLib::Systems::Packet::_tag = 0
protected

§ _timeReceived

int64_t BaseLib::Systems::Packet::_timeReceived = 0
protected

§ _timeSending

int64_t BaseLib::Systems::Packet::_timeSending = 0
protected

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