Robotcode  1.0
Experiment Class Reference

Abstract Root class that specifies a lot of the default behaviors of an experiment. More...

#include <Experiment.h>

Inheritance diagram for Experiment:
MyExperiment

List of all members.

Public Member Functions

 Experiment (string name, string code)
 Constructor.
virtual ~Experiment ()
 Destructor.
virtual void control (void)=0
 handle Windows events
void redirectIOToConsole ()
 Create IO console.
virtual bool parseCommand (string arguments[], int numArgs)
 Extra function for new textDisplay commands.
virtual void onExit (void)
 On exit callback.
string getCode ()
 returns experiment code

Public Attributes

string subjectName
 Name of current Subject s.
BlocktheBlock
 Pointer to current block object.
TrialtheTrial
 Pointer to current block trial.

Protected Attributes

string code
 Code.
string title
 Name.

Friends

class Block

Detailed Description

Abstract Root class that specifies a lot of the default behaviors of an experiment.

Experiment: Abstract class that implements basic experiment needs Your experiment can inherit most of these behaviors


Constructor & Destructor Documentation

Experiment::Experiment ( string  tit,
string  c 
)

Constructor.

Experiment ** Contains implemention for experiment

Experiment::~Experiment ( ) [virtual]

Destructor.

The destructor deletes the Block and all the trials in the experiment


Member Function Documentation

void Experiment::redirectIOToConsole ( )

Create IO console.

Makes the IO console for cout<< and cerr<< output


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