PropertyDefinitionSetterVisitor Class Reference

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

+ Inheritance diagram for PropertyDefinitionSetterVisitor:

Public Member Functions

 PropertyDefinitionSetterVisitor (const armarx::PropertyDefinitionsPtr &defs, const std::string &global_namespace="")
 
void visitAronVariant (const data::BoolPtr &, const type::BoolPtr &) override
 
void visitAronVariant (const data::DoublePtr &, const type::DoublePtr &) override
 
void visitAronVariant (const data::FloatPtr &, const type::FloatPtr &) override
 
void visitAronVariant (const data::IntPtr &, const type::IntEnumPtr &) override
 
void visitAronVariant (const data::IntPtr &, const type::IntPtr &) override
 
void visitAronVariant (const data::NDArrayPtr &, const type::MatrixPtr &) override
 
void visitAronVariant (const data::NDArrayPtr &, const type::QuaternionPtr &) override
 
void visitAronVariant (const data::StringPtr &, const type::StringPtr &) override
 
void visitAronVariantOnEnter (const data::DictPtr &, const type::DictPtr &) override
 
void visitAronVariantOnEnter (const data::DictPtr &ptr, const type::ObjectPtr &objectPtr) override
 
void visitAronVariantOnEnter (const data::ListPtr &, const type::ListPtr &) override
 
void visitAronVariantOnExit (const data::DictPtr &, const type::DictPtr &) override
 
void visitAronVariantOnExit (const data::ListPtr &, const type::ListPtr &) override
 
- Public Member Functions inherited from RecursiveConstTypedVariantVisitor
type::Descriptor getDescriptor (DataInput &o, TypeInput &n) 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
 
virtual void visitAronVariant (const data::LongPtr &, const type::LongPtr &)
 
virtual void visitAronVariant (const data::NDArrayPtr &, const type::ImagePtr &)
 
virtual void visitAronVariant (const data::NDArrayPtr &, const type::NDArrayPtr &)
 
virtual void visitAronVariant (const data::NDArrayPtr &, const type::PointCloudPtr &)
 
virtual void visitAronVariantOnEnter (const data::ListPtr &, const type::PairPtr &)
 
virtual void visitAronVariantOnEnter (const data::ListPtr &, const type::TuplePtr &)
 
virtual void visitAronVariantOnExit (const data::DictPtr &, const type::ObjectPtr &)
 
virtual void visitAronVariantOnExit (const data::ListPtr &, const type::PairPtr &)
 
virtual void visitAronVariantOnExit (const data::ListPtr &, const type::TuplePtr &)
 
void visitBool (DataInput &, TypeInput &) override
 
void visitDictOnEnter (DataInput &, TypeInput &) override
 
void visitDictOnExit (DataInput &, TypeInput &) override
 
void visitDouble (DataInput &, TypeInput &) override
 
void visitFloat (DataInput &, TypeInput &) override
 
void visitImage (DataInput &, TypeInput &) override
 
void visitInt (DataInput &, TypeInput &) override
 
void visitIntEnum (DataInput &, TypeInput &) override
 
void visitListOnEnter (DataInput &, TypeInput &) override
 
void visitListOnExit (DataInput &, TypeInput &) override
 
void visitLong (DataInput &, TypeInput &) override
 
void visitMatrix (DataInput &, TypeInput &) override
 
void visitNDArray (DataInput &, TypeInput &) override
 
void visitObjectOnEnter (DataInput &, TypeInput &) override
 
void visitObjectOnExit (DataInput &i, TypeInput &j) override
 
void visitPairOnEnter (DataInput &, TypeInput &) override
 
void visitPairOnExit (DataInput &, TypeInput &) override
 
void visitPointCloud (DataInput &, TypeInput &) override
 
void visitQuaternion (DataInput &, TypeInput &) override
 
void visitString (DataInput &, TypeInput &) override
 
void visitTupleOnEnter (DataInput &, TypeInput &) override
 
void visitTupleOnExit (DataInput &, TypeInput &) override
 
virtual ~RecursiveConstTypedVariantVisitor ()=default
 
- Public Member Functions inherited from RecursiveTypedVisitor< const data::VariantPtr, const type::VariantPtr >
virtual void visitAnyObject (DataInput &elementData, TypeInput &elementType)
 
virtual void visitUnknown (DataInput &elementData, TypeInput &elementType)
 
virtual ~RecursiveTypedVisitor ()=default
 
- Public Member Functions inherited from TypedVisitorBase< const data::VariantPtr, const type::VariantPtr >
virtual type::Descriptor getDescriptor (DataInput &, TypeInput &)=0
 
virtual ~TypedVisitorBase ()=default
 

Additional Inherited Members

- Public Types inherited from RecursiveTypedVisitor< const data::VariantPtr, const type::VariantPtr >
using DataInput = typename TypedVisitorBase< const 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< const data::VariantPtr, const type::VariantPtr >::TypeInput
 
using TypeInputNonConst = typename std::remove_const< TypeInput >::type
 
- Public Types inherited from TypedVisitorBase< const data::VariantPtr, const type::VariantPtr >
using DataInput = const data::VariantPtr
 
using TypeInput = const type::VariantPtr
 
- Static Public Member Functions inherited from RecursiveConstTypedVariantVisitor
static MapElements GetDictElements (DataInput &o, TypeInput &t)
 
static ListElements GetListElements (DataInput &o, TypeInput &t)
 
static MapElements GetObjectElements (DataInput &o, TypeInput &t)
 
static MapElements GetObjectElementsWithNullType (DataInput &o, TypeInput &t)
 
static PairElements GetPairElements (DataInput &o, TypeInput &t)
 
static TupleElements GetTupleElements (DataInput &o, TypeInput &t)
 

Detailed Description

Definition at line 34 of file PropertyDefinitionVisitors.h.

Constructor & Destructor Documentation

◆ PropertyDefinitionSetterVisitor()

PropertyDefinitionSetterVisitor ( const armarx::PropertyDefinitionsPtr defs,
const std::string &  global_namespace = "" 
)
explicit

Definition at line 284 of file PropertyDefinitionVisitors.cpp.

Member Function Documentation

◆ visitAronVariant() [1/8]

void visitAronVariant ( const data::BoolPtr b,
const type::BoolPtr  
)
overridevirtual

Reimplemented from RecursiveConstTypedVariantVisitor.

Definition at line 320 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitAronVariant() [2/8]

void visitAronVariant ( const data::DoublePtr d,
const type::DoublePtr  
)
overridevirtual

Reimplemented from RecursiveConstTypedVariantVisitor.

Definition at line 311 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitAronVariant() [3/8]

void visitAronVariant ( const data::FloatPtr f,
const type::FloatPtr  
)
overridevirtual

Reimplemented from RecursiveConstTypedVariantVisitor.

Definition at line 302 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitAronVariant() [4/8]

void visitAronVariant ( const data::IntPtr i,
const type::IntEnumPtr t 
)
overridevirtual

Reimplemented from RecursiveConstTypedVariantVisitor.

Definition at line 338 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitAronVariant() [5/8]

void visitAronVariant ( const data::IntPtr i,
const type::IntPtr  
)
overridevirtual

Reimplemented from RecursiveConstTypedVariantVisitor.

Definition at line 293 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitAronVariant() [6/8]

void visitAronVariant ( const data::NDArrayPtr matrix,
const type::MatrixPtr  
)
overridevirtual

Reimplemented from RecursiveConstTypedVariantVisitor.

Definition at line 440 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitAronVariant() [7/8]

void visitAronVariant ( const data::NDArrayPtr quaternion,
const type::QuaternionPtr  
)
overridevirtual

Reimplemented from RecursiveConstTypedVariantVisitor.

Definition at line 428 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitAronVariant() [8/8]

void visitAronVariant ( const data::StringPtr string,
const type::StringPtr  
)
overridevirtual

Reimplemented from RecursiveConstTypedVariantVisitor.

Definition at line 329 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitAronVariantOnEnter() [1/3]

void visitAronVariantOnEnter ( const data::DictPtr d,
const type::DictPtr t 
)
overridevirtual

Reimplemented from RecursiveConstTypedVariantVisitor.

Definition at line 381 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitAronVariantOnEnter() [2/3]

void visitAronVariantOnEnter ( const data::DictPtr ptr,
const type::ObjectPtr objectPtr 
)
overridevirtual

Reimplemented from RecursiveConstTypedVariantVisitor.

Definition at line 417 of file PropertyDefinitionVisitors.cpp.

◆ visitAronVariantOnEnter() [3/3]

void visitAronVariantOnEnter ( const data::ListPtr l,
const type::ListPtr t 
)
overridevirtual

Reimplemented from RecursiveConstTypedVariantVisitor.

Definition at line 348 of file PropertyDefinitionVisitors.cpp.

+ Here is the call graph for this function:

◆ visitAronVariantOnExit() [1/2]

void visitAronVariantOnExit ( const data::DictPtr ,
const type::DictPtr  
)
overridevirtual

Reimplemented from RecursiveConstTypedVariantVisitor.

Definition at line 410 of file PropertyDefinitionVisitors.cpp.

◆ visitAronVariantOnExit() [2/2]

void visitAronVariantOnExit ( const data::ListPtr ,
const type::ListPtr  
)
overridevirtual

Reimplemented from RecursiveConstTypedVariantVisitor.

Definition at line 374 of file PropertyDefinitionVisitors.cpp.


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