9 #include "delivery/WTADelivery.hpp" 15 WTAConn::WTAConn(
const char *name, HyPerCol *hc) { initialize(name, hc); }
17 int WTAConn::initialize(
const char *name, HyPerCol *hc) {
18 int status = BaseConnection::initialize(name, hc);
22 BaseDelivery *WTAConn::createDeliveryObject() {
23 BaseObject *baseObject = Factory::instance()->createByKeyword(
"WTADelivery", name, parent);
24 WTADelivery *deliveryObject =
dynamic_cast<WTADelivery *
>(baseObject);
25 pvAssert(deliveryObject);
26 return deliveryObject;
29 void WTAConn::defineComponents() {
30 BaseConnection::defineComponents();
31 auto *singleArbor = createSingleArbor();
37 SingleArbor *WTAConn::createSingleArbor() {
return new SingleArbor(name, parent); }
virtual void addObserver(Observer *observer) override