|
| | CallbackProperty (T *io, PropertyID id, bool writeEnable, PropertyDataType type, uint16_t maxElements, uint8_t access, uint8_t(*readCallback)(T *, uint16_t, uint8_t, uint8_t *), uint8_t(*writeCallback)(T *, uint16_t, uint8_t, const uint8_t *)) |
| |
| | CallbackProperty (T *io, PropertyID id, bool writeEnable, PropertyDataType type, uint16_t maxElements, uint8_t access, uint8_t(*readCallback)(T *, uint16_t, uint8_t, uint8_t *)) |
| |
| uint8_t | read (uint16_t start, uint8_t count, uint8_t *data) const override |
| |
| uint8_t | write (uint16_t start, uint8_t count, const uint8_t *data) override |
| |
| | Property (PropertyID id, bool writeEnable, PropertyDataType type, uint16_t maxElements, uint8_t access) |
| |
| virtual | ~Property () |
| |
| PropertyID | Id () const |
| |
| bool | WriteEnable () const |
| |
| PropertyDataType | Type () const |
| |
| uint16_t | MaxElements () const |
| |
| uint8_t | Access () const |
| |
| uint8_t | ElementSize () const |
| |
| virtual void | command (uint8_t *data, uint8_t length, uint8_t *resultData, uint8_t &resultLength) |
| |
| virtual void | state (uint8_t *data, uint8_t length, uint8_t *resultData, uint8_t &resultLength) |
| |
| uint8_t | read (uint8_t &value) const |
| |
| uint8_t | read (uint16_t &value) const |
| |
| uint8_t | read (uint32_t &value) const |
| |
| uint8_t | read (uint8_t *value) const |
| |
| uint8_t | write (uint8_t value) |
| |
| uint8_t | write (uint16_t value) |
| |
| uint8_t | write (uint16_t position, uint16_t value) |
| |
| uint8_t | write (uint32_t value) |
| |
| uint8_t | write (const uint8_t *value) |
| |
| virtual uint8_t * | save (uint8_t *buffer) |
| | This method is called when the object should save its state to the buffer. More...
|
| |
| virtual const uint8_t * | restore (const uint8_t *buffer) |
| | This method is called when the object should restore its state from the buffer. More...
|
| |
| virtual uint16_t | saveSize () |
| |
template<class T>
class CallbackProperty< T >
Definition at line 7 of file callback_property.h.