swift
Loading...
Searching...
No Matches
XSwiftBus::CCommand Class Reference

Class-based interface to X-Plane's custom command API. More...

#include <command.h>

Public Member Functions

 CCommand (const char *name, const char *description, std::function< void()> handler)
 Constructor.
 ~CCommand ()
 Destructor.
 CCommand (const CCommand &)=delete
 Not copyable.
CCommand & operator= (const CCommand &)=delete
 Not copyable.

Detailed Description

Class-based interface to X-Plane's custom command API.

Definition at line 19 of file command.h.

Constructor & Destructor Documentation

◆ CCommand()

XSwiftBus::CCommand::CCommand ( const char * name,
const char * description,
std::function< void()> handler )
inline

Constructor.

Definition at line 23 of file command.h.

◆ ~CCommand()

XSwiftBus::CCommand::~CCommand ( )
inline

Destructor.

Definition at line 30 of file command.h.


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