ARGoS  3
A parallel, multi-engine simulator for swarm robotics
argos::CAny::CReference< T > Class Template Reference

Actual templetized reference to object. More...

#include <any.h>

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

List of all members.

Public Member Functions

 CReference (const T &t_object)
virtual ~CReference ()
 Destructor.
virtual const std::type_info & GetType () const
virtual CAbstractReferenceClone () const
 Clone the reference.

Public Attributes

m_tObject
 Actual referenced object.

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

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

Definition at line 109 of file any.h.

template<typename T >
virtual argos::CAny::CReference< T >::~CReference ( ) [inline, virtual]

Destructor.

Definition at line 113 of file any.h.


Member Function Documentation

template<typename T >
virtual CAbstractReference* argos::CAny::CReference< T >::Clone ( ) const [inline, virtual]

Clone the reference.

Implements argos::CAny::CAbstractReference.

Definition at line 123 of file any.h.

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

Implements argos::CAny::CAbstractReference.

Definition at line 117 of file any.h.


Member Data Documentation

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

Actual referenced object.

Definition at line 131 of file any.h.


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