Generic implementation of the Input in a State Machine model. More...
#include <igstkStateMachineInput.h>
Public Types | |
typedef StateMachineInput | Self |
typedef Token | Superclass |
Public Member Functions | |
StateMachineInput () | |
Constructor. | |
virtual | ~StateMachineInput () |
Destructor. | |
Protected Member Functions | |
virtual void | PrintSelf (std::ostream &os, itk::Indent indent) const |
Print the object information in a stream. |
Generic implementation of the Input in a State Machine model.
This class provides a generic representation of a Input. It is intended to be derived in order to implement specific states an to enforce the following characteristics on the behavior of the State Machine:
These characteristics are enforced by taking advantage of natural checks performed by the compiler. In particular, the uniqueness of the Input name will be enforced by making every state to be an C++ variable. The compiler will produce errors as a result of any attempt to repeat the name of a variable inside the same namespace.
Definition at line 51 of file igstkStateMachineInput.h.
typedef StateMachineInput igstk::StateMachineInput< T >::Self |
Definition at line 56 of file igstkStateMachineInput.h.
typedef Token igstk::StateMachineInput< T >::Superclass |
Definition at line 57 of file igstkStateMachineInput.h.
igstk::StateMachineInput< T >::StateMachineInput | ( | ) | [inline] |
Constructor.
It initializes all the member variables
Definition at line 60 of file igstkStateMachineInput.h.
virtual igstk::StateMachineInput< T >::~StateMachineInput | ( | ) | [inline, virtual] |
Destructor.
Definition at line 63 of file igstkStateMachineInput.h.
virtual void igstk::StateMachineInput< T >::PrintSelf | ( | std::ostream & | os, | |
itk::Indent | indent | |||
) | const [inline, protected, virtual] |
Print the object information in a stream.
Definition at line 68 of file igstkStateMachineInput.h.