Beam-lib 2.15.1 |
Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
BTask Class Reference
#include <BTask.h>
Public Member Functions | |
BTask (const char *name="", BUInt stackSize=0, BUInt priority=1) | |
~BTask () | |
void | init (const char *name, BUInt stackSize=0, BUInt priority=1) |
BError | start () |
Starts the task running. More... | |
void | stop () |
void | waitForCompletion () |
int | setPriority (BUInt priority) |
Set the priority of the task: 0 upwards. More... | |
virtual void | run () |
Static Protected Member Functions | |
static void * | taskFunc (void *) |
Protected Attributes | |
const char * | oname |
BUInt | ostackSize |
BUInt | opolicy |
BUInt | opriority |
pthread_t | othread |
Bool | orunning |
Constructor & Destructor Documentation
◆ BTask()
◆ ~BTask()
BTask::~BTask | ( | ) |
Member Function Documentation
◆ init()
◆ run()
| virtual |
◆ setPriority()
int BTask::setPriority | ( | BUInt | priority | ) |
Set the priority of the task: 0 upwards.
◆ start()
BError BTask::start | ( | ) |
Starts the task running.
◆ stop()
void BTask::stop | ( | ) |
◆ taskFunc()
| staticprotected |
◆ waitForCompletion()
void BTask::waitForCompletion | ( | ) |
Member Data Documentation
◆ oname
| protected |
◆ opolicy
| protected |
◆ opriority
| protected |
◆ orunning
| protected |
◆ ostackSize
| protected |
◆ othread
| protected |
The documentation for this class was generated from the following files:
Generated by 1.8.14