Robox Library for Cpp: BCC/31 module 1.0.0
RLibCpp BCC/31 protocol implementation
|
Class to handle an item in the variables cache. More...
#include <connection.h>
Public Member Functions | |
VariablesCacheItem () | |
Default class constructor. | |
~VariablesCacheItem () | |
Virtual class destructor. | |
void | cleanup () |
Cache cleanup. | |
Message::DataTypes | dataType () |
Get the variable data type. | |
String | name () const |
Get the name. | |
void | setName (String value) |
Set the name. | |
RVar::Index * | srcIndex () const |
Get the original RVar::Index i.e the index as parsed from user input before splitting. | |
void | setSrcIndex (RVar::Index *value) |
Set the original RVar::Index i.e the index as parsed from user input before splitting. | |
bool | useCoherentValues () const |
Get the to ensure the variable will be handled with coherent operations (i.e. varDataList() will contains just one item) | |
void | setUseCoherentValues (bool value) |
Set the to ensure the variable will be handled with coherent operations (i.e. varDataList() will contains just one item) | |
uint32_t | splitOffset () const |
Get the offset used in the last splitting. | |
void | setSplitOffset (uint32_t value) |
Set the offset used in the last splitting. | |
RVar::Dict::VarData::PtrVector & | varDataList () |
Get the list of variable data. | |
Protected Member Functions | |
Message::DataTypes | baseTypeToDataType (uint32_t baseType) |
Class to handle an item in the variables cache.
Default class constructor.
~VariablesCacheItem | ( | ) |
Virtual class destructor.
|
protected |
void cleanup | ( | ) |
Cache cleanup.
Message::DataTypes dataType | ( | ) |
Get the variable data type.
String name | ( | ) | const |
Get the name.
void setName | ( | String | value | ) |
Set the name.
value | The value to set |
void setSplitOffset | ( | uint32_t | value | ) |
Set the offset used in the last splitting.
value | The value to set |
void setSrcIndex | ( | RVar::Index * | value | ) |
Set the original RVar::Index i.e the index as parsed from user input before splitting.
value | The value to set |
void setUseCoherentValues | ( | bool | value | ) |
Set the to ensure the variable will be handled with coherent operations (i.e. varDataList() will contains just one item)
value | The value to set |
uint32_t splitOffset | ( | ) | const |
Get the offset used in the last splitting.
RVar::Index * srcIndex | ( | ) | const |
Get the original RVar::Index i.e the index as parsed from user input before splitting.
bool useCoherentValues | ( | ) | const |
Get the to ensure the variable will be handled with coherent operations (i.e. varDataList() will contains just one item)
RVar::Dict::VarDataList & varDataList | ( | ) |
Get the list of variable data.