Class InternalProperty

Inheritance Relationships

Base Type

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