+ return (p->mConnection != 0);
+ }
+ //========================================================================
+
+
+ //========================================================================
+ /// Returns the status of the input
+ IOStatus BlackBoxInputConnector::GetStatus() const
+ {
+ return p->mStatus;
+ }
+ //========================================================================
+
+ //========================================================================
+ /// Sets the status of the input
+ void BlackBoxInputConnector::SetStatus(IOStatus s)
+ {
+ p->mStatus = s;
+ }
+ //========================================================================
+
+
+
+ //========================================================================
+ /// Returns the black box which owns the connector
+ BlackBoxPointer BlackBoxInputConnector::GetBlackBox() const
+ {
+ return p->mBox.lock();
+ }
+
+ //========================================================================
+
+ //========================================================================
+ void BlackBoxInputConnector::SetConnection(Connection* c)
+ {
+ bbtkDebugMessage("kernel",9,
+ "["<<p->mBox.lock()->bbGetName()
+ <<"] BlackBoxInputConnector::SetConnection("<<c<<")"<<std::endl);
+ p->mConnection = c;
+ }
+ //========================================================================
+
+ //========================================================================
+ void BlackBoxInputConnector::UnsetConnection(Connection* c)
+ {
+ bbtkDebugMessage("kernel",9,
+ "["<<p->mBox.lock()->bbGetName()
+ <<"] BlackBoxInputConnector::UnsetConnection("