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

Go to the source code of this file.

Namespaces

namespace  adtf
 Namespace for all functionality provided by ADTF and its SDKs.
 
namespace  adtf::ucom
 Namespace for the ADTF uCOM SDK.
 

Macros

#define UCOM_PLUGIN_DEFINE_DEFAULT_METHODS(__plugin_label, __plugin_version_type, ...)
 
#define UCOM_PLUGIN_MAIN_METHOD()
 
#define UCOM_PLUGIN(__plugin_label, __plugin_version_type, ...)
 This macro adds all required objects for a UCOM plugin.
 

Detailed Description

Copyright © Audi Electronics Venture GmbH. All rights reserved

Macro Definition Documentation

◆ UCOM_PLUGIN

#define UCOM_PLUGIN ( __plugin_label,
__plugin_version_type,
... )
Value:
UCOM_PLUGIN_DEFINE_DEFAULT_METHODS(__plugin_label, __plugin_version_type, __VA_ARGS__)\
UCOM_PLUGIN_MAIN_METHOD()

This macro adds all required objects for a UCOM plugin.

◆ UCOM_PLUGIN_DEFINE_DEFAULT_METHODS

#define UCOM_PLUGIN_DEFINE_DEFAULT_METHODS ( __plugin_label,
__plugin_version_type,
... )
Value:
{\
};\
std::function<void()> _plugin_deinitialization = []\
{\
};
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
Definition plugin.h:82
ant::iobject_ptr< T > iobject_ptr
Alias always bringing the latest version of ant::iobject_ptr into scope.
Definition object_ptr_intf.h:437
std::function< tResult(adtf::ucom::iobject_ptr< adtf::ucom::IPlugin > &)> _plugin_initialization
Global Plugin initialization method.
std::function< void()> _plugin_deinitialization
Global Plugin deinitialization method.