ADTF
Loading...
Searching...
No Matches
adtf_class_version.h File Reference
#include <adtfucom3/adtf_ucom3.h>
#include <adtfbase/adtf_base_version.h>
Include dependency graph for adtf_class_version.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  adtf::base::ant::adtf_version_default
 
struct  adtf::base::ant::adtf_version_customer< CUSTOMER_VERSION >
 
struct  adtf::base::adtf_version_default
 
struct  adtf::base::adtf_version_customer< CUSTOMER_VERSION >
 

Namespaces

namespace  adtf
 Namespace for all functionality provided by ADTF and its SDKs.
 
namespace  adtf::base
 Namespace for the ADTF Base SDK.
 
namespace  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)
 
#define ADTF_CLASS_VERSIONS(...)
 

Detailed Description

Copyright © Audi Electronics Venture GmbH. All rights reserved

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.
Definition class_info_intf.h:22

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.

◆ 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.
Definition class_versions.h:25
constexpr tNamedVersion add_version(const char *i_strProduct, Args... args)
Alias always bringing the latest version of ant::add_version() into scope.
Definition class_versions.h:61

Adds a version.

Parameters
...Arguments