Logo Search packages:      
Sourcecode: ktechlab version File versions  Download package

void LogicIn::setElementSet ( ElementSet c  )  [virtual]

This must be called when the circuit is changed. The function will get all the required pointers from ElementSet

Reimplemented from Element.

Reimplemented in LogicOut.

Definition at line 76 of file logic.cpp.

References Element::m_cnodeI, and Element::setElementSet().

Referenced by LogicOut::setElementSet(), and CircuitDocument::tryAsLogicCircuit().

{
      if (c)
            m_pNextLogic = 0l;
      else
            m_cnodeI[0] = 0.;
      
      Element::setElementSet(c);
}


Generated by  Doxygen 1.6.0   Back to index