Status.h
Go to the documentation of this file.
1 #ifndef _NOVADAQ_STATUS_H
2 #define _NOVADAQ_STATUS_H
3 
4 #include <string>
5 #include <stdint.h> /* uint32_t */
6 
7 namespace novadaq {
8 
9 /**
10  * A trivial class to group a status code with a status message.
11  * The idea is that an instance of this class can be returned from
12  * any function or method call to indicate success or failure
13  * BOTH with an integer and a descriptive string.
14  *
15  * @version $Revision: 1.4.16.1 $ $Date: 2019/09/27 00:07:20 $
16  */
17 
18 class Status {
19 
20  public:
21 
22  int32_t code;
23 
25 
26 };
27 
28 } // end of namespace novadaq
29 
30 #endif
int32_t code
Definition: Status.h:22
std::string message
Definition: Status.h:24
enum BeamMode string