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

#include <SaveSituationRequest.h>

Inheritance diagram for xplra::SaveSituationRequest:
xplra::Request

Public Member Functions

 SaveSituationRequest (const std::string &path)
 
bool getSuccess () const
 
- Public Member Functions inherited from xplra::Request
 Request ()
 
virtual ~Request ()
 

Protected Member Functions

virtual void execute ()
 

Private Attributes

std::string path
 
bool success
 

Detailed Description

A request that saves the current situation into a file.

Definition at line 46 of file SaveSituationRequest.h.

Constructor & Destructor Documentation

◆ SaveSituationRequest()

xplra::SaveSituationRequest::SaveSituationRequest ( const std::string &  path)
inline

Construct the request.

Definition at line 81 of file SaveSituationRequest.h.

Member Function Documentation

◆ execute()

void SaveSituationRequest::execute ( )
protectedvirtual

Execute the request.

Implements xplra::Request.

Definition at line 45 of file SaveSituationRequest.cc.

◆ getSuccess()

bool xplra::SaveSituationRequest::getSuccess ( ) const
inline

Get the result.

Definition at line 89 of file SaveSituationRequest.h.

Member Data Documentation

◆ path

std::string xplra::SaveSituationRequest::path
private

The path to save the situation into.

Definition at line 52 of file SaveSituationRequest.h.

◆ success

bool xplra::SaveSituationRequest::success
private

Indicate the success.

Definition at line 57 of file SaveSituationRequest.h.


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