ADTF  3.18.2
kernel_thread_looper

Convenience class that combines the functionality of a kernel_thread and an A_UTILS_NS::cLooper. More...

Inheritance diagram for kernel_thread_looper:
[legend]

Public Member Functions

 kernel_thread_looper (const kernel_thread_looper &)=delete
 
template<typename ... Args>
 kernel_thread_looper (const char *strName, Args &&... args)
 
template<typename ... Args>
 kernel_thread_looper (const adtf::services::IKernel::tSchedulingInfo &sScheduling, const char *strName, Args &&... args)
 
 kernel_thread_looper (kernel_thread_looper &&oOther)
 
kernel_thread_looperoperator= (kernel_thread_looper &&oOther)
 
- Public Member Functions inherited from kernel_thread
 kernel_thread ()
 Default constructor. More...
 
 kernel_thread (const kernel_thread &)=delete
 
 kernel_thread (kernel_thread &&)
 Move constructor.
 
template<typename Callable , typename ... Args>
 kernel_thread (const adtf::services::IKernel::tSchedulingInfo &sScheduling, const char *strName, Callable &&pFunc, Args &&... args)
 Constructor that allows the definition of scheduling parameters.
 
template<typename Callable , typename ... Args>
 kernel_thread (const char *strName, Callable &&pFunc, Args &&... args)
 Constructor that creates a new thread.
 
 ~kernel_thread ()
 Destructor.
 
kernel_threadoperator= (kernel_thread &&oOther)
 Move assignment operator. More...
 
void Swap (kernel_thread &oOther)
 Swaps two threads. More...
 
bool Joinable () const
 Whether or not the thread is joinable. More...
 
tResult Join (tTimeStamp nTimeout=-1)
 Join the thread. More...
 
tResult Detach ()
 Detaches from the underlying kernel thread. More...
 
tResult SetScheduling (const adtf::services::IKernel::tSchedulingInfo &sScheduling)
 Changes the scheduling parameters of the thread. More...
 
tResult GetScheduling (adtf::services::IKernel::tSchedulingInfo &sScheduling) const
 Retrieves the scheduling parameters of the thread. More...
 
bool IsCurrentThread () const
 Check if the executing thread is managed by this thread object. More...
 

Detailed Description

Convenience class that combines the functionality of a kernel_thread and an A_UTILS_NS::cLooper.

Definition at line 21 of file kernel_thread_loop.h.