Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JDAQPrint.hh
Go to the documentation of this file.
1#ifndef __JDAQPRINT__
2#define __JDAQPRINT__
3
4/**
5 * \author mdejong
6 */
7
8namespace KM3NETDAQ {
9
10 /**
11 * Get DAQ print option.
12 *
13 * \return print option
14 */
15 inline bool& getDAQLongprint()
16 {
17 static bool option;
18
19 return option;
20 }
21
22
23 /**
24 * Set DAQ print option.
25 *
26 * \param option print option
27 */
28 inline void setDAQLongprint(const bool option)
29 {
30 getDAQLongprint() = option;
31 }
32}
33
34#endif
KM3NeT DAQ data structures and auxiliaries.
Definition DataQueue.cc:39
void setDAQLongprint(const bool option)
Set DAQ print option.
Definition JDAQPrint.hh:28
bool & getDAQLongprint()
Get DAQ print option.
Definition JDAQPrint.hh:15