SEPIA
Software documentation for the APEX SEPIA receivers
|
A template class representing a device property. More...
#include <property.h>
Public Member Functions | |
T | commanded () const |
Read the commanded value. More... | |
T | actual () const |
Read the actual value. More... | |
void | setCommanded (T value) |
Set a new commanded value. More... | |
void | update (T value) |
Update the actual value. More... | |
A template class representing a device property.
A property has commanded and actual values. The commanded value can be set and read, whereas the actual value can only be read, but can change via an update, i.e. read from a hardware address.
T Property< T >::actual | ( | ) | const |
Read the actual value.
T Property< T >::commanded | ( | ) | const |
Read the commanded value.
void Property< T >::setCommanded | ( | T | value | ) |
Set a new commanded value.
value | the new commanded value of type <T> |
void Property< T >::update | ( | T | value | ) |
Update the actual value.
value | the new actual value of type <T> |