yasmine
execution_step_visitor.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 EXECUTION_STEP_VISITOR_7AEFC8D8_8C36_4529_AC9E_F3A2B20622B4
13 #define EXECUTION_STEP_VISITOR_7AEFC8D8_8C36_4529_AC9E_F3A2B20622B4
14 
15 
16 #include "essentials/non_copyable.hpp"
17 
18 
19 namespace sxy
20 {
21 
22 
23 class execution_state_enter_step;
24 class execution_state_do_step;
25 class execution_state_exit_step;
26 class execution_transition_step;
27 
28 
30 {
31 public:
33  {
34  // Nothing to do...
35  }
36 
37 
38  virtual ~execution_step_visitor() SX_NOEXCEPT
39  {
40  // Nothing to do...
41  }
42 
43 
44  SX_NO_COPY(execution_step_visitor)
45  virtual void visit( const execution_state_enter_step& _execution_state_enter_step ) = 0;
46  virtual void visit( const execution_state_do_step& _execution_state_do_step ) = 0;
47  virtual void visit( const execution_state_exit_step& _execution_state_exit_step ) = 0;
48  virtual void visit( const execution_transition_step& _execution_transition_step ) = 0;
49 };
50 
51 
52 }
53 
54 
55 #endif
virtual void visit(const execution_state_enter_step &_execution_state_enter_step)=0
Definition: execution_step_visitor.hpp:29
Definition: adapter_cpp11.hpp:21
virtual ~execution_step_visitor() SX_NOEXCEPT
Definition: execution_step_visitor.hpp:38
execution_step_visitor()
Definition: execution_step_visitor.hpp:32