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

Go to the source code of this file.

Classes

class  adtf::base::runnable< DEFAULT_ACTIVATION_TYPE, ANT_INTERFACE, FLASH_OR_ANT_INTERFACE, CALLABLE >
 

Namespaces

namespace  adtf
 Namespace for all functionality provided by ADTF and its SDKs.
 
namespace  adtf::base
 Namespace for the ADTF Base SDK.
 
namespace  adtf::base::ant
 Namespace for all functionality of the ADTF Base SDK provided since v3.0.
 

Macros

#define ADTF_RUN_FUNCTION(_fcName_)
 
#define ADTF_RUN_FUNCTION_NS(_fcName_)
 

Typedefs

template<ant::IRunnable::tActivationType DEFAULT_ACTIVATION_TYPE = ant::IRunnable::RUN_UNSPECIFIED, typename ANT_INTERFACE = ant::IRunnable, typename CALLABLE = ant::IRunnable::tRunFunction>
using adtf::base::ant::runnable = adtf::base::runnable<DEFAULT_ACTIVATION_TYPE, ANT_INTERFACE, flash::IRunnable, CALLABLE>
 

Functions

template<typename CALLABLE, typename... ARGS>
 adtf::base::runnable (CALLABLE &&, ARGS &&...) -> runnable< ant::IRunnable::RUN_UNSPECIFIED, ant::IRunnable, flash::IRunnable, CALLABLE && >
 

Detailed Description

Copyright © Audi Electronics Venture GmbH. All rights reserved

Macro Definition Documentation

◆ ADTF_RUN_FUNCTION

#define ADTF_RUN_FUNCTION ( _fcName_)
Value:
[this](tTimeStamp tmTime) -> tResult \
{ \
return _fcName_(tmTime); \
}
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736

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:
tResult (tTimeStamp)
.

◆ ADTF_RUN_FUNCTION_NS

#define ADTF_RUN_FUNCTION_NS ( _fcName_)
Value:
{ \
return _fcName_(tmTime); \
}
A timestamp with nanosecond precision.
Definition chrono.h:23

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:
tResult (tTimeStamp)
.