DebugEvent.hh
Go to the documentation of this file.
1 //
2 // Copyright (c) 2020 Fraunhofer Institute for Applied Information Technology (FIT)
3 // Network Research Group (NET)
4 // Schloss Birlinghoven, 53754 Sankt Augustin, GERMANY
5 // Contact: support@wiback.org
6 //
7 // This file is part of the SENF code tree.
8 // It is licensed under the 3-clause BSD License (aka New BSD License).
9 // See LICENSE.txt in the top level directory for details or visit
10 // https://opensource.org/licenses/BSD-3-Clause
11 //
12 
13 
17 #ifndef HH_SENF_PPI_DebugEvent_
18 #define HH_SENF_PPI_DebugEvent_ 1
19 
20 // Custom includes
21 #include "Events.hh"
22 
23 //#include "DebugEvent.mpp"
24 //-/////////////////////////////////////////////////////////////////////////////////////////////////
25 
26 namespace senf {
27 namespace ppi {
28 
34  class DebugEvent
35  : public EventImplementation<>
36  {
37  public:
38  //-////////////////////////////////////////////////////////////////////////
39  // Types
40 
41  //-////////////////////////////////////////////////////////////////////////
43  //\{
44 
45  // default default constructor
46  // default copy constructor
47  // default copy assignment
48  // default destructor
49  // no conversion constructors
50 
51  //\}
52  //-////////////////////////////////////////////////////////////////////////
53 
54  void trigger();
55 
56  protected:
57 
58  private:
59  virtual void v_enable();
60  virtual void v_disable();
61  };
62 
63 }}
64 
65 //-/////////////////////////////////////////////////////////////////////////////////////////////////
66 #include "DebugEvent.cci"
67 //#include "DebugEvent.ct"
68 //#include "DebugEvent.cti"
69 #endif
70 
71 
72 // Local Variables:
73 // mode: c++
74 // fill-column: 100
75 // comment-column: 40
76 // c-file-style: "senf"
77 // indent-tabs-mode: nil
78 // ispell-local-dictionary: "american"
79 // compile-command: "scons -u test"
80 // End:
void trigger()
Trigger event.
Event implementation base class.
Definition: Events.hh:169
Events public header.
Manually triggered event.
Definition: DebugEvent.hh:34