#include <multiplexer.h>
Inheritance diagram for Multiplexer:


Public Member Functions | |
| Multiplexer (ICNDocument *icnDocument, bool newItem, const char *id=0) | |
| ~Multiplexer () | |
| virtual bool | canFlip () const |
Static Public Member Functions | |
| static Item * | construct (ItemDocument *itemDocument, bool newItem, const char *id) |
| static LibraryItem * | libraryItem () |
Protected Member Functions | |
| void | dataChanged () |
| void | initPins (unsigned addressSize) |
| void | inStateChanged (bool newState) |
Protected Attributes | |
| QPtrVector< LogicIn > | m_aLogic |
| QPtrVector< LogicIn > | m_xLogic |
| LogicOut * | m_output |
Definition at line 22 of file multiplexer.h.
| 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().
1.5.1