ADTF
runnable.h File Reference

Copyright © Audi Electronics Venture GmbH. More...

Go to the source code of this file.

Classes

class  cRunnable
 Empty Runnable helper implementation. More...
 
class  runnable< TYPE_OF_ACTIVATION, Interface >
 Runnable helper implementaton template. More...
 
class  runnable< TYPE_OF_ACTIVATION, AntInterface, Interface >
 

Namespaces

 adtf
 Namespace for entire ADTF SDK.
 
 adtf::base
 Namespace for the ADTF Base SDK.
 
 adtf::base::ant
 Namespace for all functionality of the ADTF Base SDK provided since v3.0.
 
 adtf::base::flash
 Namespace for all functionality of the ADTF Base SDK provided since v3.5.
 

Macros

#define ADTF_RUN_FUNCTION(_fcName_)   [this](tTimeStamp tmTime) -> tResult { return _fcName_(tmTime); }
 Helper Macro to define Run function for adtf::base::ant::runnable<> More...
 
#define ADTF_RUN_FUNCTION_NS(_fcName_)   [this](adtf::base::flash::tNanoSeconds tmTime) -> tResult { return _fcName_(tmTime); }
 Helper Macro to define Run function for adtf::base::ant::runnable<> More...
 

Detailed Description

Copyright © Audi Electronics Venture GmbH.

All rights reserved

Definition in file runnable.h.

Macro Definition Documentation

◆ ADTF_RUN_FUNCTION

#define ADTF_RUN_FUNCTION (   _fcName_)    [this](tTimeStamp tmTime) -> tResult { return _fcName_(tmTime); }

Helper Macro to define Run function for adtf::base::ant::runnable<>

Parameters
_fcName_The function name to forward teh call to.
Remarks
The given fcName must have following defintion:.

Definition at line 196 of file runnable.h.

◆ ADTF_RUN_FUNCTION_NS

#define ADTF_RUN_FUNCTION_NS (   _fcName_)    [this](adtf::base::flash::tNanoSeconds tmTime) -> tResult { return _fcName_(tmTime); }

Helper Macro to define Run function for adtf::base::ant::runnable<>

Parameters
_fcName_The function name to forward teh call to.
Remarks
The given fcName must have following defintion:.

Definition at line 203 of file runnable.h.