iCub-main
Public Member Functions | Public Attributes | List of all members
WorldObjectList Class Referenceabstract

#include <world.h>

+ Inheritance diagram for WorldObjectList:

Public Member Functions

 WorldObjectList (int len, int &counter, real3 *colors)
 
virtual WorldObjectget (int index)=0
 
virtual const WorldObjectget (int index) const =0
 
int length ()
 
virtual bool create (const WorldOp &op, WorldResult &result)
 
bool inRange (int index) const
 
void clear ()
 

Public Attributes

int len
 
int * counter
 
real3colors
 

Detailed Description

Definition at line 56 of file world.h.

Constructor & Destructor Documentation

◆ WorldObjectList()

WorldObjectList::WorldObjectList ( int  len,
int &  counter,
real3 colors 
)
inline

Definition at line 62 of file world.h.

Member Function Documentation

◆ clear()

void WorldObjectList::clear ( )
inline

Definition at line 120 of file world.h.

◆ create()

virtual bool WorldObjectList::create ( const WorldOp op,
WorldResult result 
)
inlinevirtual

Definition at line 75 of file world.h.

◆ get() [1/2]

virtual const WorldObject& WorldObjectList::get ( int  index) const
pure virtual

◆ get() [2/2]

virtual WorldObject& WorldObjectList::get ( int  index)
pure virtual

◆ inRange()

bool WorldObjectList::inRange ( int  index) const
inline

Definition at line 116 of file world.h.

◆ length()

int WorldObjectList::length ( )
inline

Definition at line 71 of file world.h.

Member Data Documentation

◆ colors

real3* WorldObjectList::colors

Definition at line 60 of file world.h.

◆ counter

int* WorldObjectList::counter

Definition at line 59 of file world.h.

◆ len

int WorldObjectList::len

Definition at line 58 of file world.h.


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