Class InternalProperty
Defined in File props.h
Inheritance Relationships
Base Type
public DeviceProperty
(Class DeviceProperty)
Class Documentation
-
class InternalProperty : public DeviceProperty
Property backed by an internal value.
Stores the property value internally within the property object.
Public Functions
-
InternalProperty(uint32_t value, PropertyAccess access = PropertyAccess::ReadOnly)
Constructor.
- Parameters:
value – Initial value for the property
access – Access control (default: ReadOnly)
-
virtual uint32_t get_value() const override
Get the internal value.
- Returns:
Current internal value
-
virtual void set_value(uint32_t new_value) override
Set the internal value.
- Parameters:
new_value – New value to store
-
InternalProperty(uint32_t value, PropertyAccess access = PropertyAccess::ReadOnly)