Converter< ReaderImplementation, WriterImplementation, DerivedT > Struct Template Reference

Converter struct providing the needed methods. More...

#include <RobotAPI/libraries/aron/core/type/converter/Converter.h>

Public Types

using ReaderInputType = typename ReaderImplementation::InputType
 
using ReaderInputTypeNonConst = typename ReaderImplementation::InputTypeNonConst
 
using ReaderType = ReaderImplementation
 
using This = DerivedT
 
using WriterReturnType = typename WriterImplementation::ReturnType
 
using WriterType = WriterImplementation
 

Public Member Functions

type::Descriptor getDescriptor (ReaderInputType &o) final
 
void visitBool (ReaderInputType &o) final
 
void visitDict (ReaderInputType &o) final
 
void visitDouble (ReaderInputType &o) final
 
void visitFloat (ReaderInputType &o) final
 
void visitImage (ReaderInputType &o) final
 
void visitInt (ReaderInputType &o) final
 
void visitIntEnum (ReaderInputType &o) final
 
void visitList (ReaderInputType &o) final
 
void visitLong (ReaderInputType &o) final
 
void visitMatrix (ReaderInputType &o) final
 
void visitNDArray (ReaderInputType &o) final
 
void visitObject (ReaderInputType &o) final
 
void visitPair (ReaderInputType &o) final
 
void visitPointCloud (ReaderInputType &o) final
 
void visitQuaternion (ReaderInputType &o) final
 
void visitString (ReaderInputType &o) final
 
void visitTuple (ReaderInputType &o) final
 
void visitUnknown (ReaderInputType &o) final
 
virtual ~Converter ()=default
 

Public Attributes

WriterReturnType last_returned
 
ReaderImplementation r
 
WriterImplementation w
 

Detailed Description

template<class ReaderImplementation, class WriterImplementation, class DerivedT>
struct armarx::aron::type::Converter< ReaderImplementation, WriterImplementation, DerivedT >

Converter struct providing the needed methods.

WriterImplementation is a writer class, TODO: add concepts

Definition at line 35 of file Converter.h.

Member Typedef Documentation

◆ ReaderInputType

using ReaderInputType = typename ReaderImplementation::InputType

Definition at line 58 of file Converter.h.

◆ ReaderInputTypeNonConst

using ReaderInputTypeNonConst = typename ReaderImplementation::InputTypeNonConst

Definition at line 59 of file Converter.h.

◆ ReaderType

using ReaderType = ReaderImplementation

Definition at line 55 of file Converter.h.

◆ This

using This = DerivedT

Definition at line 56 of file Converter.h.

◆ WriterReturnType

using WriterReturnType = typename WriterImplementation::ReturnType

Definition at line 57 of file Converter.h.

◆ WriterType

using WriterType = WriterImplementation

Definition at line 54 of file Converter.h.

Constructor & Destructor Documentation

◆ ~Converter()

virtual ~Converter ( )
virtualdefault

Member Function Documentation

◆ getDescriptor()

type::Descriptor getDescriptor ( ReaderInputType o)
inlinefinal

Definition at line 68 of file Converter.h.

◆ visitBool()

void visitBool ( ReaderInputType o)
inlinefinal

Definition at line 294 of file Converter.h.

◆ visitDict()

void visitDict ( ReaderInputType o)
inlinefinal

Definition at line 97 of file Converter.h.

◆ visitDouble()

void visitDouble ( ReaderInputType o)
inlinefinal

Definition at line 282 of file Converter.h.

◆ visitFloat()

void visitFloat ( ReaderInputType o)
inlinefinal

Definition at line 270 of file Converter.h.

◆ visitImage()

void visitImage ( ReaderInputType o)
inlinefinal

Definition at line 206 of file Converter.h.

◆ visitInt()

void visitInt ( ReaderInputType o)
inlinefinal

Definition at line 246 of file Converter.h.

◆ visitIntEnum()

void visitIntEnum ( ReaderInputType o)
inlinefinal

Definition at line 232 of file Converter.h.

◆ visitList()

void visitList ( ReaderInputType o)
inlinefinal

Definition at line 112 of file Converter.h.

◆ visitLong()

void visitLong ( ReaderInputType o)
inlinefinal

Definition at line 258 of file Converter.h.

◆ visitMatrix()

void visitMatrix ( ReaderInputType o)
inlinefinal

Definition at line 178 of file Converter.h.

◆ visitNDArray()

void visitNDArray ( ReaderInputType o)
inlinefinal

Definition at line 164 of file Converter.h.

◆ visitObject()

void visitObject ( ReaderInputType o)
inlinefinal

Definition at line 74 of file Converter.h.

◆ visitPair()

void visitPair ( ReaderInputType o)
inlinefinal

Definition at line 127 of file Converter.h.

◆ visitPointCloud()

void visitPointCloud ( ReaderInputType o)
inlinefinal

Definition at line 219 of file Converter.h.

◆ visitQuaternion()

void visitQuaternion ( ReaderInputType o)
inlinefinal

Definition at line 193 of file Converter.h.

◆ visitString()

void visitString ( ReaderInputType o)
inlinefinal

Definition at line 306 of file Converter.h.

◆ visitTuple()

void visitTuple ( ReaderInputType o)
inlinefinal

Definition at line 144 of file Converter.h.

◆ visitUnknown()

void visitUnknown ( ReaderInputType o)
inlinefinal

Definition at line 318 of file Converter.h.

Member Data Documentation

◆ last_returned

WriterReturnType last_returned

Definition at line 63 of file Converter.h.

◆ r

ReaderImplementation r

Definition at line 61 of file Converter.h.

◆ w

WriterImplementation w

Definition at line 62 of file Converter.h.


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