#include <ConfigReader.h>
|
| | ConfigReader (Component *owner, DataElement &element, const Unit &defaultUnit) |
| |
| virtual | ~ConfigReader () |
| |
| | DataReader (Component *owner, DataElement &element, const DataValue *defaultValue, bool deleteDefaultValue=true) |
| |
| | DataReader (Component *owner, DataElement &element, const Unit &defaultUnit) |
| |
| virtual | ~DataReader () |
| |
| const Unit * | getDefaultUnit () |
| |
| bool | isUnavailable (void) |
| | Status and state functions. More...
|
| |
| bool | isInvalid (void) |
| |
| bool | isOrphaned (void) |
| |
| bool | isActive (void) |
| |
| bool | read (const Unit &unit, unsigned char &readTo) |
| | Get functions. More...
|
| |
| bool | read (const Unit &unit, double &readTo) |
| |
| bool | read (const Unit &unit, float &readTo) |
| |
| bool | read (const Unit &unit, int &readTo) |
| |
| bool | read (bool &readTo) |
| |
| bool | read (Timespan &readTo) |
| |
| bool | read (DataValue &readTo) |
| |
| int | asInt (const Unit &unit) |
| |
| double | asDouble (const Unit &unit) __attribute__((deprecated)) |
| |
| Str | asString (const Unit &unit) |
| |
| const Timestamp & | getTimestamp (void) const |
| | Returns the Timestamp of the last write to this reader's DataElement. More...
|
| |
| bool | wasTouchedSinceLastRun (const Component *component) |
| | Returns true if the value was touched since the last run of the indicated component. More...
|
| |
| virtual void | requestData (bool requestingData) |
| |
| virtual void | requestData (RequestStrategy requestStrategy) |
| |
| bool | isRequestingData (void) |
| |
| RequestStrategy | getRequestStrategy (void) |
| |
| void | setImplementor (bool implementor=true) |
| |
| bool | isImplementor () |
| |
| virtual | ~DataAccessor () |
| |
| virtual DataElement & | getElement (void) const |
| |
| virtual Component * | getOwner (void) const |
| |
| virtual const ElementURI & | getUri (void) const |
| |
| AccessorType | getAccessorType () const |
| |
| DataAccess * | getDataAccess () const |
| |
| Logger::TimePrecisionType | getTimePrecision () const |
| |
|
| enum | AccessorType { DATA_READER = 0,
DATA_WRITER = 1
} |
| |
| enum | RequestStrategy {
NO_STRATEGY = -1,
MIN_POWER,
MIN_ERROR,
MIN_LATENCY,
MAX_FREQUENCY,
ALL_DEVICES,
STRATEGY_COUNT
} |
| |
| static RequestStrategy | Str2RequestStrategy (const char *const strategyStr) |
| |
| static const char * | RequestStrategy2Str (DataAccessor::RequestStrategy strategy) |
| |
| static const char *const | REQUEST_STRATEGY_STRS [STRATEGY_COUNT] |
| |
| | DataAccessor (Component *owner, DataElement &element, AccessorType accessorType, UniversalDataElement *universal, Logger::TimePrecisionType timePrecision=Logger::TIME_PRECISION_MILLIS) |
| | Protected Constructor. More...
|
| |
| RequestStrategy | requestStrategy_ |
| |
| const DataValue * | defaultValue_ |
| |
| const Unit & | defaultUnit_ |
| |
| bool | deleteDefaultValue_ |
| |
| bool | implementor_ |
| |
| Component * | owner_ |
| |
| DataElement & | element_ |
| |
| AccessorType | accessorType_ |
| |
| Logger::TimePrecisionType | timePrecision_ |
| |
| DataAccess * | dataAccess_ |
| |
| ConfigReader::~ConfigReader |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files: