5 #ifndef OS_INTERFACES_TASKINTERFACE_HPP_ 6 #define OS_INTERFACES_TASKINTERFACE_HPP_ 95 #endif // OS_INTERFACES_TASKINTERFACE_HPP_ virtual ~TaskInterface()=default
default virtual destructor
Task handle representation.
virtual void resume()=0
resume a suspended task
virtual Status join()=0
block until the task has ended
virtual void onStart()=0
perform required task start actions
types and constants shared by users of Os::Task and by its implementations
virtual void suspend(SuspensionType suspensionType)=0
suspend the task given the suspension type
virtual Status start(const Arguments &arguments)=0
start the task
TaskInterface()=default
default constructor
virtual Status _delay(const Fw::TimeInterval &interval)=0
delay the currently scheduled task using the given architecture
virtual bool isCooperative()=0
determine if the task requires cooperative multitasking
TaskInterface & operator=(const TaskInterface &other)=delete
assignment operator is forbidden
virtual TaskHandle * getHandle()=0
return the underlying task handle (implementation specific)