yasmine
final_state_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 
12 #ifndef FINAL_STATE_IMPL_05AFD9ED_2F4A_46B8_9C77_4933E67B5520
13 #define FINAL_STATE_IMPL_05AFD9ED_2F4A_46B8_9C77_4933E67B5520
14 
15 
16 #include "final_state.hpp"
17 #include "state_impl.hpp"
18 
19 
20 namespace sxy
21 {
22 
23 
24 class final_state_impl SX_FINAL:
25  public virtual final_state, public state_impl
26 {
27 public:
28  explicit final_state_impl( const std::string& _name );
29  virtual ~final_state_impl() SX_NOEXCEPT SX_OVERRIDE;
30  SX_NO_COPY(final_state_impl)
31  virtual behavior * get_entry_behavior() const SX_OVERRIDE;
32  virtual behavior * get_exit_behavior() const SX_OVERRIDE;
33  virtual const regions& get_regions() const SX_OVERRIDE;
34  virtual regions& get_regions() SX_OVERRIDE;
35  virtual bool check( state_machine_defects& _defects ) const SX_OVERRIDE;
36  virtual void accept_vertex_visitor( const_vertex_visitor& _visitor ) const SX_OVERRIDE;
37  virtual void accept_vertex_visitor( vertex_visitor& _visitor ) SX_OVERRIDE;
38  virtual void accept_state_visitor( state_visitor& _visitor ) const SX_OVERRIDE;
39  virtual bool is_event_deferred( const event_id& _event_id ) const SX_OVERRIDE;
40 };
41 
42 
43 }
44 
45 
46 #endif
std::vector< state_machine_defect > state_machine_defects
Definition: state_machine_defect_fwd.hpp:23
sxe::uint32_t event_id
The type alias for yasmine&#39;s event IDs.
Definition: event_id.hpp:26
Definition: adapter_cpp11.hpp:21
std::vector< region_uptr > regions
Definition: region_fwd.hpp:28