gdata
Loading...
Searching...
No Matches
gdataConventions.h File Reference

Defines constants and exit codes for the GData library. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

constexpr int ERR_GSDETECTORNOTFOUND = 601
 Exit code when a detector is not found.
 
constexpr int ERR_VARIABLENOTFOUND = 602
 Exit code when a variable is not found.
 
constexpr int ERR_WRONGPAYLOAD = 603
 Exit code when a payload is of the wrong size.
 
constexpr const char * CRATESTRINGID = "crate"
 Identifier for crate.
 
constexpr const char * SLOTSTRINGID = "slot"
 Identifier for slot.
 
constexpr const char * CHANNELSTRINGID = "channel"
 Identifier for channel.
 
constexpr const char * CHARGEATELECTRONICS = "chargeAtElectronics"
 Identifier for charge at electronics.
 
constexpr const char * TIMEATELECTRONICS = "timeAtElectronics"
 Identifier for time at electronics.
 
constexpr int TIMEATELECTRONICSNOTDEFINED = -123456
 Default value for undefined time at electronics.
 

Detailed Description

This file contains global constants used throughout the GData library, including exit codes and identifier strings.

Definition in file gdataConventions.h.

Variable Documentation

◆ CHANNELSTRINGID

constexpr const char* CHANNELSTRINGID = "channel"
constexpr

Definition at line 27 of file gdataConventions.h.

◆ CHARGEATELECTRONICS

constexpr const char* CHARGEATELECTRONICS = "chargeAtElectronics"
constexpr

Definition at line 28 of file gdataConventions.h.

◆ CRATESTRINGID

constexpr const char* CRATESTRINGID = "crate"
constexpr

Definition at line 25 of file gdataConventions.h.

◆ ERR_GSDETECTORNOTFOUND

constexpr int ERR_GSDETECTORNOTFOUND = 601
constexpr

Definition at line 21 of file gdataConventions.h.

◆ ERR_VARIABLENOTFOUND

constexpr int ERR_VARIABLENOTFOUND = 602
constexpr

Definition at line 22 of file gdataConventions.h.

◆ ERR_WRONGPAYLOAD

constexpr int ERR_WRONGPAYLOAD = 603
constexpr

Definition at line 23 of file gdataConventions.h.

◆ SLOTSTRINGID

constexpr const char* SLOTSTRINGID = "slot"
constexpr

Definition at line 26 of file gdataConventions.h.

◆ TIMEATELECTRONICS

constexpr const char* TIMEATELECTRONICS = "timeAtElectronics"
constexpr

Definition at line 29 of file gdataConventions.h.

◆ TIMEATELECTRONICSNOTDEFINED

constexpr int TIMEATELECTRONICSNOTDEFINED = -123456
constexpr

Definition at line 30 of file gdataConventions.h.