PetaVision  Alpha
BaseInitV.hpp
1 /*
2  * BaseInitV.hpp
3  *
4  * Created on: Oct 25, 2016
5  * Author: pschultz
6  */
7 
8 #ifndef BASEINITV_HPP_
9 #define BASEINITV_HPP_
10 
11 #include "columns/BaseObject.hpp"
12 
13 namespace PV {
14 
15 class BaseInitV : public BaseObject {
16  public:
17  BaseInitV(char const *name, HyPerCol *hc);
18  virtual ~BaseInitV();
19  virtual int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override;
20  virtual void calcV(float *V, PVLayerLoc const *loc);
21 
22  protected:
23  BaseInitV();
24  int initialize(char const *name, HyPerCol *hc);
25  virtual void setObjectType() override;
26 
27  private:
28  int initialize_base();
29 
30  public:
31  static string const mDefaultInitV;
32 }; // end class BaseInitV
33 
34 } // end namespace PV
35 
36 #endif /* BASEINITV_HPP_ */
virtual int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override
Definition: BaseInitV.cpp:34