yasmine
transition_model.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 #ifndef TRANSITION_MODEL_6ACABA37_E084_4091_8DAE_51878E9A3D54
12 #define TRANSITION_MODEL_6ACABA37_E084_4091_8DAE_51878E9A3D54
13 
14 
16 #include "transition_model_fwd.hpp"
18 #include "event_model.hpp"
19 
20 
21 namespace sxy
22 {
23 
24 
25 namespace model
26 {
27 
28 
32 {
33 public:
35  {
36  // Nothing to do...
37  }
38 
39 
40  virtual ~transition_model() SX_NOEXCEPT
41  {
42  // Nothing to do...
43  }
44 
45 
46  SX_NO_COPY( transition_model )
47  virtual transition_model_kind get_kind() const = 0;
48  virtual const std::string& get_behavior() const = 0;
49  virtual const std::string& get_guard() const = 0;
50  virtual const sxe::uri& get_source() const = 0;
51  virtual const sxe::uri& get_target() const = 0;
52  virtual const event_ids& get_event_ids() const = 0;
53 };
54 
55 
56 }
57 
58 
59 }
60 
61 
62 #endif
virtual const std::string & get_behavior() const =0
Interface for an element in the state machine model.
Definition: state_machine_element_model.hpp:36
virtual ~transition_model() SX_NOEXCEPT
Definition: transition_model.hpp:40
virtual const event_ids & get_event_ids() const =0
transition_model()
Definition: transition_model.hpp:34
std::vector< event_id > event_ids
The type alias for yasmine model&#39;s event ID list.
Definition: event_model_id.hpp:35
Definition: algorithm_parameters.hpp:16
virtual const std::string & get_guard() const =0
virtual transition_model_kind get_kind() const =0
transition_model_kind
Definition: transition_model_kind.hpp:30
virtual const sxe::uri & get_target() const =0
virtual const sxe::uri & get_source() const =0
Interface for a transition in the model.
Definition: transition_model.hpp:31