Class WorkerThread

Inheritance Relationships

Base Type

  • public std::thread

Class Documentation

class WorkerThread : public std::thread

Class for running a task in a thread.

Public Functions

explicit WorkerThread(RosTask *rosTask)

Constructor for WorkerThread.

Parameters:

rosTask – A class that implements RosTask interface.

~WorkerThread()

Destructor for WorkerThread.

void runTask()

Method that runs on a thread.