#include <binarycounter.h>
Inheritance diagram for BinaryCounter:


Public Member Functions | |
| BinaryCounter (ICNDocument *icnDocument, bool newItem, const char *id=0) | |
| ~BinaryCounter () | |
| 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 | inStateChanged (bool state) |
| void | rStateChanged (bool state) |
| void | enStateChanged (bool state) |
| void | udStateChanged (bool state) |
| void | outputValue () |
| void | dataChanged () |
| void | initPins (unsigned numBits) |
Protected Attributes | |
| LogicIn * | enLogic |
| LogicIn * | inLogic |
| LogicIn * | rLogic |
| LogicIn * | udLogic |
| LogicOut * | m_pLogicOut [26] |
| unsigned | m_numBits |
| bool | b_triggerHigh |
| bool | b_en |
| bool | b_ud |
| bool | b_oldIn |
| bool | b_reset |
| long | m_value |
| long | m_maxValue |
| bool | m_bDoneLogicIn |
Simple logic counter. 4 Inputs, 4 Outputs.
Outputs (A-D) represent the stored value (0-15). The inputs are:
Definition at line 33 of file binarycounter.h.
| virtual bool BinaryCounter::canFlip | ( | ) | const [inline, virtual] |
Whether or not we can flip the item
Reimplemented from Item.
Definition at line 39 of file binarycounter.h.
1.5.1