The IStepableObserver interface.
More...
#include <murl_logic_i_stepable_observer.h>
The IStepableObserver interface.
The stepable observer notifies objects implementing the IStepable interface.
The IProcessor object provides a ready to use stepable observer.
Inherited by Murl::Logic::StepableObserver.
◆ Add()
Add a stepable object to the observer.
Adding a stepable twice is not allowed.
- Parameters
-
stepable | The stepable object to add. |
- Returns
- true if successful.
◆ Remove()
Remove a stepable object from the observer.
- Parameters
-
stepable | The stepable object to remove. |
- Returns
- true if successful.
◆ RemoveAt()
virtual Bool Murl::Logic::IStepableObserver::RemoveAt |
( |
UInt32 |
index | ) |
|
|
pure virtual |
Remove a stepable object by index from the observer.
A valid index is [0 .. GetNumberOfStepables() - 1].
- Parameters
-
index | The zero-based index of the stepable object to remove. |
- Returns
- true if successful.
◆ GetNumberOfStepables()
virtual UInt32 Murl::Logic::IStepableObserver::GetNumberOfStepables |
( |
| ) |
const |
|
pure virtual |
Get the number of stepable objects in the observer.
- Returns
- The number of stepable objects.
◆ GetStepable()
Get a stepable object by index.
A valid index is [0 .. GetNumberOfStepables() - 1].
- Parameters
-
index | The zero-based index of the stepable object. |
- Returns
- The stepable object or 0 if index is out of range.
◆ SetEnabled()
virtual void Murl::Logic::IStepableObserver::SetEnabled |
( |
Bool |
isEnabled | ) |
|
|
pure virtual |
◆ ProcessTick()
virtual void Murl::Logic::IStepableObserver::ProcessTick |
( |
const Logic::IState * |
state | ) |
|
|
pure virtual |
◆ FinishTick()
virtual void Murl::Logic::IStepableObserver::FinishTick |
( |
const Logic::IState * |
state | ) |
|
|
pure virtual |
The documentation for this interface was generated from the following file:
- murl_logic_i_stepable_observer.h