IMS2
Pre-Alpha
An Orbiter add-on to allow on-runtime construction of spacecraft from predefined modules
|
This class contains non-orbiter specific static data about a module that is the same for every module. More...
Public Member Functions | |
virtual bool | LoadFromFile (string configfile, IMSFILE cfg) |
Loads the data from an Orbiter cfg. More... | |
double | getMass () |
string | getName () |
vector< IMS_ModuleFunctionData_Base * > & | GetFunctionData () |
Protected Attributes | |
double | _mass |
Stores the dry mass of this module. | |
string | _name |
Stores the name of this module. | |
vector< IMS_ModuleFunctionData_Base * > | functiondata |
A list containing static data of all ModuleFunctions in this module. | |
This class contains non-orbiter specific static data about a module that is the same for every module.
These parameters are valid for any IMS module:
|
inline |
double IMS_General_ModuleData::getMass | ( | ) |
string IMS_General_ModuleData::getName | ( | ) |
|
virtual |
Loads the data from an Orbiter cfg.
configfile | The name of the configfile |
cfg | The IMSFILE structure wrapping the cfg file in an appropriate format for the current platform |