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 <oscilloscope.h>
Public Member Functions | |
DeviceItem () | |
Default class constructor. | |
virtual | ~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. | |
DeviceOscilloscopeItem::PtrVector & | deviceOscilloscopeItemsList () |
Get the list of DeviceOscilloscopeItem sent within the message. | |
uint32_t | deviceOscilloscopeId () const |
Get the oscillosocpe id returned from the device. | |
void | setDeviceOscilloscopeId (uint32_t value) |
Set the oscillosocpe id returned from the device. | |
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 oscilloscope items will be generally reworked , splitted and merged into distinct BCC message with new oscilloscope items: foreach oscilloscope message, a structure this type is generated.
DeviceItem | ( | ) |
Default class constructor.
|
virtual |
Class destructor.
void clear | ( | ) |
Clears data.
Message & createBccCmd | ( | ) |
Get the BCC message for create operations.
uint32_t deviceOscilloscopeId | ( | ) | const |
Get the oscillosocpe id returned from the device.
QList< DeviceOscilloscopeItem * > & deviceOscilloscopeItemsList | ( | ) |
Get the list of DeviceOscilloscopeItem sent within the message.
void setDeviceOscilloscopeId | ( | uint32_t | value | ) |
Set the oscillosocpe id returned from the device.
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 |
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.