FlightGear next
NasalMenu Class Reference

Inherits SGReferenced, and SGPropertyChangeListener.

Public Types

using ItemsVec = std::vector<NasalMenuItemPtr>
 

Public Member Functions

std::string label () const
 
std::string name () const
 
bool isEnabled () const
 
const ItemsVecitems () const
 
void aboutToShow ()
 
void initFromNode (SGPropertyNode_ptr config)
 

Protected Member Functions

void valueChanged (SGPropertyNode *prop) override
 

Detailed Description

Definition at line 126 of file FGNasalMenuBar.cxx.

Member Typedef Documentation

◆ ItemsVec

using NasalMenu::ItemsVec = std::vector<NasalMenuItemPtr>

Definition at line 130 of file FGNasalMenuBar.cxx.

Member Function Documentation

◆ aboutToShow()

void NasalMenu::aboutToShow ( )

Definition at line 293 of file FGNasalMenuBar.cxx.

◆ initFromNode()

void NasalMenu::initFromNode ( SGPropertyNode_ptr config)

Definition at line 266 of file FGNasalMenuBar.cxx.

◆ isEnabled()

bool NasalMenu::isEnabled ( ) const
inline

Definition at line 142 of file FGNasalMenuBar.cxx.

◆ items()

const ItemsVec & NasalMenu::items ( ) const
inline

Definition at line 147 of file FGNasalMenuBar.cxx.

◆ label()

std::string NasalMenu::label ( ) const
inline

Definition at line 132 of file FGNasalMenuBar.cxx.

◆ name()

std::string NasalMenu::name ( ) const
inline

Definition at line 137 of file FGNasalMenuBar.cxx.

◆ valueChanged()

void NasalMenu::valueChanged ( SGPropertyNode * prop)
overrideprotected

Definition at line 300 of file FGNasalMenuBar.cxx.


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