27 sprintf_s(msg, 199,
"Bus::FrameMove Command sat on the stack for too long (%.1fs): %s",
commandStream.at(i).ttl,
commandStream.at(i).name.c_str());
45 for (UINT j = 0; j < commands->size(); j++)
47 if (commands->at(j).name ==
"Component")
50 if (commands->at(j).fvalue == -1.0f)
61 std::string msg =
"Bus::AppendCommands Adding command: " + commands->at(j).name;
104 sprintf_s(str, 199,
"Bus::GetComponentStateFloat could not find component: %s", guidStr.c_str());
120 sprintf_s(str, 199,
"Bus::GetComponentSetStatePtr could not find component: %s", guidStr.c_str());
125 float* Bus::GetComponentCurrentStatePtr(std::string guidStr)
136 sprintf_s(str, 199,
"Bus::GetComponentCurrentStatePtr could not find component: %s", guidStr.c_str());
152 sprintf_s(str, 199,
"Bus::GetComponentFaultStatePtr could not find component: %s", guidStr.c_str());
double ProgramTime
Identified a need for these in modules.
std::vector< Command > commandStream
Systems::Fault * GetComponentFaultStatePtr(std::string guidStr)
Systems::Component * GetComponent(std::string guidStr)
void AppendCommands(std::vector< Command > *commands)
void FrameMove(float fElapsed, double fTime)
void Log(const char *msg, Level level=Info, int errorCode=0)
These have to be in this order.
std::vector< Systems::Component * > components
SYSTEMS SUPPORT.
float * GetComponentSetStatePtr(std::string guidStr)
bool IsCommandOnStack(std::string commandName)
_SYSTEMTIME Time
this section is required flight data (FDR)