hwsd  2.0.0
Local and remote ZeroConf service discovery for hardware resources
gpu/glx/version.h File Reference

Defines version macros and class for library hwsd_gpu_glx. More...

#include <hwsd/gpu/glx/api.h>
#include <string>
+ Include dependency graph for gpu/glx/version.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  hwsd::Version
 Information about the current hwsd_gpu_dns_sd version. More...
 

Macros

#define HWSD_VERSION_MAJOR   2
 The current major version. More...
 
#define HWSD_VERSION_MINOR   0
 The current minor version. More...
 
#define HWSD_VERSION_PATCH   0
 The current patch level. More...
 
#define HWSD_VERSION_REVISION   0x51648a4
 The current SCM revision. More...
 
#define HWSD_VERSION_ABI   4ull
 The current binary interface. More...
 
#define HWSD_VERSION_GT(MAJOR, MINOR, PATCH)
 True if the current version is newer than the given one. More...
 
#define HWSD_VERSION_GE(MAJOR, MINOR, PATCH)
 True if the current version is equal or newer to the given. More...
 
#define HWSD_VERSION_LT(MAJOR, MINOR, PATCH)
 True if the current version is older than the given one. More...
 
#define HWSD_VERSION_LE(MAJOR, MINOR, PATCH)
 True if the current version is older or equal to the given. More...
 

Detailed Description

Defines version macros and class for library hwsd_gpu_glx.

Definition in file gpu/glx/version.h.

Macro Definition Documentation

#define HWSD_VERSION_ABI   4ull

The current binary interface.

Definition at line 29 of file gpu/glx/version.h.

#define HWSD_VERSION_GE (   MAJOR,
  MINOR,
  PATCH 
)
Value:
( (HWSD_VERSION_MAJOR>MAJOR) || \
(HWSD_VERSION_MAJOR==MAJOR && (HWSD_VERSION_MINOR>MINOR || \
(HWSD_VERSION_MINOR==MINOR && HWSD_VERSION_PATCH>=PATCH))))
#define HWSD_VERSION_MAJOR
The current major version.
#define HWSD_VERSION_MINOR
The current minor version.
#define HWSD_VERSION_PATCH
The current patch level.

True if the current version is equal or newer to the given.

Definition at line 38 of file gpu/glx/version.h.

#define HWSD_VERSION_GT (   MAJOR,
  MINOR,
  PATCH 
)
Value:
( (HWSD_VERSION_MAJOR>MAJOR) || \
(HWSD_VERSION_MAJOR==MAJOR && (HWSD_VERSION_MINOR>MINOR || \
#define HWSD_VERSION_MAJOR
The current major version.
#define HWSD_VERSION_MINOR
The current minor version.
#define HWSD_VERSION_PATCH
The current patch level.

True if the current version is newer than the given one.

Definition at line 32 of file gpu/glx/version.h.

#define HWSD_VERSION_LE (   MAJOR,
  MINOR,
  PATCH 
)
Value:
( (HWSD_VERSION_MAJOR<MAJOR) || \
(HWSD_VERSION_MAJOR==MAJOR && (HWSD_VERSION_MINOR<MINOR || \
(HWSD_VERSION_MINOR==MINOR && HWSD_VERSION_PATCH<=PATCH))))
#define HWSD_VERSION_MAJOR
The current major version.
#define HWSD_VERSION_MINOR
The current minor version.
#define HWSD_VERSION_PATCH
The current patch level.

True if the current version is older or equal to the given.

Definition at line 50 of file gpu/glx/version.h.

#define HWSD_VERSION_LT (   MAJOR,
  MINOR,
  PATCH 
)
Value:
( (HWSD_VERSION_MAJOR<MAJOR) || \
(HWSD_VERSION_MAJOR==MAJOR && (HWSD_VERSION_MINOR<MINOR || \
#define HWSD_VERSION_MAJOR
The current major version.
#define HWSD_VERSION_MINOR
The current minor version.
#define HWSD_VERSION_PATCH
The current patch level.

True if the current version is older than the given one.

Definition at line 44 of file gpu/glx/version.h.

#define HWSD_VERSION_MAJOR   2

The current major version.

Definition at line 17 of file gpu/glx/version.h.

Referenced by hwsd::Version::check().

#define HWSD_VERSION_MINOR   0

The current minor version.

Definition at line 20 of file gpu/glx/version.h.

Referenced by hwsd::Version::check().

#define HWSD_VERSION_PATCH   0

The current patch level.

Definition at line 23 of file gpu/glx/version.h.

#define HWSD_VERSION_REVISION   0x51648a4

The current SCM revision.

Definition at line 26 of file gpu/glx/version.h.