PetaVision  Alpha
ZeroV.hpp
1 /*
2  * ConstantV.hpp
3  *
4  * Created on: Oct 26, 2011
5  * Author: pschultz
6  */
7 
8 #ifndef ZEROV_HPP_
9 #define ZEROV_HPP_
10 
11 #include "ConstantV.hpp"
12 
13 namespace PV {
14 
15 class ZeroV : public ConstantV {
16  protected:
26  virtual void ioParam_valueV(enum ParamsIOFlag ioFlag) override;
29  public:
30  ZeroV(const char *name, HyPerCol *hc);
31  virtual ~ZeroV();
32 
33  protected:
34  ZeroV();
35  int initialize(const char *name, HyPerCol *hc);
36 
37  private:
38  int initialize_base();
39 }; // end class ZeroV
40 
41 } // end namespace PV
42 
43 #endif /* ZEROV_HPP_ */
virtual void ioParam_valueV(enum ParamsIOFlag ioFlag) override
valueV: ZeroV does not read valueV but sets it to zero.
Definition: ZeroV.cpp:28