+ /// Sets the initial black box of the connection
+ void SetBlackBoxFrom(BlackBoxPointer b) { mFrom = b; }
+ /// Sets the final black box of the connection
+ void SetBlackBoxTo(BlackBoxPointer b) { mTo = b; }
+ /// Sets the output of the initial black box of the connection
+ void SetBlackBoxFromOutput(const std::string& o) { mOutput = o; }
+ /// Sets the input of the final black box of the connection
+ void SetBlackBoxToInput(const std::string& o) { mInput = o; }
+
+ /// Checks that the connection is ok (throws error if not)
+ void Check() const;
+