yasmine
async_event_handler.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 ASYNC_EVENT_HANDLER_314E2E70_50A4_442B_BE7C_E7F3FC77D71E
13 #define ASYNC_EVENT_HANDLER_314E2E70_50A4_442B_BE7C_E7F3FC77D71E
14 
15 #include "event_fwd.hpp"
16 
17 
18 namespace sxy
19 {
20 
21 
23 {
24 
25 
26 public:
28  {
29  // Nothing to do...
30  }
31 
32 
33  virtual ~async_event_handler() SX_NOEXCEPT
34  {
35  // Nothing to do...
36  }
37 
38 
39  SX_NO_COPY(async_event_handler)
40  virtual void on_event( const event_sptr& _event ) = 0;
41 
42 
43 };
44 
45 
46 }
47 
48 
49 #endif
virtual void on_event(const event_sptr &_event)=0
Definition: async_event_handler.hpp:22
Definition: adapter_cpp11.hpp:21
sxe::shared_ptr< event > event_sptr
Definition: event_fwd.hpp:25
async_event_handler()
Definition: async_event_handler.hpp:27
virtual ~async_event_handler() SX_NOEXCEPT
Definition: async_event_handler.hpp:33