RTC Toolkit  2.0.0
stdBizLogicIf.hpp
Go to the documentation of this file.
1 
12 #ifndef RTCTK_COMPONENTFRAMEWORK_STDBIZLOGICIF_HPP
13 #define RTCTK_COMPONENTFRAMEWORK_STDBIZLOGICIF_HPP
14 
16 
17 namespace rtctk::componentFramework {
18 
19 // When implementing the BizLogicIf in the application the virtual functions must be
20 // implemented according to the selection of options.
21 
22 class IStarting {
23 public:
24  virtual ~IStarting() = default;
25  virtual void ActivityStarting(StopToken st){};
26 };
27 
29 public:
30  virtual ~IInitialising() = default;
32 };
33 
34 class IEnabling {
35 public:
36  virtual ~IEnabling() = default;
37  virtual void ActivityEnabling(StopToken){};
38 };
39 
40 class IDisabling {
41 public:
42  virtual ~IDisabling() = default;
43  virtual void ActivityDisabling(StopToken){};
44 };
45 
46 } // namespace rtctk::componentFramework
47 
48 #endif // RTCTK_COMPONENTFRAMEWORK_STDBIZLOGICIF_HPP
rtctk::componentFramework::IEnabling::~IEnabling
virtual ~IEnabling()=default
rtctk::componentFramework::IStarting::ActivityStarting
virtual void ActivityStarting(StopToken st)
Definition: stdBizLogicIf.hpp:25
rtctk::componentFramework::IInitialising::ActivityInitialising
virtual void ActivityInitialising(StopToken)
Definition: stdBizLogicIf.hpp:31
rtctk::componentFramework::IInitialising
Definition: stdBizLogicIf.hpp:28
rtctk::componentFramework::IDisabling::ActivityDisabling
virtual void ActivityDisabling(StopToken)
Definition: stdBizLogicIf.hpp:43
rtctk::componentFramework
Definition: commandReplier.cpp:20
rtctk::componentFramework::IDisabling::~IDisabling
virtual ~IDisabling()=default
rtctk::componentFramework::StopToken
rad::StopToken StopToken
Definition: stopToken.hpp:19
rtctk::componentFramework::IStarting::~IStarting
virtual ~IStarting()=default
rtctk::componentFramework::IInitialising::~IInitialising
virtual ~IInitialising()=default
stopToken.hpp
A simple Stop Token.
rtctk::componentFramework::IEnabling
Definition: stdBizLogicIf.hpp:34
rtctk::componentFramework::IEnabling::ActivityEnabling
virtual void ActivityEnabling(StopToken)
Definition: stdBizLogicIf.hpp:37
rtctk::componentFramework::IDisabling
Definition: stdBizLogicIf.hpp:40
rtctk::componentFramework::IStarting
Definition: stdBizLogicIf.hpp:22