Abstract class that defines the class prototype to implement a Task that runs on Slave SH2.
#include <srl_slave.hpp>
Public Member Functions | |
virtual | ~ITask () |
Destructor. | |
virtual bool | IsDone () |
Task Status getter. | |
virtual void | ResetTask () |
Reset Task Status before running. | |
virtual void | Start () |
Start the Task on Slave SH2, then set its status to Done. | |
Protected Member Functions | |
ITask () | |
Constructor. | |
virtual void | Do ()=0 |
Abstract method that defines the task's behavior. | |
Protected Attributes | |
volatile bool | done |
Holds a value indicating whether task has been completed. | |