RTC Toolkit  0.1.0-alpha
exampleBusinessLogic.hpp
Go to the documentation of this file.
1 
9 #ifndef RTCTK_EXAMPLECOMPONENT_EXAMPLEBUSINESSLOGIC_HPP
10 #define RTCTK_EXAMPLECOMPONENT_EXAMPLEBUSINESSLOGIC_HPP
11 
14 
15 namespace rtctk::exampleComponent {
16 
18  {
19  public:
20  ExampleBusinessLogic(const std::string& name, rtctk::componentFramework::ServiceContainer& services);
21  virtual ~ExampleBusinessLogic() = default;
22 
23  // activities
33 
34  // guards
36  };
37 
38 } // closing namespace
39 
40 #endif // RTCTK_EXAMPLECOMPONENT_EXAMPLEBUSINESSLOGIC_HPP
serviceContainer.hpp
A container that can hold any type of service.
runnableStateMachineLogic.hpp
Empty implementation for the RunnableStateMachineLogicIf.
rtctk::exampleComponent::ExampleBusinessLogic::IsUpdatingAllowed
bool IsUpdatingAllowed(rtctk::componentFramework::Payload args) override
Definition: exampleBusinessLogic.cpp:81
rtctk::exampleComponent::ExampleBusinessLogic::~ExampleBusinessLogic
virtual ~ExampleBusinessLogic()=default
rtctk::exampleComponent::ExampleBusinessLogic::Disabling
void Disabling(rtctk::componentFramework::StopToken st) override
Definition: exampleBusinessLogic.cpp:45
rtctk::exampleComponent::ExampleBusinessLogic::Starting
void Starting(rtctk::componentFramework::StopToken st) override
Definition: exampleBusinessLogic.cpp:27
rtctk::exampleComponent
Definition: exampleBusinessLogic.cpp:12
rtctk::exampleComponent::ExampleBusinessLogic::GoingIdle
void GoingIdle(rtctk::componentFramework::StopToken st) override
Definition: exampleBusinessLogic.cpp:55
rtctk::exampleComponent::ExampleBusinessLogic::GoingRunning
void GoingRunning(rtctk::componentFramework::StopToken st) override
Definition: exampleBusinessLogic.cpp:50
rtctk::componentFramework::StopToken
rad::StopToken StopToken
Definition: stopToken.hpp:16
rtctk::exampleComponent::ExampleBusinessLogic::Recovering
void Recovering(rtctk::componentFramework::StopToken st) override
Definition: exampleBusinessLogic.cpp:70
rtctk::componentFramework::Payload
std::string Payload
Definition: runnableStateMachineLogicIf.hpp:17
rtctk::componentFramework::ServiceContainer
Definition: serviceContainer.hpp:31
rtctk::exampleComponent::ExampleBusinessLogic::Initialising
void Initialising(rtctk::componentFramework::StopToken st) override
Definition: exampleBusinessLogic.cpp:32
rtctk::exampleComponent::ExampleBusinessLogic::Updating
void Updating(rtctk::componentFramework::StopToken st, rtctk::componentFramework::Payload args) override
Definition: exampleBusinessLogic.cpp:75
rtctk::exampleComponent::ExampleBusinessLogic::ExampleBusinessLogic
ExampleBusinessLogic(const std::string &name, rtctk::componentFramework::ServiceContainer &services)
Definition: exampleBusinessLogic.cpp:14
rtctk::exampleComponent::ExampleBusinessLogic::Enabling
void Enabling(rtctk::componentFramework::StopToken st) override
Definition: exampleBusinessLogic.cpp:40
rtctk::componentFramework::RunnableStateMachineLogic
Definition: runnableStateMachineLogic.hpp:28
rtctk::exampleComponent::ExampleBusinessLogic
Definition: exampleBusinessLogic.hpp:18
rtctk::exampleComponent::ExampleBusinessLogic::Running
void Running(rtctk::componentFramework::StopToken st) override
Definition: exampleBusinessLogic.cpp:60