Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ValueGenContainer Class Reference

Generic bag of ValueGenerators. More...

#include <vgen.h>

Inheritance diagram for ValueGenContainer

Inheritance graph

[legend]
Collaboration diagram for ValueGenContainer:

Collaboration graph

[legend]
List of all members.

Public Methods

virtual ~ValueGenContainer ()
virtual void reset ()
 Reset to the starting state. More...

virtual bool next ()
 Advance to the next state (whatever that means for this object). More...

virtual void push_back (ValueGen* v)
 The given ValueGen must have been allocated using new; the container is responsible for eventually deleting it. More...


Protected Attributes

std::vector< ValueGen* > c
 The underlying container. More...


Detailed Description

Generic bag of ValueGenerators.

Definition at line 45 of file vgen.h.


Constructor & Destructor Documentation

ValueGenContainer::~ValueGenContainer ( ) [inline, virtual]
 

Definition at line 47 of file vgen.h.


Member Function Documentation

bool ValueGenContainer::next ( void ) [inline, virtual]
 

Advance to the next state (whatever that means for this object).

Reimplemented from ValueGen.

Definition at line 52 of file vgen.h.

Referenced by Eyes::next().

void ValueGenContainer::push_back ( ValueGen * v ) [inline, virtual]
 

The given ValueGen must have been allocated using new; the container is responsible for eventually deleting it.

Definition at line 57 of file vgen.h.

Referenced by NamedValueGenerators::create().

void ValueGenContainer::reset ( ) [inline, virtual]
 

Reset to the starting state.

Reimplemented from ValueGen.

Definition at line 49 of file vgen.h.

Referenced by Eyes::reset().


Member Data Documentation

std::vector< ValueGen * > ValueGenContainer::c [protected]
 

The underlying container.

Definition at line 61 of file vgen.h.


The documentation for this class was generated from the following file:
Generated at Mon Aug 21 00:31:27 2000 for RF-LISSOM by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000