#include <demultiplexer.h>
Inheritance diagram for Demultiplexer:


Public Member Functions | |
| Demultiplexer (ICNDocument *icnDocument, bool newItem, const char *id=0) | |
| ~Demultiplexer () | |
| 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< LogicOut > | m_xLogic |
| LogicIn * | m_input |
Definition at line 22 of file demultiplexer.h.
| 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().
1.5.1