PropertyTypeDescriptor is used internally by the property system to implement all operations required for property types that have the same data type. More...
#include <kanzi/core/property/property_type_descriptor.hpp>
Classes | |
struct | TypedModifierEntry |
struct | TypedModifierStorage |
struct | TypedNotificationEntry |
struct | TypedNotificationStorage |
struct | TypedValueSource |
Public Types | |
typedef void(* | ModifierCallback) (PropertyObject &, typename Traits::StorageType &, PropertyNotificationReason, void *) |
typedef void(* | NotificationCallback) (PropertyObject &, const typename Traits::StorageType &, PropertyNotificationReason, void *) |
using | Traits = PropertyDataTypeTraits< T > |
![]() | |
typedef unique_ptr< AbstractPropertyTypeDescriptor > | ManagedDescriptor |
typedef unique_ptr< ValueSourceOwner > | ValueSourceOwnerPtr |
ValueSourceOwner unique pointer type. More... | |
Public Attributes | |
Traits::StorageType | m_defaultValue |
unique_ptr< TypedNotificationStorage > | m_typeNotificationEntries |
![]() | |
uint32_t | m_changeFlags |
Change flags set on an object where a property of this type is set. More... | |
uint32_t | m_flags |
Flags of property type. More... | |
const char * | m_name |
Name of the property type. More... | |
const char * | m_unqualifiedName |
Unqualified name of the property type. More... | |
Additional Inherited Members | |
![]() | |
static AbstractPropertyTypeDescriptor * | findDescriptor (string_view name) |
Finds a fixed property type by name. More... | |
static void | registerDescriptor (ManagedDescriptor descriptor) |
![]() | |
static const uint32_t | s_inheritedFlag |
Bit flag to encode that the property type is inherited. More... | |
static const uint32_t | s_inheritedMask |
Bit mask to extract inherited flag from m_flags. More... | |
static const uint32_t | s_managedStringFlag |
Bit flag to encode that the name of the property type is a local copy. More... | |
PropertyTypeDescriptor is used internally by the property system to implement all operations required for property types that have the same data type.
using kanzi::PropertyTypeDescriptor< T >::Traits = PropertyDataTypeTraits<T> |
typedef void(* kanzi::PropertyTypeDescriptor< T >::ModifierCallback) (PropertyObject &, typename Traits::StorageType &, PropertyNotificationReason, void *) |
typedef void(* kanzi::PropertyTypeDescriptor< T >::NotificationCallback) (PropertyObject &, const typename Traits::StorageType &, PropertyNotificationReason, void *) |
|
inlineexplicit |
|
inlineexplicit |
|
inlineoverride |
|
inline |
|
inlineoverridevirtual |
Implements kanzi::AbstractPropertyTypeDescriptor.
|
inlineoverridevirtual |
Implements kanzi::AbstractPropertyTypeDescriptor.
|
inlineoverridevirtual |
Implements kanzi::AbstractPropertyTypeDescriptor.
|
inlineoverridevirtual |
Implements kanzi::AbstractPropertyTypeDescriptor.
|
inlineoverridevirtual |
Implements kanzi::AbstractPropertyTypeDescriptor.
|
inlineoverridevirtual |
Implements kanzi::AbstractPropertyTypeDescriptor.
|
inlineoverridevirtual |
Implements kanzi::AbstractPropertyTypeDescriptor.
|
inlineoverridevirtual |
Implements kanzi::AbstractPropertyTypeDescriptor.
|
inlineoverridevirtual |
Implements kanzi::AbstractPropertyTypeDescriptor.
|
inlineoverridevirtual |
Implements kanzi::AbstractPropertyTypeDescriptor.
|
inlineoverridevirtual |
Implements kanzi::AbstractPropertyTypeDescriptor.
|
inlineoverridevirtual |
AbstractPropertyTypeDescriptor::copyValueSource() implementation.
Implements kanzi::AbstractPropertyTypeDescriptor.
|
inline |
|
inline |
Traits::StorageType kanzi::PropertyTypeDescriptor< T >::m_defaultValue |
unique_ptr<TypedNotificationStorage> kanzi::PropertyTypeDescriptor< T >::m_typeNotificationEntries |