ADTF
Loading...
Searching...
No Matches
adtf_plugin.h File Reference
Include dependency graph for adtf_plugin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ADTF_PLUGIN(__plugin_identifier, ...)
 
#define ADTF_PLUGIN_VERSION(__plugin_identifier, __version_id, __version_major, __version_minor, __version_patch, ...)
 

Detailed Description

Copyright © Audi Electronics Venture GmbH. All rights reserved

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.
Definition plugin_macros.h:37
Definition adtf_class_version.h:21

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

◆ 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)
Definition adtf_class_version.h:73
Definition adtf_class_version.h:43

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