8 #include "BaseHyPerConnProbe.hpp" 12 BaseHyPerConnProbe::BaseHyPerConnProbe(
const char *name, HyPerCol *hc) { initialize(name, hc); }
14 BaseHyPerConnProbe::BaseHyPerConnProbe() {}
16 int BaseHyPerConnProbe::initialize(
const char *name, HyPerCol *hc) {
17 return BaseConnectionProbe::initialize(name, hc);
26 pvAssert(getTargetConn());
27 if (getTargetHyPerConn() ==
nullptr) {
28 if (parent->getCommunicator()->globalCommRank() == 0) {
30 "%s: targetConn \"%s\" must be a HyPerConn or " 31 "HyPerConn-derived class.\n",
33 mTargetConn->getName());
35 MPI_Barrier(parent->getCommunicator()->globalCommunicator());
46 return getTargetHyPerConn()->getLastUpdateTime();
49 BaseHyPerConnProbe::~BaseHyPerConnProbe() {}
virtual Response::Status communicateInitInfo(std::shared_ptr< CommunicateInitInfoMessage const > message) override
double getLastUpdateTime()
virtual bool needRecalc(double timevalue) override
static bool completed(Status &a)
virtual double referenceUpdateTime() const override
virtual Response::Status communicateInitInfo(std::shared_ptr< CommunicateInitInfoMessage const > message) override