17 #ifndef REQUIREALLZEROACTIVITYPROBE_HPP_ 18 #define REQUIREALLZEROACTIVITYPROBE_HPP_ 20 #include "../columns/HyPerCol.hpp" 21 #include "StatsProbe.hpp" 29 virtual Response::Status
outputState(
double timed)
override;
31 bool getNonzeroFound() {
return nonzeroFound; }
32 double getNonzeroTime() {
return nonzeroTime; }
37 int initialize(
const char *name,
HyPerCol *hc);
38 virtual void ioParam_buffer(
enum ParamsIOFlag ioFlag)
override;
72 int initialize_base();
74 void nonzeroFoundMessage(
double badTime,
bool isRoot,
bool fatalError);
77 bool nonzeroFound =
false;
78 bool exitOnFailure =
true;
79 bool immediateExitOnFailure =
true;
80 double nonzeroTime = 0.0;
virtual void ioParam_immediateExitOnFailure(enum ParamsIOFlag ioFlag)
immediateExitOnFailure: determines when finding a nonzero value causes an exit with an error...
virtual Response::Status outputState(double timed) override
int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override
virtual void ioParam_exitOnFailure(enum ParamsIOFlag ioFlag)
exitOnFailure: If true, will error out if a nonzero value is encountered. Default is true...