AdcAnalogPin Class Reference

Pin class to provide a analog input signal. More...

#include <adcpin.h>

Inheritance diagram for AdcAnalogPin:
Inheritance graph
[legend]
Collaboration diagram for AdcAnalogPin:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void setAnalogValue (int value) throw ()
 Set the analog value and propagte through Net.

Detailed Description

Pin class to provide a analog input signal.

This class allows the analog simulator access to the analogValue field of the pin and causes the Net to update (CalcNet). Note there is no dependency on the UserInterface class.

Definition at line 36 of file adcpin.h.


Member Function Documentation

void AdcAnalogPin::setAnalogValue ( int  value  )  throw () [inline]

Set the analog value and propagte through Net.

Definition at line 40 of file adcpin.h.

References Pin::analogValue, Net::CalcNet(), and Pin::connectedTo.

Referenced by AdcPin::Step().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Generated on Sun Feb 12 16:45:04 2012 for Simulavr by  doxygen 1.6.3