ADTF
Loading...
Searching...
No Matches
adtf::system::kernel_runnable< i32ActivationType, CALLABLE > Class Template Reference

#include <kernel_runnable.h>

Inherits adtf::base::runnable< i32ActivationType, adtf::services::ant::IKernel::IKernelRunnable, base::flash::IRunnable, CALLABLE >.

Detailed Description

template<adtf::base::ant::IRunnable::tActivationType i32ActivationType, typename CALLABLE>
class adtf::system::kernel_runnable< i32ActivationType, CALLABLE >

Implemenation specification for runnables supported be the IKernel interface.

Template Parameters
i32ActivationTypeactivation type used for the runnable, default is RUN_THREAD
CALLABLEtype of the callable to be executed on Run, must be invocable with either of the defined signatures in adtf::base::runnable.
Note
Usage:
// explicit instantiation — activation type is RUN_TIMER at compile time:
kernel_runnable<adtf::base::ant::IRunnable::RUN_TIMER, decltype(callable)> kr2(callable);
// Use of deduction guide — activation type is always deduced as RUN_THREAD:
kernel_runnable kr1(callable);
// Use of deduction guide — with activation type RUN_TIMER at runtime:
@ RUN_TIMER
activation code to handle a timer, usually this is sent by a kernel implementation have timer primiti...
Definition runnable_intf.h:49
Definition kernel_runnable.h:54

The documentation for this class was generated from the following file: