yasmine
state_machine_introspection.hpp
Go to the documentation of this file.
1 // //
3 // This file is part of the Seadex yasmine ecosystem (http://yasmine.seadex.de). //
4 // Copyright (C) 2016-2017 Seadex GmbH //
5 // //
6 // Licensing information is available in the folder "license" which is part of this distribution. //
7 // The same information is available on the www @ http://yasmine.seadex.de/Licenses.html. //
8 // //
10 
11 
12 #ifndef STATE_MACHINE_INTROSPECTION_45E0820B_4D2F_4EF7_AF0D_EA840DA9F7C0
13 #define STATE_MACHINE_INTROSPECTION_45E0820B_4D2F_4EF7_AF0D_EA840DA9F7C0
14 
15 
16 #include "essentials/non_copyable.hpp"
17 
18 #include "state_fwd.hpp"
19 #include "event_fwd.hpp"
20 
21 
22 namespace sxy
23 {
24 
25 
29 {
30 public:
33  {
34  // Nothing to do...
35  }
36 
37 
38  virtual ~state_machine_introspection() SX_NOEXCEPT
39  {
40  // Nothing to do...
41  }
42 
43 
44  SX_NO_COPY(state_machine_introspection)
45 
46 
49  virtual const events& get_deferred_events() const = 0;
50 };
51 
52 
53 }
54 
55 
56 #endif
The interface for state machine introspection. It is inherited by the state machine class state_machi...
Definition: state_machine_introspection.hpp:28
state_machine_introspection()
Constructor.
Definition: state_machine_introspection.hpp:32
Definition: adapter_cpp11.hpp:21
virtual ~state_machine_introspection() SX_NOEXCEPT
Definition: state_machine_introspection.hpp:38
std::vector< const state *> raw_const_states
Definition: state_fwd.hpp:29
virtual raw_const_states get_active_state_configuration() const =0
Get the active state configuration of the state machine.
virtual const events & get_deferred_events() const =0
std::vector< event_sptr > events
Definition: event_fwd.hpp:27