yasmine
final_state_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 FINAL_STATE_MODEL_IMPL_D3F6C9F5_29BD_4897_B744_9F1A70DA0B8D
12 #define FINAL_STATE_MODEL_IMPL_D3F6C9F5_29BD_4897_B744_9F1A70DA0B8D
13 
14 
15 #include "final_state_model.hpp"
16 #include "state_model_impl.hpp"
17 #include "region_model_fwd.hpp"
18 
19 
20 namespace sxy
21 {
22 
23 
24 namespace model
25 {
26 
27 
30 class final_state_model_impl SX_FINAL:
31  public virtual final_state_model, public state_model_impl
32 {
33 
34 
35 public:
38  explicit final_state_model_impl( const std::string& _name );
39  virtual ~final_state_model_impl() SX_NOEXCEPT SX_OVERRIDE;
40  SX_NO_COPY( final_state_model_impl )
41  virtual const raw_const_region_models get_regions() const SX_OVERRIDE;
42  virtual const std::string& get_enter_behavior() const SX_OVERRIDE;
43  virtual void set_enter_behavior( const std::string& _enter_behavior ) SX_OVERRIDE;
44  virtual const std::string& get_do_behavior() const SX_OVERRIDE;
45  virtual void set_do_behavior( const std::string& _do_behavior ) SX_OVERRIDE;
46  virtual const std::string& get_exit_behavior() const SX_OVERRIDE;
47  virtual void set_exit_behavior( const std::string& _exit_behavior ) SX_OVERRIDE;
48  virtual void accept( model_vertex_visitor& _constructor_visitor ) const SX_OVERRIDE;
49 
50 
51 private:
52  const std::string no_behavior_;
53 };
54 
55 
56 }
57 
58 
59 }
60 
61 
62 #endif
std::vector< const region_model * > raw_const_region_models
Definition: region_model_fwd.hpp:35
A final state in the model.
Definition: algorithm_parameters.hpp:16