iCub-main
Public Member Functions | Public Attributes | List of all members
WorldObjectListOf< T > Class Template Reference

#include <world.h>

+ Inheritance diagram for WorldObjectListOf< T >:

Public Member Functions

 WorldObjectListOf (T *store, int len, int &counter, real3 *colors)
 
virtual WorldObjectget (int index)
 
virtual const WorldObjectget (int index) const
 
- Public Member Functions inherited from WorldObjectList
 WorldObjectList (int len, int &counter, real3 *colors)
 
int length ()
 
virtual bool create (const WorldOp &op, WorldResult &result)
 
bool inRange (int index) const
 
void clear ()
 

Public Attributes

Tstore
 
- Public Attributes inherited from WorldObjectList
int len
 
int * counter
 
real3colors
 

Detailed Description

template<class T>
class WorldObjectListOf< T >

Definition at line 131 of file world.h.

Constructor & Destructor Documentation

◆ WorldObjectListOf()

template<class T >
WorldObjectListOf< T >::WorldObjectListOf ( T store,
int  len,
int &  counter,
real3 colors 
)
inline

Definition at line 135 of file world.h.

Member Function Documentation

◆ get() [1/2]

template<class T >
virtual WorldObject& WorldObjectListOf< T >::get ( int  index)
inlinevirtual

Implements WorldObjectList.

Definition at line 141 of file world.h.

◆ get() [2/2]

template<class T >
virtual const WorldObject& WorldObjectListOf< T >::get ( int  index) const
inlinevirtual

Implements WorldObjectList.

Definition at line 145 of file world.h.

Member Data Documentation

◆ store

template<class T >
T* WorldObjectListOf< T >::store

Definition at line 133 of file world.h.


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