ZotBins Core
Loading...
Searching...
No Matches
Zotbins::Task Class Referenceabstract

Abstract class for tasks to inherit from. More...

#include <task.hpp>

Inheritance diagram for Zotbins::Task:
Inheritance graph

Public Member Functions

 Task (const char *name, const int priority, const uint32_t stackSize)
 Construct a new Task object. Parameters are needed for FreeRTOS.
 
virtual void start ()=0
 Start execution of task.
 

Protected Attributes

const char * mName
 Name of task.
 
const int mPriority
 Priority number of task.
 
const uint32_t mStackSize
 Task size of task.
 

Detailed Description

Abstract class for tasks to inherit from.

Constructor & Destructor Documentation

◆ Task()

Zotbins::Task::Task ( const char * name,
const int priority,
const uint32_t stackSize )
inline

Construct a new Task object. Parameters are needed for FreeRTOS.

Parameters
nameName of task
priorityPriority number of task
stackSizeStack size of task

Member Function Documentation

◆ start()

virtual void Zotbins::Task::start ( )
pure virtual

Field Documentation

◆ mName

const char* Zotbins::Task::mName
protected

Name of task.

z


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