Avionics
Dropship Simulator
Systems::N1 Class Reference

N1 is very specific, load differential. More...

#include <Component.h>

Inheritance diagram for Systems::N1:
[legend]
Collaboration diagram for Systems::N1:
[legend]

Public Member Functions

 N1 (Logger *prmLogger)
 
void FrameMove (double fTime) override
 this is a generic unimplemented component framemove, eventually make a pure virtual function? More...
 
- Public Member Functions inherited from Systems::Component
 Component (Logger *prmLogger)
 
virtual ~Component ()
 
float EvaluateDependency (System system)
 
void PropogateLoad (System system)
 

Additional Inherited Members

- Public Attributes inherited from Systems::Component
GUID attachedTo
 
ComponentattachedToComponent = nullptr
 
std::string name
 
std::vector< Dependencydependencies
 
float averageServiceLife = 0.0f
 Average service life in hours. More...
 
float serviceLifeCycleHit = 0.0f
 Power-on service life cycle hit. More...
 
float weight = 0.0f
 
float cost = 0.0f
 
float pickupPressure = 0.0f
 Minimum pressure/voltage to activate. More...
 
float dropoutPressure = 0.0f
 Minimum pressure/voltage to keep active. More...
 
float maxPressure = 0.0f
 
float loadDraw = 0.0f
 
float minTemp = 0.0f
 
float maxTemp = 0.0f
 
float maxCapacity = 0.0f
 
std::string make
 
std::string model
 
std::string description
 
float temperature = 0.0f
 componentInfo More...
 
float serviceLifeRemaining = 0.0f
 
float setState = -999.0f
 
float currentState = -999.0f
 
double lastTimeProcessed = 0
 these don't get stored anywhere More...
 
float currentLoad = 0
 
- Public Attributes inherited from Systems::BaseComponent
GUID guid
 
std::string guidStr
 
System system
 
D3DXVECTOR3 location
 
float capacityPressureEtc
 propogated supply More...
 
float propogatedLoad
 propogated demand More...
 
int hpPhysical
 
int hpEnergy
 
float hpPhysicalRemaining
 
float hpEnergyRemaining
 
Fault fault = Fault::NoSignal
 
- Protected Attributes inherited from Systems::Component
Loggerlogger = nullptr
 

Detailed Description

N1 is very specific, load differential.

Definition at line 147 of file Component.h.

Constructor & Destructor Documentation

◆ N1()

Systems::N1::N1 ( Logger prmLogger)
inline

Definition at line 150 of file Component.h.

Member Function Documentation

◆ FrameMove()

void Systems::N1::FrameMove ( double  fTime)
overridevirtual

this is a generic unimplemented component framemove, eventually make a pure virtual function?

setState gets set by FADEC 0-1 to represent percent RPM from 0-100% currentState comes back some value below setState based on service life, damage faults could be short, etc
THIS IS WRONG, we need to look at last evaluated time and take difference

this is to expose it on the bus methods... for a bus bar this makes sense because currentState is unused...

Reimplemented from Systems::Component.

Definition at line 5 of file N1.cpp.


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