PropertyDefinitionGetterVisitor Class Reference

#include <RobotAPI/libraries/aron_component_config/PropertyDefinitionVisitors.h>

+ Inheritance diagram for PropertyDefinitionGetterVisitor:

Public Member Functions

type::Descriptor getDescriptor (DataInput &o, TypeInput &t) override
 
MapElements getDictElements (DataInput &o, TypeInput &t) override
 
ListElements getListElements (DataInput &o, TypeInput &t) override
 
MapElements getObjectElements (DataInput &o, TypeInput &t) override
 
PairElements getPairElements (DataInput &o, TypeInput &t) override
 
TupleElements getTupleElements (DataInput &o, TypeInput &t) override
 
 PropertyDefinitionGetterVisitor (const armarx::PropertyUser &defs, const std::string &global_namespace="")
 
void visitBool (DataInput &elementData, TypeInput &elementType) override
 
void visitDictOnEnter (DataInput &elementData, TypeInput &elementType) override
 
void visitDictOnExit (DataInput &elementData, TypeInput &elementType) override
 
void visitDouble (DataInput &elementData, TypeInput &elementType) override
 
void visitFloat (DataInput &elementData, TypeInput &elementType) override
 
void visitInt (DataInput &elementData, TypeInput &elementType) override
 
void visitIntEnum (DataInput &elementData, TypeInput &elementType) override
 
void visitListOnEnter (DataInput &elementData, TypeInput &elementType) override
 
void visitListOnExit (DataInput &elementData, TypeInput &elementType) override
 
void visitMatrix (DataInput &elementData, TypeInput &elementType) override
 
void visitObjectOnEnter (DataInput &elementData, TypeInput &elementType) override
 
void visitQuaternion (DataInput &elementData, TypeInput &elementType) override
 
void visitString (DataInput &elementData, TypeInput &elementType) override
 
void visitUnknown (DataInput &elementData, TypeInput &elementType) override
 
- Public Member Functions inherited from RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >
virtual void visitAnyObject (DataInput &elementData, TypeInput &elementType)
 
virtual void visitImage (DataInput &elementData, TypeInput &elementType)
 
virtual void visitLong (DataInput &elementData, TypeInput &elementType)
 
virtual void visitNDArray (DataInput &elementData, TypeInput &elementType)
 
virtual void visitObjectOnExit (DataInput &elementData, TypeInput &elementType)
 
virtual void visitPairOnEnter (DataInput &elementData, TypeInput &elementType)
 
virtual void visitPairOnExit (DataInput &elementData, TypeInput &elementType)
 
virtual void visitPointCloud (DataInput &elementData, TypeInput &elementType)
 
virtual void visitTupleOnEnter (DataInput &elementData, TypeInput &elementType)
 
virtual void visitTupleOnExit (DataInput &elementData, TypeInput &elementType)
 
virtual ~RecursiveTypedVisitor ()=default
 
- Public Member Functions inherited from TypedVisitorBase< data::VariantPtr, const type::VariantPtr >
virtual type::Descriptor getDescriptor (DataInput &, TypeInput &)=0
 
virtual ~TypedVisitorBase ()=default
 

Additional Inherited Members

- Public Types inherited from RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >
using DataInput = typename TypedVisitorBase< data::VariantPtr, const type::VariantPtr >::DataInput
 
using DataInputNonConst = typename std::remove_const< DataInput >::type
 
using ListElements = std::vector< std::pair< DataInputNonConst, TypeInputNonConst > >
 
using MapElements = std::map< std::string, std::pair< DataInputNonConst, TypeInputNonConst > >
 
using PairElements = std::pair< std::pair< DataInputNonConst, TypeInputNonConst >, std::pair< DataInputNonConst, TypeInputNonConst > >
 
using TupleElements = std::vector< std::pair< DataInputNonConst, TypeInputNonConst > >
 
using TypeInput = typename TypedVisitorBase< data::VariantPtr, const type::VariantPtr >::TypeInput
 
using TypeInputNonConst = typename std::remove_const< TypeInput >::type
 
- Public Types inherited from TypedVisitorBase< data::VariantPtr, const type::VariantPtr >
using DataInput = data::VariantPtr
 
using TypeInput = const type::VariantPtr
 

Detailed Description

Definition at line 73 of file PropertyDefinitionVisitors.h.

Constructor & Destructor Documentation

◆ PropertyDefinitionGetterVisitor()

PropertyDefinitionGetterVisitor ( const armarx::PropertyUser defs,
const std::string &  global_namespace = "" 
)
explicit

Definition at line 160 of file PropertyDefinitionVisitors.cpp.

Member Function Documentation

◆ getDescriptor()

type::Descriptor getDescriptor ( DataInput o,
TypeInput t 
)
override

Definition at line 241 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ getDictElements()

PropertyDefinitionGetterVisitor::MapElements getDictElements ( DataInput o,
TypeInput t 
)
overridevirtual

Implements RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >.

Definition at line 217 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ getListElements()

PropertyDefinitionGetterVisitor::ListElements getListElements ( DataInput o,
TypeInput t 
)
overridevirtual

Implements RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >.

Definition at line 223 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ getObjectElements()

PropertyDefinitionGetterVisitor::MapElements getObjectElements ( DataInput o,
TypeInput t 
)
overridevirtual

Implements RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >.

Definition at line 211 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ getPairElements()

PropertyDefinitionGetterVisitor::PairElements getPairElements ( DataInput o,
TypeInput t 
)
overridevirtual

Implements RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >.

Definition at line 229 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ getTupleElements()

PropertyDefinitionGetterVisitor::TupleElements getTupleElements ( DataInput o,
TypeInput t 
)
overridevirtual

Implements RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >.

Definition at line 235 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitBool()

void visitBool ( DataInput elementData,
TypeInput elementType 
)
overridevirtual

Reimplemented from RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >.

Definition at line 81 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitDictOnEnter()

void visitDictOnEnter ( DataInput elementData,
TypeInput elementType 
)
overridevirtual

Reimplemented from RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >.

Definition at line 170 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitDictOnExit()

void visitDictOnExit ( DataInput elementData,
TypeInput elementType 
)
overridevirtual

◆ visitDouble()

void visitDouble ( DataInput elementData,
TypeInput elementType 
)
overridevirtual

Reimplemented from RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >.

Definition at line 72 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitFloat()

void visitFloat ( DataInput elementData,
TypeInput elementType 
)
overridevirtual

Reimplemented from RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >.

Definition at line 63 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitInt()

void visitInt ( DataInput elementData,
TypeInput elementType 
)
overridevirtual

Reimplemented from RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >.

Definition at line 54 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitIntEnum()

void visitIntEnum ( DataInput elementData,
TypeInput elementType 
)
overridevirtual

Reimplemented from RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >.

Definition at line 145 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitListOnEnter()

void visitListOnEnter ( DataInput elementData,
TypeInput elementType 
)
overridevirtual

Reimplemented from RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >.

Definition at line 107 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitListOnExit()

void visitListOnExit ( DataInput elementData,
TypeInput elementType 
)
overridevirtual

◆ visitMatrix()

void visitMatrix ( DataInput elementData,
TypeInput elementType 
)
overridevirtual

Reimplemented from RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >.

Definition at line 247 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitObjectOnEnter()

void visitObjectOnEnter ( DataInput elementData,
TypeInput elementType 
)
overridevirtual

Reimplemented from RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >.

Definition at line 274 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitQuaternion()

void visitQuaternion ( DataInput elementData,
TypeInput elementType 
)
overridevirtual

Reimplemented from RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >.

Definition at line 262 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitString()

void visitString ( DataInput elementData,
TypeInput elementType 
)
overridevirtual

Reimplemented from RecursiveTypedVisitor< data::VariantPtr, const type::VariantPtr >.

Definition at line 90 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitUnknown()

void visitUnknown ( DataInput elementData,
TypeInput elementType 
)
overridevirtual

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