FlightGear next
FGFX Class Reference

Generator for FlightGear model sound effects. More...

#include <fg_fx.hxx>

Inherits SGSampleGroup.

Public Member Functions

 FGFX (const std::string &refname, SGPropertyNode *props=0)
 
virtual ~FGFX ()
 
void init ()
 
void reinit ()
 
void update (double dt) override
 
void unbind ()
 

Detailed Description

Generator for FlightGear model sound effects.

This module uses a FGSampleGroup class to generate sound effects based on current flight conditions. The sound manager must be initialized before this object is.

This module will load and play a set of sound effects defined in an xml file and tie them to various property states.

Definition at line 47 of file fg_fx.hxx.

Constructor & Destructor Documentation

◆ FGFX()

FGFX::FGFX ( const std::string & refname,
SGPropertyNode * props = 0 )

Definition at line 46 of file fg_fx.cxx.

◆ ~FGFX()

FGFX::~FGFX ( )
virtual

Definition at line 106 of file fg_fx.cxx.

Member Function Documentation

◆ init()

void FGFX::init ( )

Definition at line 111 of file fg_fx.cxx.

◆ reinit()

void FGFX::reinit ( )

Definition at line 169 of file fg_fx.cxx.

◆ unbind()

void FGFX::unbind ( )

Definition at line 93 of file fg_fx.cxx.

◆ update()

void FGFX::update ( double dt)
override

Definition at line 180 of file fg_fx.cxx.


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