#include <model.h>
Public Member Functions | |
Model (Machine *parent) | |
virtual | ~Model () |
Machine * | getParent () |
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 |
Machine * | parent |
Model::Model | ( | Machine * | parent | ) |
Model::~Model | ( | ) | [virtual] |
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.
cl_kernel Model::kernel [protected] |
Machine* Model::parent [protected] |