14#define COMMS_MAJOR_VERSION 5U
17#define COMMS_MINOR_VERSION 2U
20#define COMMS_PATCH_VERSION 7U
23#define COMMS_MAKE_VERSION(major_, minor_, patch_) \
24 ((static_cast<unsigned>(major_) << 24) | \
25 (static_cast<unsigned>(minor_) << 8) | \
26 (static_cast<unsigned>(patch_)))
29#define COMMS_VERSION COMMS_MAKE_VERSION(COMMS_MAJOR_VERSION, COMMS_MINOR_VERSION, COMMS_PATCH_VERSION)
57constexpr unsigned versionCreate(
unsigned major,
unsigned minor,
unsigned patch)
Main namespace for all classes / functions of COMMS library.
constexpr unsigned version()
Version of the COMMS library as single numeric value.
Definition version.h:64
constexpr unsigned versionCreate(unsigned major, unsigned minor, unsigned patch)
Create version of the library as single unsigned numeric value.
Definition version.h:57
constexpr unsigned versionMinor()
Minor verion of the library.
Definition version.h:43
constexpr unsigned versionPatch()
Patch level of the library.
Definition version.h:50
constexpr unsigned versionMajor()
Major verion of the library.
Definition version.h:36
#define COMMS_MAKE_VERSION(major_, minor_, patch_)
Macro to create numeric version as single unsigned number.
Definition version.h:23
#define COMMS_VERSION
Version of the COMMS library as single numeric value.
Definition version.h:29
#define COMMS_PATCH_VERSION
Patch level of the library.
Definition version.h:20
#define COMMS_MAJOR_VERSION
Major verion of the library.
Definition version.h:14
#define COMMS_MINOR_VERSION
Minor verion of the library.
Definition version.h:17