yasmine
pseudostate_model_impl.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 PSEUDOSTATE_MODEL_IMPL_5B405971_4677_4872_9BD7_1AC88418E022
12 #define PSEUDOSTATE_MODEL_IMPL_5B405971_4677_4872_9BD7_1AC88418E022
13 
14 
15 #include "pseudostate_model.hpp"
17 
18 
19 namespace sxy
20 {
21 
22 
23 namespace model
24 {
25 
26 
31 {
32 
33 
34 public:
38  pseudostate_model_impl( const std::string& _name, const model_element_type& _type );
39  virtual ~pseudostate_model_impl() SX_NOEXCEPT SX_OVERRIDE;
40  SX_NO_COPY( pseudostate_model_impl )
42  virtual raw_const_transition_models get_incoming_transitions() const SX_OVERRIDE;
44  virtual void add_incoming_transition( transition_models _incoming_transition ) SX_OVERRIDE;
46  virtual raw_const_transition_models get_outgoing_transitions() const SX_OVERRIDE;
48  virtual void add_outgoing_transition( transition_models _outgoing_transition ) SX_OVERRIDE;
49 
50 
51 private:
52  transition_models incoming_transitions_;
53  transition_models outgoing_transitions_;
54 
55 
56 };
57 
58 
59 }
60 
61 
62 }
63 
64 
65 #endif
model_element_type
Definition: model_element_type.hpp:29
virtual void add_outgoing_transition(transition_models _outgoing_transition) SX_OVERRIDE
Add a outgoing transition to the list of the outgoing transitions of the pseudostate.
Definition: pseudostate_model_impl.cpp:65
std::vector< const transition_model * > raw_const_transition_models
Definition: transition_model_fwd.hpp:33
virtual raw_const_transition_models get_outgoing_transitions() const SX_OVERRIDE
Get the list of the outgoing transitions of the pseudostate.
Definition: pseudostate_model_impl.cpp:54
Definition: algorithm_parameters.hpp:16
virtual raw_const_transition_models get_incoming_transitions() const SX_OVERRIDE
Get the list of the incoming transitions of the pseudostate.
Definition: pseudostate_model_impl.cpp:37
pseudostate_model_impl(const std::string &_name, const model_element_type &_type)
Constructor.
Definition: pseudostate_model_impl.cpp:24
A pseudostate in the model.
Definition: pseudostate_model_impl.hpp:29
virtual void add_incoming_transition(transition_models _incoming_transition) SX_OVERRIDE
Add an incoming transition to the list of the incoming transitions of the pseudostate.
Definition: pseudostate_model_impl.cpp:48
std::vector< transition_model_uptr > transition_models
Definition: transition_model_fwd.hpp:32
An element of the state machine in the model.
Definition: state_machine_element_model_impl.hpp:30
Interface for a pseudostate in the model.
Definition: pseudostate_model.hpp:33
virtual ~pseudostate_model_impl() SX_NOEXCEPT SX_OVERRIDE
Definition: pseudostate_model_impl.cpp:31