- /// Ctor
- Connection(BlackBox* from, const std::string& output,
- BlackBox* to, const std::string& input,
- const Factory* f);
+
+ static Pointer New(BlackBoxPointer from, const std::string& output,
+ BlackBoxPointer to, const std::string& input,
+ const FactoryPointer f);
+ static Pointer New(BlackBoxPointer from, const std::string& output,
+ BlackBoxPointer to, const std::string& input);