GameOfLifeInput Class Reference

Inheritance diagram for GameOfLifeInput:
Inheritance graph
[legend]
Collaboration diagram for GameOfLifeInput:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 GameOfLifeInput (OptionManager &mgr)
 Constructor.
virtual ~GameOfLifeInput ()
 Virtual destructor.
virtual void setConfigInfo (const std::string &dimsstring)
 Override from FrameIstream; just calls setDims().
virtual GenericFrameSpec peekFrameSpec ()
 Peek at the specifications of the next frame to be read.
virtual GenericFrame readFrame ()
 Generate a random color image.
void setDims (const Dims &s)
 Specify the dimensions of the random images.
void setSeed (int s)
 Set the seed for our random-number generator.

Detailed Description

Definition at line 48 of file GameOfLifeInput.H.


Constructor & Destructor Documentation

GameOfLifeInput::GameOfLifeInput ( OptionManager mgr  ) 

Constructor.

Definition at line 129 of file GameOfLifeInput.C.

GameOfLifeInput::~GameOfLifeInput (  )  [virtual]

Virtual destructor.

Definition at line 145 of file GameOfLifeInput.C.


Member Function Documentation

GenericFrameSpec GameOfLifeInput::peekFrameSpec (  )  [virtual]

Peek at the specifications of the next frame to be read.

Implements FrameIstream.

Definition at line 163 of file GameOfLifeInput.C.

References GenericFrame::RGB_U8.

GenericFrame GameOfLifeInput::readFrame (  )  [virtual]
void GameOfLifeInput::setConfigInfo ( const std::string dimsstring  )  [virtual]

Override from FrameIstream; just calls setDims().

Reimplemented from FrameIstream.

Definition at line 149 of file GameOfLifeInput.C.

References convertFromString(), and setDims().

void GameOfLifeInput::setDims ( const Dims s  ) 

Specify the dimensions of the random images.

Definition at line 294 of file GameOfLifeInput.C.

Referenced by setConfigInfo().

void GameOfLifeInput::setSeed ( int  s  ) 

Set the seed for our random-number generator.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:21 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3