FlightGear next
FGNasalModelDataProxy Class Reference

Thread-safe proxy for FGNasalModelData. More...

#include <NasalModelData.hxx>

Inherits simgear::SGModelData.

Public Member Functions

 FGNasalModelDataProxy (SGPropertyNode *root=0)
 
 ~FGNasalModelDataProxy ()
 
void modelLoaded (const std::string &path, SGPropertyNode *prop, osg::Node *branch)
 
virtual FGNasalModelDataProxyclone () const
 
ErrorContext getErrorContext () const override
 

Protected Attributes

SGPropertyNode_ptr _root
 
FGNasalModelDataRef _data
 

Detailed Description

Thread-safe proxy for FGNasalModelData.

modelLoaded/destroy methods only register the requested operation. Actual (un)loading of Nasal module is deferred and done in the main loop.

Definition at line 79 of file NasalModelData.hxx.

Constructor & Destructor Documentation

◆ FGNasalModelDataProxy()

FGNasalModelDataProxy::FGNasalModelDataProxy ( SGPropertyNode * root = 0)
inline

Definition at line 82 of file NasalModelData.hxx.

◆ ~FGNasalModelDataProxy()

FGNasalModelDataProxy::~FGNasalModelDataProxy ( )

Definition at line 182 of file NasalModelData.cxx.

Member Function Documentation

◆ clone()

virtual FGNasalModelDataProxy * FGNasalModelDataProxy::clone ( ) const
inlinevirtual

Definition at line 93 of file NasalModelData.hxx.

◆ getErrorContext()

ErrorContext FGNasalModelDataProxy::getErrorContext ( ) const
inlineoverride

Definition at line 95 of file NasalModelData.hxx.

◆ modelLoaded()

void FGNasalModelDataProxy::modelLoaded ( const std::string & path,
SGPropertyNode * prop,
osg::Node * branch )

Definition at line 195 of file NasalModelData.cxx.

Member Data Documentation

◆ _data

FGNasalModelDataRef FGNasalModelDataProxy::_data
protected

Definition at line 102 of file NasalModelData.hxx.

◆ _root

SGPropertyNode_ptr FGNasalModelDataProxy::_root
protected

Definition at line 101 of file NasalModelData.hxx.


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