yasmine
history.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 HISTORY_8019EFCB_44B8_4B81_A578_46C97A9B4E81
13 #define HISTORY_8019EFCB_44B8_4B81_A578_46C97A9B4E81
14 
15 
16 #include "state_pseudostate.hpp"
17 
18 
19 namespace sxy
20 {
21 
22 
23 class history:
24  public virtual state_pseudostate
25 {
26 public:
28  {
29  // Nothing to do...
30  }
31 
32 
33  virtual ~history() SX_NOEXCEPT SX_OVERRIDE
34  {
35  // Nothing to do...
36  }
37 
38 
39  SX_NO_COPY(history)
40  virtual raw_transitions get_default_transitions() const = 0;
41  virtual void add_default_transition( transition& _default_transition ) = 0;
42  virtual bool check_if_state_was_active_before() const = 0;
43 };
44 
45 
46 }
47 
48 
49 #endif
Definition: history.hpp:23
virtual bool check_if_state_was_active_before() const =0
virtual raw_transitions get_default_transitions() const =0
virtual ~history() SX_NOEXCEPT SX_OVERRIDE
Definition: history.hpp:33
Definition: state_pseudostate.hpp:24
Definition: adapter_cpp11.hpp:21
std::vector< transition *> raw_transitions
Definition: transition_fwd.hpp:30
virtual void add_default_transition(transition &_default_transition)=0
Definition: transition.hpp:34
history()
Definition: history.hpp:27