1#ifndef OS_WRAPPER_THREAD_FACTORY_H_INCLUDED
2#define OS_WRAPPER_THREAD_FACTORY_H_INCLUDED
14 virtual Thread*
create(
Runnable* r,
int priority, std::size_t stackSize,
void* stackAddress,
const char* name) = 0;
16 virtual void sleep(
unsigned long millis) = 0;
Interface for implementing an active class.
Definition Runnable.h:9
Definition ThreadFactory.h:11
virtual int getLowestPriority() const =0
virtual int getHighestPriority() const =0
virtual void sleep(unsigned long millis)=0
virtual void destroy(Thread *t)=0
virtual Thread * create(Runnable *r, int priority, std::size_t stackSize, void *stackAddress, const char *name)=0
virtual int getMaxPriority() const =0
virtual ~ThreadFactory()
Definition ThreadFactory.h:13
virtual int getMinPriority() const =0
virtual Thread * getCurrentThread()=0
Abstract class that has functions of common RTOS's thread.
Definition Thread.h:50
OSWrapper provides abstract C++ interface of common RTOS: thread, mutex, event flag,...
Definition EventFlag.cpp:5