ADC Class Reference

#include <addac.h>

Inheritance diagram for ADC:

Inheritance graph
[legend]
Collaboration diagram for ADC:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ADC (ICNDocument *icnDocument, bool newItem, const char *id=0)
 ~ADC ()
virtual void stepNonLogic ()
virtual bool doesStepNonLogic () const

Static Public Member Functions

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

Protected Member Functions

virtual void initPins ()

Protected Attributes

LogicOutm_logic [max_ADDAC_bits]
ECNodem_realNode

Detailed Description

Author:
David Saxton
Random idiot: I presume this is an "Analog To Digital Converter". Class names do not necessarily relate to well known acronyms. =\

Definition at line 48 of file addac.h.


Member Function Documentation

virtual bool ADC::doesStepNonLogic (  )  const [inline, virtual]

If reinherit (and use) the stepNonLogic function, then you must also reinherit this function so that it returns true. Else your component will not get called.

Reimplemented from Component.

Definition at line 58 of file addac.h.

void ADC::initPins (  )  [protected, virtual]

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

Implements ADDAC.

Definition at line 109 of file addac.cpp.

References Component::createLogicOut(), Item::dataInt(), Component::ecNodeWithID(), Component::initDIP(), Component::initDIPSymbol(), m_logic, ADDAC::m_numBits, m_realNode, CNItem::removeDisplayText(), Component::removeElement(), and CNItem::removeNode().


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