|
knx
ETS configurable knx-stack
|
#include <function_property.h>
Public Member Functions | |
| FunctionProperty (T *io, PropertyID id, void(*commandCallback)(T *, uint8_t *, uint8_t, uint8_t *, uint8_t &), void(*stateCallback)(T *, uint8_t *, uint8_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 |
| void | command (uint8_t *data, uint8_t length, uint8_t *resultData, uint8_t &resultLength) override |
| void | state (uint8_t *data, uint8_t length, uint8_t *resultData, uint8_t &resultLength) override |
Public Member Functions inherited from Property | |
| 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 |
| 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) |
Public Member Functions inherited from SaveRestore | |
| 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 () |
Additional Inherited Members | |
Protected Attributes inherited from Property | |
| PropertyID | _id |
| bool | _writeEnable |
| PropertyDataType | _type |
| uint16_t | _maxElements |
| uint8_t | _access |
Definition at line 7 of file function_property.h.
|
inline |
Definition at line 10 of file function_property.h.
|
inlineoverridevirtual |
Reimplemented from Property.
Definition at line 27 of file function_property.h.
|
inlineoverridevirtual |
Implements Property.
Definition at line 17 of file function_property.h.
|
inlineoverridevirtual |
Reimplemented from Property.
Definition at line 38 of file function_property.h.
|
inlineoverridevirtual |
Implements Property.
Definition at line 22 of file function_property.h.