Robox Library for Cpp: BCC/31 module 1.0.0
RLibCpp BCC/31 protocol implementation
|
Structure for the effective BCC message sent to the device. More...
#include <basemonitor.h>
Classes | |
class | PtrVector |
Class to handle with lists of DeviceItem pointers. More... | |
Public Types | |
typedef DeviceItem * | pDeviceItem |
Public Member Functions | |
DeviceItem () | |
Default class constructor. | |
~DeviceItem () | |
Class destructor. | |
void | clear () |
Clears data. | |
Message & | createBccCmd () |
Get the BCC message for create operations. | |
Message & | writeBccCmd () |
Get the BCC message for write operations. | |
DeviceMonitorItem::PtrVector & | deviceMonitorItemsList () |
Get the list of DeviceMonitorItem sent within the message. | |
uint64_t | tag () const |
Get the tag data for derived class usage. | |
void | setTag (uint64_t value) |
Set the tag data for derived class usage. | |
bool | wasReadFromDevice () const |
Get the flag to indicate that the item was read once from the connected device. | |
void | setWasReadFromDevice (bool value) |
Set the flag to indicate that the item was read once from the connected device. | |
Structure for the effective BCC message sent to the device.
If non coeherent operations are allowed, the user defined monitor items will be generally reworked , splitted and merged into distinct BCC message with new monitor items: foreach monitor message, a structure this type is generated.
typedef DeviceItem* pDeviceItem |
DeviceItem | ( | ) |
Default class constructor.
~DeviceItem | ( | ) |
Class destructor.
void clear | ( | ) |
Clears data.
Message & createBccCmd | ( | ) |
Get the BCC message for create operations.
DeviceMonitorItem::PtrVector & deviceMonitorItemsList | ( | ) |
Get the list of DeviceMonitorItem sent within the message.
void setTag | ( | uint64_t | value | ) |
Set the tag data for derived class usage.
value | The value to set |
void setWasReadFromDevice | ( | bool | value | ) |
Set the flag to indicate that the item was read once from the connected device.
value | The value to set |
uint64_t tag | ( | ) | const |
Get the tag data for derived class usage.
bool wasReadFromDevice | ( | ) | const |
Get the flag to indicate that the item was read once from the connected device.
Message & writeBccCmd | ( | ) |
Get the BCC message for write operations.