|
RTC Toolkit
0.1.0-alpha
|
#include <exampleBusinessLogic.hpp>
Additional Inherited Members | |
Protected Attributes inherited from rtctk::componentFramework::RunnableStateMachineLogic | |
| const std::string & | m_name |
| ServiceContainer & | m_services |
| rtctk::exampleComponent::ExampleBusinessLogic::ExampleBusinessLogic | ( | const std::string & | name, |
| rtctk::componentFramework::ServiceContainer & | services | ||
| ) |
|
virtualdefault |
|
overridevirtual |
Activity On::Operational::Disabling
Activity method to to back to NotOperational, e.g. stop threads, etc.
| st | StopToken, to get notified when the activity is supposed to terminate |
Implements rtctk::componentFramework::RunnableStateMachineLogicIf.
|
overridevirtual |
Activity On::NotOperational::Enabling
Activity method to prepare the component for operation, e.g. start threads, etc.
| st | StopToken, to get notified when the activity is supposed to terminate |
Implements rtctk::componentFramework::RunnableStateMachineLogicIf.
|
overridevirtual |
Activity On::Operational::GoingIdle
Activity method to leave state running, e.g. turn off receivers, etc.
| st | StopToken, to get notified when the activity is supposed to terminate |
Implements rtctk::componentFramework::RunnableStateMachineLogicIf.
|
overridevirtual |
Activity On::Operational::GoingRunning
Activity method to prepare to run, e.g. start receiving data, etc.
| st | StopToken, to get notified when the activity is supposed to terminate |
Implements rtctk::componentFramework::RunnableStateMachineLogicIf.
|
overridevirtual |
Activity On::NotOperational::Initialising
Activity method to initialise the component, e.g. construct members, etc.
| st | StopToken, to get notified when the activity is supposed to terminate |
Implements rtctk::componentFramework::RunnableStateMachineLogicIf.
|
overridevirtual |
Guard IsUpdatingAllowed
Guard method to further constrain whether an Update command is allowed to cause an Updating activity or not. Simply set the return value to configure as needed.
| args | Payload, to be able to receive information on what to update |
Implements rtctk::componentFramework::RunnableStateMachineLogicIf.
|
overridevirtual |
Activity Operational::Recovering
Activity method to recover from error in On::Operational::Error, after successful recovery the state machine will transition to state On::Operational::Idle
| st | StopToken, to get notified when the activity is supposed to terminate |
Implements rtctk::componentFramework::RunnableStateMachineLogicIf.
|
overridevirtual |
Activity On::Operational::Running
Activity method for state running, e.g. receive, compute, send
| st | StopToken, to get notified when the activity is supposed to terminate |
Implements rtctk::componentFramework::RunnableStateMachineLogicIf.
|
overridevirtual |
Activity On::NotOperational::Starting
Activity method to perfrom setup work after start and reset of component.
| st | StopToken, to get notified when the activity is supposed to terminate |
Implements rtctk::componentFramework::RunnableStateMachineLogicIf.
|
overridevirtual |
Activity Operational::Updating
Activity method to update dynamic component configuration. On default updates are only allowed ins states. On::Operational::Idle and On::Operational::Running.
| st | StopToken, to get notified when the activity is supposed to terminate |
| args | Payload, to be able to receive information on what to update |
Implements rtctk::componentFramework::RunnableStateMachineLogicIf.