X-Plane Remote Access Plugin and Client Library
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
xplra::Request Class Referenceabstract

#include <Request.h>

Inheritance diagram for xplra::Request:
xplra::MessageRequest xplra::MultiTaskRequest xplra::ReloadPluginsRequest xplra::SaveSituationRequest xplra::TaskRequest xplra::MultiTaskRequestTemplate< GetDataRefTask > xplra::MultiTaskRequestTemplate< SetDataRefTask > xplra::MultiTaskRequestTemplate< TaskClass > xplra::GetMultiDataRefRequest xplra::SetMultiDataRefRequest

Public Member Functions

 Request ()
 
virtual ~Request ()
 

Protected Member Functions

virtual void execute ()=0
 

Private Attributes

volatile bool completed
 

Friends

class RequestQueue
 

Detailed Description

Base class for requests. A request is something that is executed in the flight loop.

Definition at line 41 of file Request.h.

Constructor & Destructor Documentation

◆ Request()

xplra::Request::Request ( )
inline

Construct the request.

Definition at line 73 of file Request.h.

◆ ~Request()

xplra::Request::~Request ( )
inlinevirtual

Virtual destructor.

Definition at line 80 of file Request.h.

Member Function Documentation

◆ execute()

virtual void xplra::Request::execute ( )
protectedpure virtual

Member Data Documentation

◆ completed

volatile bool xplra::Request::completed
private

Indicate that the request is completed.

Definition at line 47 of file Request.h.


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