83 ADTF3_DEPRECATED(
"Use adtf::base::flash::IRunnable::Run(tNanoSeconds tmTimeofActivation, ant::IRunnable::tActivationType ui32ActivationType, const void* pvUserData, size_t nUserDataSize) instead.")
86 const
void* pvUserData,
87 size_t nUserDataSize) = 0;
136 const void* pvUserData,
137 size_t nUserDataSize) = 0;
Copyright © Audi Electronics Venture GmbH.
#define ADTF3_DEPRECATED(_depr_message_)
Mark a function or variable as deprecated.
Copyright © Audi Electronics Venture GmbH.
tInt64 tTimeStamp
type definition for a time value.
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Copyright © Audi Electronics Venture GmbH.
The Runnable interface defines common methods for a running component.
virtual tResult Run(tTimeStamp tmTimeofActivation, tActivationType ui32ActivationType, const void *pvUserData, size_t nUserDataSize)=0
The Run method to set the component in running state.
tActivationType
Enumeration of the possible activation types to set a component in running state.
@ RUN_USER
activation code offset for user activations.
@ RUN_TIMER
activation code to handle a timer, usually this is sent by a kernel implementation have timer primiti...
@ RUN_SIGNAL
activation code to handle a signal event, usually this is sent by a kernel implementation have signal...
@ RUN_TRIGGER
Trigger run call.
@ RUN_PUSH
Data Sync Push.
@ RUN_EXCEPTION
activation code to handle a global exception.
@ RUN_THREAD
activation code to handle a thread call, usually this is sent by a kernel implementation have thread ...
@ RUN_JOB
activation code to handle a job call.
@ RUN_MESSAGE
activation code to handle a message.
@ RUN_UNSPECIFIED
unspecified Run activation type.
~IRunnable()=default
not destructable
ADTF_IID(IRunnable, "runnable.ant.base.adtf.iid")
defintion of interface id
virtual tActivationType GetActivationType() const
Gets the activation code of the runnable it reacts to.
std::function< tResult(tTimeStamp)> tRunFunction
Type definition of the function used to implement Run.
std::function< tResult(tNanoSeconds)> tRunFunction
Type definition of the function used to implement Run.
~IRunnable()=default
not destructable
ADTF_IID(IRunnable, "runnable.flash.base.adtf.iid")
defintion of interface id
virtual tResult Run(tNanoSeconds tmTimeofActivation, ant::IRunnable::tActivationType ui32ActivationType, const void *pvUserData, size_t nUserDataSize)=0
The Run method to set the component in running state.
Namespace for all functionality of the ADTF Base SDK provided since v3.0.
Namespace for the ADTF Base SDK.
Namespace for entire ADTF SDK.
A timestamp with nanosecond precision.