8 #ifndef HYPERDELIVERYFACADE_HPP_ 9 #define HYPERDELIVERYFACADE_HPP_ 11 #include "delivery/BaseDelivery.hpp" 12 #include "delivery/HyPerDelivery.hpp" 59 virtual void deliver()
override;
61 virtual void deliverUnitInput(
float *recvBuffer)
override;
65 HyPerDelivery::AccumulateType getAccumulateType()
const {
return mAccumulateType; }
67 bool getUpdateGSynFromPostPerspective()
const {
return mUpdateGSynFromPostPerspective; }
69 bool getConvertRateToSpikeCount()
const {
return mConvertRateToSpikeCount; }
74 int initialize(
char const *name,
HyPerCol *hc);
76 virtual void setObjectType()
override;
80 void createDeliveryIntern();
82 virtual Response::Status
83 communicateInitInfo(std::shared_ptr<CommunicateInitInfoMessage const> message)
override;
86 virtual Response::Status
87 setCudaDevice(std::shared_ptr<SetCudaDeviceMessage const> message)
override;
90 virtual Response::Status allocateDataStructures()
override;
94 HyPerDelivery::AccumulateType mAccumulateType = HyPerDelivery::CONVOLVE;
96 char *mAccumulateTypeString =
nullptr;
97 bool mUpdateGSynFromPostPerspective =
false;
101 bool mConvertRateToSpikeCount =
false;
108 #endif // HYPERDELIVERYFACADE_HPP_ virtual bool isAllInputReady() override
virtual void ioParam_updateGSynFromPostPerspective(enum ParamsIOFlag ioFlag)
updateGSynFromPostPerspective: Specifies if the connection should push from pre or pull from post...
virtual void ioParam_accumulateType(enum ParamsIOFlag ioFlag)
pvpatchAccumulateType: Specifies the method to accumulate synaptic input
virtual int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override