FlightGear next
FDMShell Class Reference

Wrap an FDM implementation in a subsystem with standard semantics Notably, deal with the various cases in which update() should not be called, such as replay or before scenery has loaded. More...

#include <fdm_shell.hxx>

Inherits SGSubsystem.

Public Member Functions

 FDMShell ()
 
 ~FDMShell () override
 
void bind () override
 
void init () override
 
void postinit () override
 
void reinit () override
 
void shutdown () override
 
void unbind () override
 
void update (double dt) override
 
FGInterfacegetInterface () const
 

Static Public Member Functions

static const char * staticSubsystemClassId ()
 

Detailed Description

Wrap an FDM implementation in a subsystem with standard semantics Notably, deal with the various cases in which update() should not be called, such as replay or before scenery has loaded.

This class also provides the factory method which creates the specific FDM class (createImplementation)

Definition at line 43 of file fdm_shell.hxx.

Constructor & Destructor Documentation

◆ FDMShell()

FDMShell::FDMShell ( )

Definition at line 66 of file fdm_shell.cxx.

◆ ~FDMShell()

FDMShell::~FDMShell ( )
override

Definition at line 70 of file fdm_shell.cxx.

Member Function Documentation

◆ bind()

void FDMShell::bind ( )
override

Definition at line 151 of file fdm_shell.cxx.

◆ getInterface()

FGInterface * FDMShell::getInterface ( ) const

Definition at line 283 of file fdm_shell.cxx.

◆ init()

void FDMShell::init ( )
override

Definition at line 74 of file fdm_shell.cxx.

◆ postinit()

void FDMShell::postinit ( )
override

Definition at line 100 of file fdm_shell.cxx.

◆ reinit()

void FDMShell::reinit ( )
override

Definition at line 136 of file fdm_shell.cxx.

◆ shutdown()

void FDMShell::shutdown ( )
override

Definition at line 116 of file fdm_shell.cxx.

◆ staticSubsystemClassId()

static const char * FDMShell::staticSubsystemClassId ( )
inlinestatic

Definition at line 59 of file fdm_shell.hxx.

◆ unbind()

void FDMShell::unbind ( )
override

Definition at line 162 of file fdm_shell.cxx.

◆ update()

void FDMShell::update ( double dt)
override

Definition at line 191 of file fdm_shell.cxx.


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