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

void LogicIn::setCallback ( CallbackClass *  object,
CallbackPtr  func 
) [inherited]

When the logic state on this LogicIn changes, the function passed in this function will be called. At most one Callback can be added per LogicIn.

Definition at line 51 of file logic.cpp.

Referenced by Demultiplexer::initPins().

{
      m_pCallbackFunction = func;
      m_pCallbackObject = object;
}


Generated by  Doxygen 1.6.0   Back to index