ADTF  3.15.3
plugin_macros.h File Reference

Copyright © Audi Electronics Venture GmbH. More...

Go to the source code of this file.

Namespaces

 adtf
 Namespace for entire ADTF SDK.
 
 adtf::ucom
 Namespace for the ADTF uCOM3 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. More...
 

Detailed Description

Copyright © Audi Electronics Venture GmbH.

All rights reserved

Definition in file plugin_macros.h.

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.

Definition at line 37 of file plugin_macros.h.

◆ UCOM_PLUGIN_DEFINE_DEFAULT_METHODS

#define UCOM_PLUGIN_DEFINE_DEFAULT_METHODS (   __plugin_label,
  __plugin_version_type,
  ... 
)
Value:
{\
};\
std::function<void()> _plugin_deinitialization = []\
{\
};
Base object pointer to realize binary compatible reference counting in interface methods.
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.
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.

Definition at line 16 of file plugin_macros.h.