Go to the documentation of this file. 1 #ifndef BOOST_STATECHART_EVENT_PROCESSOR_INCLUDED
2 #define BOOST_STATECHART_EVENT_PROCESSOR_INCLUDED
23 template<
class Scheduler >
49 process_event_impl( evt );
59 typedef const typename Scheduler::processor_context &
my_context;
69 virtual void initiate_impl() = 0;
70 virtual void process_event_impl(
const event_base & evt ) = 0;
71 virtual void terminate_impl() = 0;
76 Scheduler & myScheduler_;
void terminate()
Definition: event_processor.hpp:52
Definition: event_processor.hpp:25
processor_handle my_handle() const
Definition: event_processor.hpp:37
Scheduler::processor_handle processor_handle
Definition: event_processor.hpp:35
Definition: asynchronous_state_machine.hpp:20
virtual ~event_processor()
Definition: event_processor.hpp:28
void initiate()
Definition: event_processor.hpp:42
void process_event(const event_base &evt)
Definition: event_processor.hpp:47
Definition: event_base.hpp:51
const Scheduler::processor_context & my_context
Definition: event_processor.hpp:59
event_processor(my_context ctx)
Definition: event_processor.hpp:61
Scheduler & my_scheduler() const
Definition: event_processor.hpp:30