PetaVision
Alpha
Main Page
Data Structures
ConstantLayer.hpp
1
/*
2
* ConstantLayer.hpp
3
*
4
* Created on: Dec 17, 2013
5
* Author: slundquist
6
*/
7
8
#ifndef CONSTANTLAYER_HPP_
9
#define CONSTANTLAYER_HPP_
10
11
#include "HyPerLayer.hpp"
12
13
namespace
PV
{
14
15
class
ConstantLayer
:
public
PV::HyPerLayer
{
16
public
:
17
ConstantLayer
(
const
char
*name,
HyPerCol
*hc);
18
virtual
~
ConstantLayer
();
19
virtual
bool
needUpdate
(
double
timestamp,
double
dt)
override
;
20
21
protected
:
22
ConstantLayer
();
23
int
initialize(
const
char
*name,
HyPerCol
*hc);
24
34
virtual
void
ioParam_triggerLayerName
(
enum
ParamsIOFlag ioFlag)
override
;
// End list of ConstantLayer parameters
36
37
virtual
Response::Status
38
communicateInitInfo(std::shared_ptr<CommunicateInitInfoMessage const> message)
override
;
39
40
private
:
41
int
initialize_base();
42
};
// class ConstantLayer
43
44
}
/* namespace PV */
45
#endif
PV::HyPerCol
Definition:
HyPerCol.hpp:41
PV::HyPerLayer
Definition:
HyPerLayer.hpp:64
PV::ConstantLayer::ioParam_triggerLayerName
virtual void ioParam_triggerLayerName(enum ParamsIOFlag ioFlag) override
ConstantLayer does not use triggerLayerName.
Definition:
ConstantLayer.cpp:32
PV::ConstantLayer
Definition:
ConstantLayer.hpp:15
PV::ConstantLayer::needUpdate
virtual bool needUpdate(double timestamp, double dt) override
Definition:
ConstantLayer.cpp:47
PV
Definition:
CheckpointableFileStream.cpp:3
OpenPV
src
layers
ConstantLayer.hpp
Generated by
1.8.11