PetaVision  Alpha
PvpLayer.hpp
1 #ifndef __PVPLAYER_HPP__
2 #define __PVPLAYER_HPP__
3 
4 #include "InputLayer.hpp"
5 #include "utils/BufferUtilsPvp.hpp"
6 
7 namespace PV {
8 
9 class PvpLayer : public InputLayer {
10 
11  protected:
12  PvpLayer() {}
13  virtual int countInputImages() override;
14  virtual Buffer<float> retrieveData(int inputIndex) override;
15 
16  public:
17  PvpLayer(const char *name, HyPerCol *hc);
18  virtual ~PvpLayer();
19  virtual Response::Status allocateDataStructures() override;
20 
21  private:
22  struct BufferUtils::SparseFileTable sparseTable;
23 };
24 }
25 
26 #endif
virtual int countInputImages() override
Definition: PvpLayer.cpp:18
virtual Buffer< float > retrieveData(int inputIndex) override
Definition: PvpLayer.cpp:30