Kanzi 3.9.10
kanzi::AbstractPropertyTypeDescriptor::RawValueSourceOwner Class Reference

Owner for raw value source pointers. More...

#include <kanzi/core/property/abstract_property_type_descriptor.hpp>

Inheritance diagram for kanzi::AbstractPropertyTypeDescriptor::RawValueSourceOwner:
[legend]

Public Member Functions

bool matches (void *owner) const override
 ValueSourceOwner::matches() implementation.
 
 RawValueSourceOwner (void *owner)
 Constructor.
 
- Public Member Functions inherited from kanzi::AbstractPropertyTypeDescriptor::ValueSourceOwner
bool isReuseAllowed () const
 Indicates whether reuse of the value source for other property actions is allowed.
 
bool isValid () const
 Indicates whether the value source is valid.
 
void setValid (bool valid)
 Sets the validity status of the value source.
 
 ValueSourceOwner (bool valid, bool reuseAllowed)
 Constructor.
 
virtual ~ValueSourceOwner ()
 Virtual destructor to be implemented by inheriting classes.
 

Protected Attributes

voidm_owner
 Raw owner pointer.
 
- Protected Attributes inherited from kanzi::AbstractPropertyTypeDescriptor::ValueSourceOwner
bool m_reuseAllowed
 Is reuse of this value source allowed? Should be set to true to allow reuse of the value source.
 
bool m_valid
 Validity flag for value source.
 

Detailed Description

Owner for raw value source pointers.

Constructor & Destructor Documentation

◆ RawValueSourceOwner()

kanzi::AbstractPropertyTypeDescriptor::RawValueSourceOwner::RawValueSourceOwner ( void * owner)
inlineexplicit

Constructor.

Parameters
ownerOwner pointer.

Member Function Documentation

◆ matches()

bool kanzi::AbstractPropertyTypeDescriptor::RawValueSourceOwner::matches ( void * owner) const
inlineoverridevirtual

Member Data Documentation

◆ m_owner

void* kanzi::AbstractPropertyTypeDescriptor::RawValueSourceOwner::m_owner
protected

Raw owner pointer.


The documentation for this class was generated from the following file: