+
+ //========================================================================
+ /// Returns true iff a connection is connected to it
+ bool BlackBoxInputConnector::IsConnected() const
+ {
+ 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();
+ }
+
+ //========================================================================
+
+ //========================================================================