Demultiplexer Class Reference

#include <demultiplexer.h>

Inheritance diagram for Demultiplexer:

Inheritance graph
[legend]
Collaboration diagram for Demultiplexer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Demultiplexer (ICNDocument *icnDocument, bool newItem, const char *id=0)
 ~Demultiplexer ()
virtual bool canFlip () const

Static Public Member Functions

static Itemconstruct (ItemDocument *itemDocument, bool newItem, const char *id)
static LibraryItemlibraryItem ()

Protected Member Functions

void dataChanged ()
void initPins (unsigned addressSize)
void inStateChanged (bool newState)

Protected Attributes

QPtrVector< LogicInm_aLogic
QPtrVector< LogicOutm_xLogic
LogicInm_input

Detailed Description

Author:
David Saxton

Definition at line 22 of file demultiplexer.h.


Member Function Documentation

virtual bool Demultiplexer::canFlip (  )  const [inline, virtual]

Whether or not we can flip the item

Reimplemented from Item.

Definition at line 28 of file demultiplexer.h.

void Demultiplexer::initPins ( unsigned  addressSize  )  [protected]

Add / remove pins according to the number of inputs the user has requested

Definition at line 104 of file demultiplexer.cpp.

References Component::createLogicIn(), Component::createLogicOut(), Component::ecNodeWithID(), Component::initDIP(), Component::initDIPSymbol(), inStateChanged(), m_aLogic, m_input, m_xLogic, CNItem::removeDisplayText(), Component::removeElement(), CNItem::removeNode(), and LogicIn::setCallback().

Referenced by dataChanged().


The documentation for this class was generated from the following files:
Generated on Tue May 8 17:05:38 2007 for KTechLab by  doxygen 1.5.1