8         sensorPsi = 
bus->GetComponentCurrentStatePtr(
"0E1C068F-F901-4C1A-AC12-10F53E894579");
    23                 if (command.
delay != 0.0f) 
continue;
    25                 bool processed = 
false;
    33                         newCommand.
name = 
"Open Door";
    36                         newCommand.
name = 
"Open Door";
    38                         newCommand.
delay = 3.0f;
    41                         newCommand.
name = 
"StartRecord";
    43                         newCommand.
delay = 3.0f;
    46                 else if ((command.
name == 
"Close Door Request" || (command.
name == 
"Door Toggle Request" && 
open)) && 
timeSinceLast >= 3.5f)
    53                         newCommand.
name = 
"Close Door";
    56                         newCommand.
name = 
"Close Door";
    58                         newCommand.
delay = 3.0f;
    61                         newCommand.
name = 
"StopRecord";
    63                         newCommand.
delay = 3.0f;
    66                 else if (command.
name == 
"Compressor Power Request")
    78 #pragma region Backup Compressor 
std::vector< Command > commandStream
 
Door(Bus *prmBus, Logger *prmLogger)
 
void FrameMove(float fElapsedTime) override
 
std::string name
command name 
 
Abstract base class for modules By definition, instruments don't do any of the work (they don't modif...
 
void Log(const char *msg, Level level=Info, int errorCode=0)
These have to be in this order. 
 
float * GetComponentSetStatePtr(std::string guidStr)
 
float delay
wait number of seconds before executing command