83 const void* pvUserData,
84 size_t nUserDataSize) = 0;
133 const void* pvUserData,
134 size_t nUserDataSize) = 0;
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.
A common result class usable as return value throughout.
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 entire ADTF SDK.
A timestamp with nanosecond precision.
Public API for compatibility to C++11 <chrono>