Caffa  1.1.0
C++ Application Framework for Embedded Systems with introspection
Public Member Functions | Protected Attributes | List of all members
caffa::ChildFieldAccessor Class Referenceabstract
Inheritance diagram for caffa::ChildFieldAccessor:
Inheritance graph
[legend]
Collaboration diagram for caffa::ChildFieldAccessor:
Collaboration graph
[legend]

Public Member Functions

 ChildFieldAccessor (FieldHandle *field)
 
virtual std::shared_ptr< ObjectHandleobject ()=0
 
virtual std::shared_ptr< const ObjectHandleobject () const =0
 
virtual void setObject (std::shared_ptr< ObjectHandle > object)=0
 
virtual void clear ()=0
 
virtual bool hasSetter () const =0
 
virtual bool hasGetter () const =0
 

Protected Attributes

FieldHandlem_field
 

Member Function Documentation

◆ hasGetter()

virtual bool caffa::ChildFieldAccessor::hasGetter ( ) const
pure virtual

The accessor has a setter. Thus can be written to.

Returns
true if it has a setter

Implemented in caffa::ChildFieldDirectStorageAccessor, and caffa::rpc::ChildFieldAccessor.

◆ hasSetter()

virtual bool caffa::ChildFieldAccessor::hasSetter ( ) const
pure virtual

The accessor has a getter. Thus can be read.

Returns
true if it has a getter

Implemented in caffa::ChildFieldDirectStorageAccessor, and caffa::rpc::ChildFieldAccessor.


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