AronGeneratedObject< Derived > Class Template Reference

#include <RobotAPI/libraries/aron/core/codegeneration/cpp/AronGeneratedObject.h>

+ Inheritance diagram for AronGeneratedObject< Derived >:

Public Member Functions

 AronGeneratedObject ()=default
 
template<class T >
void from (const T &t)
 
template<class T >
void from (const T &t, void(*toAron)(Derived &, const T &))
 
template<class T >
void to (T &t) const
 
template<class T >
void to (T &t, void(*fromAron)(const Derived &, T &)) const
 
virtual ~AronGeneratedObject ()=default
 
- Public Member Functions inherited from AronGeneratedObjectBase
 AronGeneratedObjectBase ()=default
 
virtual void fromAron (const armarx::aron::data::DictPtr &input)=0
 Set all members of the current bo according to the aron variant data dict. More...
 
virtual void fromAron (const armarx::aron::data::dto::DictPtr &input)=0
 Set all members of the current bo according to the ice representation of an aron variant data dict. More...
 
virtual armarx::aron::data::DictPtr toAron () const =0
 Convert the current bo to an aron variant data dict. More...
 
virtual armarx::aron::data::dto::DictPtr toAronDTO () const =0
 Convert the current bo to the ice representation of an aron variant data dict. More...
 
virtual ~AronGeneratedObjectBase ()=default
 
- Public Member Functions inherited from AronGeneratedClass
 AronGeneratedClass ()=default
 
virtual void resetHard ()
 Reset all member values of this class to default (as stated in the XML). This may mean that maybe types are null or false and images may be created as headers_only. More...
 
virtual void resetSoft ()
 Reset all member values of this class softly, meaning if a maybe type has a value, we reset only the value (not the full maybe type) and if an image has data (width, height) we keep the data and width and height and only reset teh pixel values. More...
 
virtual ~AronGeneratedClass ()=default
 

Detailed Description

template<class Derived>
class armarx::aron::cpp::AronGeneratedObject< Derived >

Definition at line 53 of file AronGeneratedObject.h.

Constructor & Destructor Documentation

◆ AronGeneratedObject()

AronGeneratedObject ( )
default

◆ ~AronGeneratedObject()

virtual ~AronGeneratedObject ( )
virtualdefault

Member Function Documentation

◆ from() [1/2]

void from ( const T t)
inline

Definition at line 71 of file AronGeneratedObject.h.

◆ from() [2/2]

void from ( const T t,
void(*)(Derived &, const T &)  toAron 
)
inline

Definition at line 91 of file AronGeneratedObject.h.

+ Here is the call graph for this function:

◆ to() [1/2]

void to ( T t) const
inline

Definition at line 61 of file AronGeneratedObject.h.

◆ to() [2/2]

void to ( T t,
void(*)(const Derived &, T &)  fromAron 
) const
inline

Definition at line 81 of file AronGeneratedObject.h.

+ Here is the call graph for this function:

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