8 #ifndef BASEDELIVERY_HPP_ 9 #define BASEDELIVERY_HPP_ 11 #include "columns/BaseObject.hpp" 12 #include "components/ConnectionData.hpp" 13 #include "layers/HyPerLayer.hpp" 45 virtual void deliver() {}
47 virtual void deliverUnitInput(
float *recvBuffer) {}
54 ChannelType getChannelCode()
const {
return mChannelCode; }
55 bool getReceiveGpu()
const {
return mReceiveGpu; }
56 HyPerLayer *getPreLayer()
const {
return mPreLayer; }
57 HyPerLayer *getPostLayer()
const {
return mPostLayer; }
62 int initialize(
char const *name,
HyPerCol *hc);
64 virtual void setObjectType()
override;
68 virtual Response::Status
69 communicateInitInfo(std::shared_ptr<CommunicateInitInfoMessage const> message)
override;
72 ChannelType mChannelCode = CHANNEL_EXC;
73 bool mReceiveGpu =
false;
83 #endif // BASEDELIVERY_HPP_
virtual void ioParam_receiveGpu(enum ParamsIOFlag ioFlag)
receiveGpu: If PetaVision was compiled with GPU acceleration and this flag is set to true...
virtual bool isAllInputReady()
int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override
virtual void ioParam_channelCode(enum ParamsIOFlag ioFlag)
channelCode: Specifies which channel in the post layer this connection is attached to ...