SMACC
Loading...
Searching...
No Matches
sr_all_events_go.h
Go to the documentation of this file.
1#pragma once
2#include <smacc/common.h>
4#include <map>
5#include <typeinfo>
6#include <boost/statechart/event.hpp>
7
8namespace smacc
9{
10
11namespace state_reactors
12{
13template <typename TSource, typename TObjectTag = EmptyObjectTag>
14struct EvAllGo : sc::event<EvAllGo<TSource, TObjectTag>>
15{
16};
17
19{
20 std::map<const std::type_info *, bool> triggeredEvents;
21
22public:
24 {
25 }
26
27 virtual void onInitialized() override;
28 virtual void onEventNotified(const std::type_info *eventType) override;
29 virtual bool triggers() override;
30};
31} // namespace state_reactors
32} // namespace smacc
std::map< const std::type_info *, bool > triggeredEvents
virtual void onEventNotified(const std::type_info *eventType) override