Visitor< T > Struct Template Reference

The Visitor struct. More...

#include <RobotAPI/libraries/aron/core/type/visitor/Visitor.h>

+ Inheritance diagram for Visitor< T >:

Public Types

using Input = typename VisitorBase< T >::Input
 
- Public Types inherited from VisitorBase< T >
using Input = T
 

Public Member Functions

virtual void visitAnyObject (Input &)
 
virtual void visitBool (Input &)
 
virtual void visitDict (Input &)
 
virtual void visitDouble (Input &)
 
virtual void visitFloat (Input &)
 
virtual void visitImage (Input &)
 
virtual void visitInt (Input &)
 
virtual void visitIntEnum (Input &)
 
virtual void visitList (Input &)
 
virtual void visitLong (Input &)
 
virtual void visitMatrix (Input &)
 
virtual void visitNDArray (Input &)
 
virtual void visitObject (Input &)
 
virtual void visitOrientation (Input &)
 
virtual void visitPair (Input &)
 
virtual void visitPointCloud (Input &)
 
virtual void visitPose (Input &)
 
virtual void visitPosition (Input &)
 
virtual void visitQuaternion (Input &)
 
virtual void visitString (Input &)
 
virtual void visitTuple (Input &)
 
virtual void visitUnknown (Input &)
 
virtual ~Visitor ()=default
 
- Public Member Functions inherited from VisitorBase< T >
virtual type::Descriptor getDescriptor (Input &)=0
 
virtual ~VisitorBase ()=default
 

Detailed Description

template<class T>
struct armarx::aron::type::Visitor< T >

The Visitor struct.

Defines the visitX methods a visitor has to impelement

Definition at line 104 of file Visitor.h.

Member Typedef Documentation

◆ Input

using Input = typename VisitorBase<T>::Input

Definition at line 106 of file Visitor.h.

Constructor & Destructor Documentation

◆ ~Visitor()

virtual ~Visitor ( )
virtualdefault

Member Function Documentation

◆ visitAnyObject()

virtual void visitAnyObject ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 127 of file Visitor.h.

◆ visitBool()

virtual void visitBool ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 125 of file Visitor.h.

◆ visitDict()

virtual void visitDict ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 108 of file Visitor.h.

◆ visitDouble()

virtual void visitDouble ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 124 of file Visitor.h.

◆ visitFloat()

virtual void visitFloat ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 123 of file Visitor.h.

◆ visitImage()

virtual void visitImage ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 118 of file Visitor.h.

◆ visitInt()

virtual void visitInt ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 121 of file Visitor.h.

◆ visitIntEnum()

virtual void visitIntEnum ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 120 of file Visitor.h.

◆ visitList()

virtual void visitList ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 111 of file Visitor.h.

◆ visitLong()

virtual void visitLong ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 122 of file Visitor.h.

◆ visitMatrix()

virtual void visitMatrix ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 112 of file Visitor.h.

◆ visitNDArray()

virtual void visitNDArray ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 113 of file Visitor.h.

◆ visitObject()

virtual void visitObject ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 107 of file Visitor.h.

◆ visitOrientation()

virtual void visitOrientation ( Input )
inlinevirtual

Definition at line 115 of file Visitor.h.

◆ visitPair()

virtual void visitPair ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 109 of file Visitor.h.

◆ visitPointCloud()

virtual void visitPointCloud ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 119 of file Visitor.h.

◆ visitPose()

virtual void visitPose ( Input )
inlinevirtual

Definition at line 117 of file Visitor.h.

◆ visitPosition()

virtual void visitPosition ( Input )
inlinevirtual

Definition at line 116 of file Visitor.h.

◆ visitQuaternion()

virtual void visitQuaternion ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 114 of file Visitor.h.

◆ visitString()

virtual void visitString ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 126 of file Visitor.h.

◆ visitTuple()

virtual void visitTuple ( Input )
inlinevirtual

Reimplemented in ConstVariantVisitor.

Definition at line 110 of file Visitor.h.

◆ visitUnknown()


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