Multiplexer Class Reference

#include <multiplexer.h>

Inheritance diagram for Multiplexer:

Inheritance graph
[legend]
Collaboration diagram for Multiplexer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Multiplexer (ICNDocument *icnDocument, bool newItem, const char *id=0)
 ~Multiplexer ()
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< LogicInm_xLogic
LogicOutm_output

Detailed Description

Author:
David Saxton

Definition at line 22 of file multiplexer.h.


Member Function Documentation

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

Whether or not we can flip the item

Reimplemented from Item.

Definition at line 28 of file multiplexer.h.

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

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

Definition at line 97 of file multiplexer.cpp.

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

Referenced by dataChanged().


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