ADTF  3.18.2
adtf_class_version.h File Reference

Copyright © Audi Electronics Venture GmbH. More...

Go to the source code of this file.

Classes

struct  adtf_version_default
 Static Version type for the ADTF Versions. More...
 
struct  adtf_version_customer< CUSTOMER_VERSION >
 Static Version type for the ADTF Versions which is enriched with a customer version. More...
 

Namespaces

 adtf
 Namespace for entire ADTF SDK.
 
 adtf::base
 Namespace for the ADTF Base SDK.
 
 adtf::base::ant
 Namespace for all functionality of the ADTF Base SDK provided since v3.0.
 

Macros

#define ADTF_ADDITONAL_VERSION_TYPE(_ID, _MAJOR, _MINOR, _PATCH)
 defines a enriched adtf::base::ant::adtf_version_customer More...
 
#define ADTF_CLASS_VERSIONS(...)
 Adds a version. More...
 

Detailed Description

Copyright © Audi Electronics Venture GmbH.

All rights reserved

Definition in file adtf_class_version.h.

Macro Definition Documentation

◆ ADTF_ADDITONAL_VERSION_TYPE

#define ADTF_ADDITONAL_VERSION_TYPE (   _ID,
  _MAJOR,
  _MINOR,
  _PATCH 
)
Value:
struct custom_version_##_ID {\
static adtf::ucom::ant::tNamedVersion GetCustomerVersion()\
{\
static const adtf::ucom::ant::tNamedVersion sVersion{"adtf::"#_ID, {_MAJOR, _MINOR, _PATCH, 0}};\
return sVersion;\
}\
}
Named version information consisting of the modules name and its adtf_util::tVersion.

defines a enriched adtf::base::ant::adtf_version_customer

Parameters
_IDversion identifier of the named version.
_MAJORmajor version number of the named version.
_MINORminor version number of the named version.
_PATCHpatch version number of the named version.

Definition at line 73 of file adtf_class_version.h.

◆ ADTF_CLASS_VERSIONS

#define ADTF_CLASS_VERSIONS (   ...)
Value:
UCOM_CLASS_VERSIONS(adtf::ucom::add_version(ADTF_VERSION_ID, ADTF_VERSION_MAJOR, ADTF_VERSION_MINOR, ADTF_VERSION_PATCH), \
__VA_ARGS__)
#define UCOM_CLASS_VERSIONS(...)
Add a an arbitrary number of modules and their versions required for enclosing class.
constexpr tNamedVersion add_version(const char *i_strProduct, Args... args)
Used for parameter list in ADTF_CLASS_DEPENDENCIES() to define version information.

Adds a version.

Parameters
...Arguments

Definition at line 86 of file adtf_class_version.h.