13#ifndef RTCTK_EXAMPLEDATATASK_BUSINESSLOGIC_HPP
14#define RTCTK_EXAMPLEDATATASK_BUSINESSLOGIC_HPP
55 std::unique_ptr<EventPublisherIf> m_ev_pub;
71 std::unique_ptr<Computation> m_computation;
This class provides a wrapper for a data point path.
Definition dataPointPath.hpp:74
Interface class for providing pub/sub facilities for JSON events.
Definition eventServiceIf.hpp:29
Definition rtcComponent.hpp:80
Base interface for all Runtime Configuration Repository adapters.
Definition runtimeRepoIf.hpp:27
Container class that holds services of any type.
Definition serviceContainer.hpp:39
void ActivityEnabling(StopToken st) override
void ActivityGoingIdle(StopToken st) override
void ActivityStarting(StopToken st) override
void ActivityRunning(StopToken st) override
void ActivityInitialising(StopToken st) override
void ActivityGoingRunning(StopToken st) override
void ActivityDisabling(StopToken st) override
void ActivityRecovering(StopToken st) override
void ActivityUpdating(StopToken st, const JsonPayload &args) override
BusinessLogic(const std::string &name, ServiceContainer &services)
Low-level interface of the event service.
Definition commandReplier.cpp:22
rad::StopToken StopToken
Definition stopToken.hpp:20
nlohmann::json JsonPayload
Type requirements:
Definition jsonPayload.hpp:25
elt::mal::future< std::string > InjectReqRepEvent(StateMachineEngine &engine)
Definition malEventInjector.hpp:23
Definition businessLogic.cpp:27
Runnable< RtcComponent > LifeCycle
Definition businessLogic.hpp:27
Lifecycle of a basic 'RtcComponent'.
Lifecycle Extension that makes an RTC Component 'Runnable'.
Header file for RuntimeRepoIf, which defines the API for RuntimeRepoAdapters.
Basic life cycle for RtcComponent.
Definition rtcComponent.hpp:74
Life cycle extension to make RtcComponent Runnable.
Definition runnable.hpp:31
Definition computation.hpp:43
Computation class of the example data task.