Warning: include(php/utility.php): Failed to open stream: No such file or directory in /home/argos/argos3/doc/api/embedded/a02298.php on line 2

Warning: include(): Failed opening 'php/utility.php' for inclusion (include_path='.:/usr/lib64/php') in /home/argos/argos3/doc/api/embedded/a02298.php on line 2
The ARGoS Website

argos::CAny::CReference< T > Class Template Reference

Actual templetized reference to object. More...

#include <any.h>

Inheritance diagram for argos::CAny::CReference< T >:
Collaboration diagram for argos::CAny::CReference< T >:

Public Member Functions

 CReference (const T &t_object)
 
virtual ~CReference ()
 Destructor. More...
 
virtual const std::type_info & GetType () const
 
virtual CAbstractReferenceClone () const
 Clone the reference. More...
 
- Public Member Functions inherited from argos::CAny::CAbstractReference
virtual ~CAbstractReference ()
 Destructor. More...
 

Public Attributes

m_tObject
 Actual referenced object. More...
 

Detailed Description

template<typename T>
class argos::CAny::CReference< T >

Actual templetized reference to object.

Definition at line 107 of file any.h.

Constructor & Destructor Documentation

◆ CReference()

template<typename T >
argos::CAny::CReference< T >::CReference ( const T &  t_object)
inline

Definition at line 109 of file any.h.

◆ ~CReference()

template<typename T >
virtual argos::CAny::CReference< T >::~CReference ( )
inlinevirtual

Destructor.

Definition at line 113 of file any.h.

Member Function Documentation

◆ Clone()

template<typename T >
virtual CAbstractReference* argos::CAny::CReference< T >::Clone ( ) const
inlinevirtual

Clone the reference.

Implements argos::CAny::CAbstractReference.

Definition at line 123 of file any.h.

◆ GetType()

template<typename T >
virtual const std::type_info& argos::CAny::CReference< T >::GetType ( ) const
inlinevirtual
Returns
The type info on the referenced object

Implements argos::CAny::CAbstractReference.

Definition at line 117 of file any.h.

Member Data Documentation

◆ m_tObject

template<typename T >
T argos::CAny::CReference< T >::m_tObject

Actual referenced object.

Definition at line 131 of file any.h.