ADTF
adtf_plugin.h File Reference

Copyright © Audi Electronics Venture GmbH. More...

Go to the source code of this file.

Macros

#define ADTF_PLUGIN(__plugin_identifier, ...)   UCOM_PLUGIN(__plugin_identifier, adtf::base::adtf_version_default, __VA_ARGS__)
 The ADTF Plugin Macro will add the code of a adtf::ucom::ant::IPlugin implementation. More...
 
#define ADTF_PLUGIN_VERSION(__plugin_identifier, __version_id, __version_major, __version_minor, __version_patch, ...)
 The ADTF Plugin Macro will add the code of a adtf::ucom::ant::IPlugin implementation and adds a customer version to the plugins version information. More...
 

Detailed Description

Copyright © Audi Electronics Venture GmbH.

All rights reserved

Definition in file adtf_plugin.h.

Macro Definition Documentation

◆ ADTF_PLUGIN

#define ADTF_PLUGIN (   __plugin_identifier,
  ... 
)    UCOM_PLUGIN(__plugin_identifier, adtf::base::adtf_version_default, __VA_ARGS__)

The ADTF Plugin Macro will add the code of a adtf::ucom::ant::IPlugin implementation.

Your are only allowed to use it once in one binary. It will also add shared-object entries (exported c++ functions) to your binary.

Parameters
__plugin_identifierHuman readable Label name of the plugin.
...List of the classes this plugin is exporting to create.
Remarks
The classes MUST have a class information. see ADTF_CLASS_ID_NAME

Definition at line 22 of file adtf_plugin.h.

◆ ADTF_PLUGIN_VERSION

#define ADTF_PLUGIN_VERSION (   __plugin_identifier,
  __version_id,
  __version_major,
  __version_minor,
  __version_patch,
  ... 
)
Value:
ADTF_ADDITONAL_VERSION_TYPE(__version_id, __version_major, __version_minor, __version_patch); \
UCOM_PLUGIN(__plugin_identifier, adtf::base::adtf_version_customer<custom_version_##__version_id>, __VA_ARGS__)
#define ADTF_ADDITONAL_VERSION_TYPE(_ID, _MAJOR, _MINOR, _PATCH)
defines a enriched adtf::base::ant::adtf_version_customer
Static Version type for the ADTF Versions which is enriched with a customer version.

The ADTF Plugin Macro will add the code of a adtf::ucom::ant::IPlugin implementation and adds a customer version to the plugins version information.

Parameters
__plugin_identifierHuman readable Label name of the plugin.
__version_idVersion identifier
__version_majormajor version number
__version_minorminor version number
__version_patchpatch version number
...List of the classes this plugin is exporting to create.
Remarks
The classes MUST have a class information. see ADTF_CLASS_ID_NAME

Definition at line 36 of file adtf_plugin.h.