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