]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/MUON/src/DDL/L2SignalSender.hpp
Renaming file to fall inline with coding conventions.
[u/mrichter/AliRoot.git] / HLT / MUON / src / DDL / L2SignalSender.hpp
1 ////////////////////////////////////////////////////////////////////////////////
2 //
3 // Author: Artur Szostak
4 // Email:  artur@alice.phy.uct.ac.za | artursz@iafrica.com
5 //
6 ////////////////////////////////////////////////////////////////////////////////
7
8 #ifndef dHLT_DDL_L2_SIGNAL_SENDER_HPP
9 #define dHLT_DDL_L2_SIGNAL_SENDER_HPP
10
11 #include "BCMP/Sender.hpp"
12 #include "EventID.hpp"
13
14 namespace dHLT
15 {
16 namespace DDL
17 {
18
19
20 class L2SignalSender : public BCMP::EventHandler
21 {
22 public:
23
24         L2SignalSender(const UShort port = 4900);
25         virtual ~L2SignalSender();
26
27         void Terminate() { terminate = true; };
28         
29         void SignalL2(const EventID eventid);
30         
31         void Run();
32         
33 private:
34
35         bool terminate;
36         BCMP::Sender sender;
37 };
38
39
40 }; // DDL
41 }; // dHLT
42
43 #endif // dHLT_DDL_L2_SIGNAL_SENDER_HPP
44