X-Plane Remote Access Plugin and Client Library
|
#include <TaskRequest.h>
Public Member Functions | |
TaskRequest (Task *task) | |
virtual | ~TaskRequest () |
virtual void | execute () |
Public Member Functions inherited from xplra::Request | |
Request () | |
virtual | ~Request () |
Private Attributes | |
Task * | task |
Additional Inherited Members |
A request the performs a task.
Definition at line 46 of file TaskRequest.h.
|
inline |
Construct the request for the given task. The task will become owned by the request, so it will be deleted when the task is deleted.
Definition at line 78 of file TaskRequest.h.
|
inlinevirtual |
Destroy the task request.
Definition at line 85 of file TaskRequest.h.
|
virtual |
Execute the request by performing the task.
Implements xplra::Request.
Definition at line 39 of file TaskRequest.cc.
|
private |
The task belonging to the request. It is owned by the request, i.e. deleted when the request is deleted.
Definition at line 53 of file TaskRequest.h.