consts.hh File Reference

DFTI constants. More...

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

Go to the source code of this file.

Enumerations

enum  dfti::AvailableSensors : quint8 { NONE = 0, dfti::AvailableSensors::HAVE_AP = 1 << 0, dfti::AvailableSensors::HAVE_UADC = 1 << 1, dfti::AvailableSensors::HAVE_VN200 = 1 << 2 }
 Available sensors enumeration.
 
enum  dfti::DebugMode : quint8 { DEBUG_NONE = 0, dfti::DebugMode::DEBUG_RC = 1 << 0, dfti::DebugMode::DEBUG_SERIAL = 1 << 1, dfti::DebugMode::DEBUG_DATA = 1 << 2 }
 Debugging Mode enumeration.
 

Functions

AvailableSensors dfti::operator| (AvailableSensors lhs, AvailableSensors rhs)
 Implement bitwise-or for AvailableSensors.
 
AvailableSensors & dfti::operator|= (AvailableSensors &lhs, AvailableSensors rhs)
 Implement bitwise-or assignment for AvailableSensors.
 
AvailableSensors dfti::operator& (AvailableSensors lhs, AvailableSensors rhs)
 Implement bitwise-and for AvailableSensors.
 
bool dfti::check (AvailableSensors x)
 Check an AvailableSensors value.
 
DebugMode dfti::operator| (DebugMode lhs, DebugMode rhs)
 Implement bitwise-or for DebugMode.
 
DebugMode & dfti::operator|= (DebugMode &lhs, DebugMode rhs)
 Implement bitwise-or assignment for DebugMode.
 
DebugMode dfti::operator& (DebugMode lhs, DebugMode rhs)
 Implement bitwise-and for DebugMode.
 
bool dfti::check (DebugMode x)
 Check a DebugMode value.
 

Variables

const QString dfti::app_name {"dfti"}
 DFTI application name.
 
const QString dfti::app_version {DFTI_VERSION}
 DFTI application version. More...
 

Detailed Description

DFTI constants.

Author
Joshua Harris
License
BSD 2-Clause License

Variable Documentation

const QString dfti::app_version {DFTI_VERSION}

DFTI application version.

Remarks
DFTI uses semantic versioning with the major, minor, and patch versions defined as macros in the main CMakeLists.txt file.