FlightGear next
NasalBinding Class Reference

implementation of SGAbstractBinding which invokes a Nasal callback. More...

#include <NasalCondition.hxx>

Inherits SGAbstractBinding.

Public Types

using NasalCallback = std::function<void(naRef)>
 

Public Member Functions

 NasalBinding (NasalCallback cb)
 

Detailed Description

implementation of SGAbstractBinding which invokes a Nasal callback.

(without it being registered as a command).

The binding argument properties are converted to a wrapped Nasal Props.Node before the binding is fired

Definition at line 24 of file NasalCondition.hxx.

Member Typedef Documentation

◆ NasalCallback

using NasalBinding::NasalCallback = std::function<void(naRef)>

Definition at line 27 of file NasalCondition.hxx.

Constructor & Destructor Documentation

◆ NasalBinding()

NasalBinding::NasalBinding ( NasalCallback cb)
inline

Definition at line 29 of file NasalCondition.hxx.


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