-
- //=========================================================================
- /// Sets the ChangeTime of output
- void BlackBox::bbSetOutputChangeTime(BlackBoxOutputConnector* c,
- const ChangeTime& t)
- {
- bbtkDebugMessage("change",1,
- "==> BlackBox::bbSetOutputChangeTime("<<c<<","<<t<<") ["
- <<bbGetFullName()<<"]"<<std::endl);
-
- //ChangeTime old =
- c->SetChangeTime(t);
- // c->GetChangeTime() = t;
- // bbUpdateMinOutputChangeTime(t);
- // propagate
-
- }
- //=========================================================================
- */
-
- /*
- //=========================================================================
- void BlackBox::bbUpdateMaxInputChangeTime(const ChangeTime& t)
- {
-
-
- if ( t > mMaxInputChangeTime )
- {
- mMaxInputChangeTime = t;
- if ( mMinOutputChangeTime > mMaxInputChangeTime )
- {
-
- }
- }
-
- }
- //=========================================================================
-
- //=========================================================================
- void bbUpdateMinOutputChangeTime(const ChangeTime& t)
- {
- ChangeTime old = mMinOutputChangeTime;
- mMinOutputChangeTime = MAXLONG;
- OutputConnectorMapType::iterator i;
- for (i = bbGetOutputConnectorMap.begin();
- i != bbGetOutputConnectorMap.end();
- ++i)
- {
- if (i->second->GetChangeTime() < mMinOutputChangeTime)
- mMinOutputChangeTime = i->second->GetChangeTime();
- }
- if ( mMinOutputChangeTime < old )
- {
- }
-
- }
- //=========================================================================
- */
-
- //=========================================================================
- /// Signals that the BlackBox has been modified through
- /// the input connector c
- /// and propagates it downward
- /// ** NOT USER INTENDED **