mial::Ctrl_ScheduleDriven< Type, nDims > Class Template Reference

ControlCenter that reads the schedule and peforms the listed behaviors sequentially. More...

#include <Ctrl_ScheduleDriven.h>

Inheritance diagram for mial::Ctrl_ScheduleDriven< Type, nDims >:

mial::ControlCenter< Type, nDims > List of all members.

Public Types

typedef Ctrl_ScheduleDriven Self
typedef itk::SmartPointer<
Self
Pointer
typedef itk::SmartPointer<
const Self
ConstPointer
typedef itk::WeakPointer<
const Self
ConstWeakPointer

Public Member Functions

virtual bool decideNextBehavior ()
 Decide the next behavior by reading the next line of the schedule file.
virtual bool setSchedule (std::string n)
 Set the schedule to be used.

Public Attributes

std::stringstream behaviorToRunStream
 This class runs everything via streams.

Protected Member Functions

 Ctrl_ScheduleDriven ()
 Default constructor.

Detailed Description

template<class Type, int nDims>
class mial::Ctrl_ScheduleDriven< Type, nDims >

ControlCenter that reads the schedule and peforms the listed behaviors sequentially.

A derived class of the ControlCenter ABC, it provides a schedule driven form of control wherein the deformable organisms proceeds sequentially through the actions listed in a file. One could also pipe the command prompt into the deformable organism instead and illicit direct sequential control over each behavior.

Definition at line 22 of file Ctrl_ScheduleDriven.h.


Member Function Documentation

template<class Type, int nDims>
virtual bool mial::Ctrl_ScheduleDriven< Type, nDims >::setSchedule ( std::string  n  )  [inline, virtual]

Set the schedule to be used.

Parameters:
n The name of the schedule to be used.

Definition at line 40 of file Ctrl_ScheduleDriven.h.

Referenced by DefOrgViewerAdapter::SetupOrganism(), and DefOrgViewer::SetupOrganism().


The documentation for this class was generated from the following files:
Generated on Wed Jul 19 13:05:23 2006 for IDO by  doxygen 1.4.7