yasmine
execution_state_do_step.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_STATE_DO_STEP_E8739F61_00B1_43BD_9E32_2DCD7B890E2C
13 #define EXECUTION_STATE_DO_STEP_E8739F61_00B1_43BD_9E32_2DCD7B890E2C
14 
15 
16 #include "essentials/non_copyable.hpp"
17 
18 #include "execution_step.hpp"
19 #include "event_fwd.hpp"
20 
21 
22 namespace sxy
23 {
24 
25 
26 class state;
27 
28 
29 class execution_state_do_step SX_FINAL :
30  public execution_step
31 {
32 public:
33  explicit execution_state_do_step(const state& _state);
34  virtual ~execution_state_do_step() SX_NOEXCEPT SX_OVERRIDE;
35  SX_NO_COPY(execution_state_do_step)
36  virtual bool execute_behavior( event_processing_callback* const _event_processing_callback,
37  const event& _event, events& _exception_events, async_event_handler* const _async_event_handler,
38  event_collector& _event_collector ) const SX_OVERRIDE;
39  virtual void accept( execution_step_visitor& _visitor ) const SX_OVERRIDE;
40  const state& get_state() const;
41 
42 
43 private:
44  const state& state_;
45 };
46 
47 
48 }
49 
50 
51 #endif
Definition: adapter_cpp11.hpp:21
std::vector< event_sptr > events
Definition: event_fwd.hpp:27