|
FlightGear next
|
Models a column of our atmosphere by stacking a number of environments above each other. More...
Inherits std::vector< LayerTableBucket * >, and SGPropertyChangeListener.
Public Member Functions | |
| LayerTable (SGPropertyNode_ptr rootNode) | |
| ~LayerTable () | |
| void | read (FGEnvironment *parent=NULL) |
| Read the environment column from properties relative to the given root node. | |
| void | interpolate (double altitude_ft, FGEnvironment *environment) |
| Interpolate and write environment values for a given altitude. | |
| void | Bind () |
| Bind all environments properties to property nodes and initialize the listeners. | |
| void | Unbind () |
| Unbind all environments properties from property nodes and deregister listeners. | |
Models a column of our atmosphere by stacking a number of environments above each other.
Definition at line 59 of file environment_ctrl.cxx.
|
inline |
Definition at line 62 of file environment_ctrl.cxx.
| Environment::LayerTable::~LayerTable | ( | ) |
Definition at line 136 of file environment_ctrl.cxx.
| void Environment::LayerTable::Bind | ( | ) |
Bind all environments properties to property nodes and initialize the listeners.
Definition at line 196 of file environment_ctrl.cxx.
| void Environment::LayerTable::interpolate | ( | double | altitude_ft, |
| FGEnvironment * | environment ) |
Interpolate and write environment values for a given altitude.
| altitude_ft | The altitude for the desired environment @environment the destination to write the resulting environment properties to |
Definition at line 246 of file environment_ctrl.cxx.
| void Environment::LayerTable::read | ( | FGEnvironment * | parent = NULL | ) |
Read the environment column from properties relative to the given root node.
| environment | A template environment to copy values from, not given in the configuration |
Definition at line 142 of file environment_ctrl.cxx.
| void Environment::LayerTable::Unbind | ( | ) |
Unbind all environments properties from property nodes and deregister listeners.
Definition at line 209 of file environment_ctrl.cxx.