8 #ifndef INPUTREGIONLAYER_HPP_ 9 #define INPUTREGIONLAYER_HPP_ 11 #include "layers/HyPerLayer.hpp" 12 #include "layers/InputLayer.hpp" 25 virtual int requireChannel(
int channelNeeded,
int *numChannelsResult)
override;
26 virtual bool needUpdate(
double timestamp,
double dt)
override;
27 virtual bool activityIsSpiking()
override {
return false; }
28 InputLayer *getOriginalLayer() {
return originalLayer; }
32 int initialize(
const char *name,
HyPerCol *hc);
34 virtual void ioParam_originalLayerName(
enum ParamsIOFlag ioFlag);
35 virtual void ioParam_phase(
enum ParamsIOFlag ioFlag)
override;
42 virtual Response::Status
43 communicateInitInfo(std::shared_ptr<CommunicateInitInfoMessage const> message)
override;
45 void checkLayerDimensions();
46 virtual Response::Status allocateDataStructures()
override;
47 virtual void allocateGSyn()
override;
48 virtual void allocateV()
override;
49 virtual void allocateActivity()
override;
50 virtual int setActivity()
override;
53 int initialize_base();
56 char *originalLayerName;