5 #ifndef CCF_COMMON_APP_BASE_HPP_
6 #define CCF_COMMON_APP_BASE_HPP_
10 #include <rad/mal/replier.hpp>
12 #include <scxml4cpp/Context.h>
13 #include <scxml4cpp/EventQueue.h>
14 #include <rad/smAdapter.hpp>
18 #include <ccf/common/events.rad.hpp>
34 static boost::asio::io_context&
IoContext();
46 static boost::asio::io_context s_io_context;
47 static scxml4cpp::EventQueue s_external_events;
48 static scxml4cpp::Context s_state_machine_ctx;
49 static rad::SMAdapter* s_state_machine;
Class to be used as parent for CCF application type of classes.
Definition: appBase.hpp:25
AppBase()
Definition: appBase.cpp:18
static bool RecordingActive()
Return true if a Recording Session is ongoing.
Definition: appBase.cpp:43
~AppBase()
Definition: appBase.cpp:22
static boost::asio::io_context & IoContext()
Return reference to Asio I/O Service instance.
Definition: appBase.cpp:38
static rad::SMAdapter & StateMachine()
Return reference to state machine engine.
Definition: appBase.cpp:29
Definition: appBase.cpp:8