XORDE
v1.0
eXtensible Operational Robotic Development Environment
|
ONB Object base interface. More...
#include <ObjectInfo.h>
Public Types | |
enum | Flags |
Access flags of the Object. More... | |
enum | Type |
Supported types of the object. More... | |
Public Member Functions | |
ObjectInfo () | |
Common constructor. Initializes unbound object. | |
ObjectInfo (const ObjectDescription &desc) | |
Construct Object with given description. More... | |
ObjectInfo (const ObjectInfo &other)=delete | |
no copy allowed!! | |
const ObjectDescription & | description () const |
Get description of the object. More... | |
QString | name () const |
Get name of the object. More... | |
Flags | flags () const |
Get access flags. | |
int | RMIP () const |
Get default sampling interval. | |
unsigned long | timestamp () const |
Get timestamp of the last received value. | |
QJsonObject | createJsonInfo () const |
Create JSON object with info about the ONB Object. More... | |
bool | isVolatile () const |
Test an access flag. | |
bool | isReadable () const |
Test an access flag. | |
bool | isWritable () const |
Test an access flag. | |
bool | isStorable () const |
Test an access flag. | |
bool | isDual () const |
Test an access flag. | |
bool | isHidden () const |
Test an access flag. | |
bool | isFunction () const |
Test an access flag. | |
bool | isArray () const |
Test an access flag. | |
bool | hasMinimum () const |
Test a meta-value flag. | |
bool | hasMaximum () const |
Test a meta-value flag. | |
bool | hasDefault () const |
Test a meta-value flag. | |
bool | hasStep () const |
Test a meta-value flag. | |
bool | hasMimeType () const |
Test a meta-value flag. | |
bool | hasHint () const |
Test a meta-value flag. | |
bool | hasUnit () const |
Test a meta-value flag. | |
bool | hasOptions () const |
Test a meta-value flag. | |
bool | hasExtInfo () const |
Test a meta-value flag. | |
bool | isEnum () const |
Test a meta-value flag. | |
ONB Object base interface.
This is fundamental entity in ONB protocol. Data exchange is carried out by means of Objects transfer. Do not create objects of this class. Use methods of ComponentBase instead.
enum ObjectInfo::Flags |
Access flags of the Object.
enum ObjectInfo::Type |
Supported types of the object.
Enumeration values are compatible to Qt's QVariant / QMetaType
ObjectInfo::ObjectInfo | ( | const ObjectDescription & | desc | ) |
Construct Object with given description.
desc | Description received from component |
QJsonObject ObjectInfo::createJsonInfo | ( | ) | const |
Create JSON object with info about the ONB Object.
|
inline |
Get description of the object.
|
inline |
Get name of the object.