104 void SetIdx(
unsigned int idx);
175 enum eSubSystems {
ssSimulation = 1,
ssAerosurfaces = 2,
ssRates = 4,
ssVelocities = 8,
ssForces = 16,
ssMoments = 32,
ssAtmosphere = 64,
ssMassProps = 128,
ssAeroFunctions = 256,
ssPropagate = 512,
ssGroundReactions = 1024,
ssFCS = 2048,
ssPropulsion = 4096
212 void Debug(
int from)
override;
Encapsulates the aerodynamic calculations.
Encapsulates an Aircraft and its systems.
Encapsulates various uncategorized scheduled functions.
Encapsulates the Buoyant forces calculations.
Manages the external and/or arbitrary forces and moments.
Manages ground reactions modeling.
Models weight, balance and moment of inertia information.
FGModel(FGFDMExec *)
Constructor.
eSubSystems
Subsystem types for specifying which will be output in the FDM data logging.
@ ssGroundReactions
Subsystem: Ground Reactions (= 1024)
@ ssMoments
Subsystem: Moments (= 32)
@ ssPropagate
Subsystem: Propagate (= 512)
@ ssPropulsion
Subsystem: Propulsion (= 4096)
@ ssSimulation
Subsystem: Simulation (= 1)
@ ssForces
Subsystem: Forces (= 16)
@ ssAerosurfaces
Subsystem: Aerosurfaces (= 2)
@ ssMassProps
Subsystem: Mass Properties (= 128)
@ ssFCS
Subsystem: FCS (= 2048)
@ ssRates
Subsystem: Body rates (= 4)
@ ssAtmosphere
Subsystem: Atmosphere (= 64)
@ ssAeroFunctions
Subsystem: Coefficients (= 256)
@ ssVelocities
Subsystem: Velocities (= 8)
virtual void SetOutputName(const std::string &name)
Overwrites the name identifier under which the output will be logged.
void SetSubSystems(int subSystems)
Set the activated subsystems for this output instance.
FGGroundReactions * GroundReactions
bool Toggle(void)
Toggles the output generation.
std::vector< FGPropertyValue * > OutputParameters
void Disable(void)
Disables the output generation.
FGAccelerations * Accelerations
FGPropulsion * Propulsion
void SetOutputProperties(std::vector< FGPropertyNode_ptr > &outputProperties)
Set the list of properties that should be output for this output instance.
FGOutputType(FGFDMExec *fdmex)
Constructor (implement the FGModel interface).
FGExternalReactions * ExternalReactions
void SetIdx(unsigned int idx)
Set the idx for this output instance.
FGAtmosphere * Atmosphere
virtual const std::string & GetOutputName(void) const
Get the name identifier to which the output will be directed.
~FGOutputType() override
Destructor.
bool Run(void)
Executes the output directives (implement the FGModel interface).
virtual void SetStartNewOutput(void)
Reset the output prior to a restart of the simulation.
void SetRateHz(double rtHz)
Set the output rate for this output instances.
FGMassBalance * MassBalance
std::vector< std::string > OutputCaptions
enum JSBSim::FGOutputType::eSubSystems subsystems
bool Load(Element *el) override
Init the output directives from an XML file (implement the FGModel interface).
FGAerodynamics * Aerodynamics
void Debug(int from) override
virtual void Print(void)=0
Generate the output.
double GetRateHz(void) const
Get the output rate in Hz for this output.
bool InitModel(void) override
Init the output model according to its configitation.
FGBuoyantForces * BuoyantForces
void Enable(void)
Enables the output generation.
Models the EOM and integration/propagation of state.
Represents a property value which can use late binding.
Propulsion management class.
Models atmospheric disturbances: winds, gusts, turbulence, downbursts, etc.