#include <Ctrl_ScheduleDriven.h>
Inheritance diagram for mial::Ctrl_ScheduleDriven< Type, nDims >:
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. |
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.
virtual bool mial::Ctrl_ScheduleDriven< Type, nDims >::setSchedule | ( | std::string | n | ) | [inline, virtual] |
Set the schedule to be used.
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().