Avionics
Dropship Simulator
Systems Namespace Reference

These have to be in this order. More...

Classes

class  BaseComponent
 
class  Battery
 
class  Combustion
 Combustion Chamber is very specific, on or off set, we get the pulses. More...
 
class  Component
 
class  Connector
 
class  Dependency
 
class  Igniter
 Igniter is very specific, on or off set, we get the pulses. More...
 
class  N1
 N1 is very specific, load differential. More...
 
class  N2
 N2 is very specific, load differential. More...
 
class  Real
 real components simply take setState and apply it to currentState, they run their own fault states More...
 
class  Relay
 
class  Starter
 starter is very specific, load differential More...
 
class  Switch
 Switch is a direct-set (no control voltage, command from bus from physical switch) which takes a supply and propogates it, no load. More...
 
class  TempSensor
 Temperature sensor reads data from setState (or attached component?) and puts it on currentState assuming nothing is wrong with the sensor. More...
 
class  Virtualization
 

Enumerations

enum  System {
  Undefined, Propulsion, Hydraulic, Cooling,
  Oxidizer, Fuel, Electrical, Control,
  Data, Weapons, Defense, Communication
}
 
enum  ComponentType {
  Reservoir = 0, PressurePump = 1, DisplacementPump = 2, Hard_Switch = 3,
  Solenoid_Relay = 4, Optocoupler = 5, Actuator = 6, Intercooler = 7,
  Sensor_Pressure = 8, Sensor_Flow = 9, Sensor_Quantity = 10, Sensor_Position = 11,
  Sensor_Temperature = 12, Sensor_Vibration = 13, Sensor_Rotation = 14, Combustion_Chamber = 15,
  Hardpoint = 16, Sensor_Real = 17, N1_ = 18, N2_ = 19,
  Motor_ = 20, BlackBoxModule = 21, Igniter_ = 22
}
 
enum  Fault : DWORD {
  None = 0, NoSignal = 1, Status1 = 2, Status2 = 4,
  Status3 = 8
}
 

Detailed Description

These have to be in this order.

Class for virtualization.

Base class for components Components are the pumps, sensors, tanks, valves, etc.

Enumeration Type Documentation

◆ ComponentType

Enumerator
Reservoir 

Tank, battery.

PressurePump 

Hydraulic pump.

DisplacementPump 

Charger, coolant pump, cooling fan motor.

Hard_Switch 

Hard switch.

Solenoid_Relay 

Uses control voltage control to turn on and off flow.

Optocoupler 

Uses data control to turn on and off flow.

Actuator 

Movement.

Intercooler 

Heat exchange.

Sensor_Pressure 
Sensor_Flow 
Sensor_Quantity 
Sensor_Position 
Sensor_Temperature 
Sensor_Vibration 
Sensor_Rotation 
Combustion_Chamber 
Hardpoint 
Sensor_Real 

Is a real environment-related simulator sensor.

N1_ 
N2_ 
Motor_ 
BlackBoxModule 
Igniter_ 

Definition at line 21 of file Enumerations.h.

◆ Fault

enum Systems::Fault : DWORD
Enumerator
None 
NoSignal 
Status1 
Status2 
Status3 

Definition at line 57 of file Enumerations.h.

◆ System

Enumerator
Undefined 
Propulsion 
Hydraulic 
Cooling 
Oxidizer 
Fuel 
Electrical 
Control 
Data 
Weapons 
Defense 
Communication 

Definition at line 5 of file Enumerations.h.