Avionics
Dropship Simulator
Connector.cpp
Go to the documentation of this file.
1 #include "Connector.h"
2 
3 namespace Systems
4 {
5  void Connector::FrameMove(double fTime, Logger* logger)
6  {
7  // all we do is flow from dependency (component or connector) to this one
9 
11  /*if (propogatedLoad != dependsOn->propogatedLoad)
12  {
13  char msg[199];
14  sprintf_s(msg, 199, "Propogating load from connector %s to dependency %s: %f (was %f)", guidStr.c_str(), dependsOn->guidStr.c_str(), propogatedLoad, dependsOn->propogatedLoad);
15  logger->Log(msg);
16  }*/
18 
19  // analyze fault and potentially leak, interrupt, etc
20 
23  }
24 }
float propogatedLoad
propogated demand
Definition: BaseComponent.h:26
Definition: Logger.h:5
These have to be in this order.
Definition: BaseComponent.h:12
void FrameMove(double fTime, Logger *logger)
Definition: Connector.cpp:5
Logger logger
Definition: Avionics.cpp:17
float capacityPressureEtc
propogated supply
Definition: BaseComponent.h:24
BaseComponent * dependsOn
Definition: Connector.h:12