X-Plane Remote Access Plugin and Client Library
Public Member Functions | List of all members
xplra::MultiTaskRequestTemplate< TaskClass > Class Template Reference

#include <MultiTaskRequest.h>

Inheritance diagram for xplra::MultiTaskRequestTemplate< TaskClass >:
xplra::MultiTaskRequest xplra::Request

Public Member Functions

void addTask (TaskClass *task)
 
TaskClass * getTask (size_t index) const
 
- Public Member Functions inherited from xplra::MultiTaskRequest
virtual ~MultiTaskRequest ()
 
void addTask (Task *task)
 
size_t getNumTasks () const
 
TaskgetTask (size_t index) const
 
- Public Member Functions inherited from xplra::Request
 Request ()
 
virtual ~Request ()
 

Additional Inherited Members

- Protected Member Functions inherited from xplra::MultiTaskRequest
virtual void execute ()
 

Detailed Description

template<class TaskClass>
class xplra::MultiTaskRequestTemplate< TaskClass >

A templated version of MultiTaskRequest, which accepts and returns tasks of a given type only.

Definition at line 103 of file MultiTaskRequest.h.

Member Function Documentation

◆ addTask()

template<class TaskClass >
void xplra::MultiTaskRequestTemplate< TaskClass >::addTask ( TaskClass *  task)
inline

Add the given task.

Definition at line 145 of file MultiTaskRequest.h.

◆ getTask()

template<class TaskClass >
TaskClass * xplra::MultiTaskRequestTemplate< TaskClass >::getTask ( size_t  index) const
inline

Get the task at the given index.

Definition at line 154 of file MultiTaskRequest.h.


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