FACT++  1.0
void Status::Print ( std::ostream &  out)

Definition at line 65 of file HeadersPower.cc.

References fDriveFeedbackOn, fDriveMainSwitchOn, fPwr24VOn, fPwrBiasOn, fPwrDriveOn, fPwrPumpOn, fWaterFlowOk, fWaterLevelOk, kReset, and Print().

66 {
67  out << kReset << '\n';
68  out << "------- WATER -------\n";
69  Print(out, "level", fWaterLevelOk, "ok", "low");
70  Print(out, "flow", fWaterFlowOk, "ok", "low");
71  out << "------- POWER -------\n";
72  Print(out, "24V", fPwr24VOn);
73  Print(out, "pump", fPwrPumpOn);
74  Print(out, "bias", fPwrBiasOn);
75  Print(out, "drive", fPwrDriveOn);
76  out << "------- DRIVE -------\n";
77  Print(out, "feedback", fDriveFeedbackOn, "on", "off");
78  Print(out, "main", fDriveMainSwitchOn, "on", "off");
79  out << "---------------------" << endl;
80 }
void Print(std::ostream &out, const char *title, const bool &val, const char *t="enabled", const char *f="disabled")
Definition: HeadersPower.cc:56
bool fWaterLevelOk
Definition: HeadersPower.h:32
bool fDriveMainSwitchOn
Definition: HeadersPower.h:40
bool fDriveFeedbackOn
Definition: HeadersPower.h:41
Reset all attributes.
Definition: WindowLog.h:29

+ Here is the call graph for this function: