RangeAccessBindingConcept is a processor that provides an interface for accessing values in a range.
More...
#include <kanzi/core.ui/binding/range_access_binding_concept.hpp>
RangeAccessBindingConcept is a processor that provides an interface for accessing values in a range.
This class does not provide functionality. It is inherited by classes that implement the range access interface.
- Since
- Kanzi 3.9.0
| size_t kanzi::RangeAccessBindingConcept::getLength |
( |
| ) |
|
|
inline |
Gets the length of the range.
- Returns
- Range length.
| Variant* kanzi::RangeAccessBindingConcept::getWriteRegister |
( |
size_t |
index | ) |
|
|
inline |
Accesses a register for writing by index.
- Parameters
-
- Returns
- Pointer to register or nullptr.
| bool kanzi::RangeAccessBindingConcept::readValue |
( |
Variant & |
value, |
|
|
size_t |
index |
|
) |
| |
|
inline |
Reads a value from range by index.
- Parameters
-
| value | Value to write to. |
| index | Value index to write. |
- Returns
- If value was read successfully, true, otherwise false.
| virtual size_t kanzi::RangeAccessBindingConcept::getLengthOverride |
( |
| ) |
|
|
protectedpure virtual |
| virtual Variant* kanzi::RangeAccessBindingConcept::getWriteRegisterOverride |
( |
size_t |
index | ) |
|
|
protectedvirtual |
Implementation-specific access to a writable register.
Default implementation throws an error.
- Parameters
-
| index | Index of register to access. |
- Returns
- Pointer to the register for writing values.
Reimplemented in kanzi::RangeStorageBindingProcessor.
| virtual bool kanzi::RangeAccessBindingConcept::readValueOverride |
( |
Variant & |
value, |
|
|
size_t |
index |
|
) |
| |
|
protectedpure virtual |
The documentation for this class was generated from the following file: