ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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, ...)
 The ADTF Plugin Macro will add the code of a IPlugin implementation.
 
#define ADTF_PLUGIN_VERSION(__plugin_identifier, __version_id, __version_major, __version_minor, __version_patch, ...)
 The ADTF Plugin Macro will add the code of a IPlugin implementation and adds a customer version to the plugins version information.
 

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,
... )
Value:
UCOM_PLUGIN(__plugin_identifier, adtf::base::adtf_version_default, __VA_ARGS__)
#define UCOM_PLUGIN(__plugin_label, __plugin_version_type,...)
This macro adds all required objects for a UCOM plugin.
Static Version type for the ADTF Versions.

The ADTF Plugin Macro will add the code of a 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_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 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.