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