Psyllid  v1.12.4
Project 8 Data Acquisisition Software
psyllid_constants.hh
Go to the documentation of this file.
1 /*
2  * constants.hh
3  *
4  * Created on: Jan 23, 2015
5  * Author: N.S. Oblath
6  */
7 
8 #ifndef PSYLLID_CONSTANTS_HH_
9 #define PSYLLID_CONSTANTS_HH_
10 
11 #include "return_codes.hh"
12 
13 // New return codes have to be in the dripline namespace, per instructions in return_codes.hh
14 namespace dripline
15 {
16  DEFINE_DL_RET_CODE( daq_error, 1100 );
17 #undef RC_LIST
18 #define RC_LIST NEW_RC_LIST( daq_error )
19  DEFINE_DL_RET_CODE( daq_not_enabled, 1101 );
20 #undef RC_LIST
21 #define RC_LIST NEW_RC_LIST( daq_not_enabled )
22  DEFINE_DL_RET_CODE( daq_running, 1102 );
23 #undef RC_LIST
24 #define RC_LIST NEW_RC_LIST( daq_running )
25 
26 }
27 
28 #endif /* PSYLLID_CONSTANTS_HH_ */
DEFINE_DL_RET_CODE(daq_error, 1100)