Model Class Reference

#include <model.h>

Inheritance diagram for Model:

SynchronousModel

List of all members.

Public Member Functions

 Model (Machine *parent)
virtual ~Model ()
MachinegetParent ()
void addChild (CellSpace *child)
void removeChild (CellSpace *child)
cl_kernel getKernel (CellSpace *pattern)
virtual void run (CellSpace *pattern, int which, int iteration=1)=0
virtual int getCellSize ()=0
virtual void loadSource ()=0

Protected Member Functions

cl_int build (string source, string options)

Protected Attributes

cl_kernel kernel
Machineparent


Constructor & Destructor Documentation

Model::Model ( Machine parent  ) 

Model::~Model (  )  [virtual]


Member Function Documentation

void Model::addChild ( CellSpace child  ) 

cl_int Model::build ( string  source,
string  options 
) [protected]

virtual int Model::getCellSize (  )  [pure virtual]

Implemented in SynchronousModel.

cl_kernel Model::getKernel ( CellSpace pattern  ) 

Machine* Model::getParent (  )  [inline]

virtual void Model::loadSource (  )  [pure virtual]

Implemented in SynchronousModel.

void Model::removeChild ( CellSpace child  ) 

virtual void Model::run ( CellSpace pattern,
int  which,
int  iteration = 1 
) [pure virtual]

Implemented in SynchronousModel.


Member Data Documentation

cl_kernel Model::kernel [protected]

Machine* Model::parent [protected]


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

Generated on Thu Mar 4 18:17:45 2010 for Cellula by  doxygen 1.5.8