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 <ifw/ccf/common/events.rad.hpp>
35 static boost::asio::io_context&
IoContext();
47 static boost::asio::io_context s_io_context;
48 static scxml4cpp::EventQueue s_external_events;
49 static scxml4cpp::Context s_state_machine_ctx;
50 static rad::SMAdapter* s_state_machine;
Class to be used as parent for CCF application type of classes.
Definition appBase.hpp:26
static bool RecordingActive()
Return true if a Recording Session is ongoing.
Definition appBase.cpp:44
~AppBase()
Definition appBase.cpp:23
static rad::SMAdapter & StateMachine()
Return reference to state machine engine.
Definition appBase.cpp:30
AppBase()
Definition appBase.cpp:19
static boost::asio::io_context & IoContext()
Return reference to Asio I/O Service instance.
Definition appBase.cpp:39