PetaVision  Alpha
PointLIFProbe.hpp
1 /*
2  * PointLIFProbe.hpp
3  *
4  * Created on: Mar 10, 2009
5  * Author: rasmussn
6  */
7 
8 #ifndef POINTLIFPROBE_HPP_
9 #define POINTLIFPROBE_HPP_
10 
11 #include "PointProbe.hpp"
12 
13 namespace PV {
14 
15 class PointLIFProbe : public PointProbe {
16  public:
17  PointLIFProbe(const char *name, HyPerCol *hc);
18 
19  protected:
20  PointLIFProbe();
21  int initialize(const char *name, HyPerCol *hc);
22  virtual int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override;
23  virtual void ioParam_writeStep(enum ParamsIOFlag ioFlag);
24 
28  virtual void initNumValues() override;
29 
39  virtual void calcValues(double timevalue) override;
40 
41  virtual void writeState(double timevalue) override;
42 
43  private:
44  int initialize_base();
45 
46  protected:
47  double writeTime; // time of next output
48  double writeStep; // output time interval
49 
50 }; // end class PointLIFProbe
51 }
52 
53 #endif /* POINTLIFPROBE_HPP_ */
virtual void initNumValues() override
virtual int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override
virtual void calcValues(double timevalue) override
virtual void writeState(double timevalue) override