Avionics
Dropship Simulator
Systems::Connector Class Reference

#include <Connector.h>

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

Public Member Functions

void FrameMove (double fTime, Logger *logger)
 

Public Attributes

GUID dependency
 
BaseComponentdependsOn = nullptr
 
D3DXVECTOR3 start
 
D3DXVECTOR3 end
 
- 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
 

Detailed Description

Todo:
are we worried about two connectors feeding from a component dividing the pressure/current/flow? Also if we do in/out we could have backflow situations which would be awesome!

Definition at line 8 of file Connector.h.

Member Function Documentation

◆ FrameMove()

void Systems::Connector::FrameMove ( double  fTime,
Logger logger 
)

and we push the propogatedLoad upstream

how complicated do we want to get? the size of the connector determines the maximum flow... the connector should have a maxPressure value, track in-consumption/loss-out?

Definition at line 5 of file Connector.cpp.

Member Data Documentation

◆ dependency

GUID Systems::Connector::dependency

Definition at line 11 of file Connector.h.

◆ dependsOn

BaseComponent* Systems::Connector::dependsOn = nullptr

Definition at line 12 of file Connector.h.

◆ end

D3DXVECTOR3 Systems::Connector::end

Definition at line 13 of file Connector.h.

◆ start

D3DXVECTOR3 Systems::Connector::start

Definition at line 13 of file Connector.h.


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