OpenDrain Class Reference

Open drain Pin class, a special pin with open drain behavior. More...

#include <pin.h>

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

List of all members.

Public Member Functions

 OpenDrain (Pin *p)
virtual operator bool () const
virtual Pin operator+ (const Pin &p)
virtual Pin operator+= (const Pin &p)
virtual Pin GetPin ()
 "cast method" to get back a Pin instance
void RegisterNet (Net *n)
 registers Net instance on pin
virtual ~OpenDrain ()

Protected Attributes

Pinpin

Detailed Description

Open drain Pin class, a special pin with open drain behavior.

Definition at line 118 of file pin.h.


Constructor & Destructor Documentation

OpenDrain::OpenDrain ( Pin p  )  [inline]

Definition at line 123 of file pin.h.

References pin.

virtual OpenDrain::~OpenDrain (  )  [inline, virtual]

Definition at line 131 of file pin.h.


Member Function Documentation

Pin OpenDrain::GetPin ( void   )  [virtual]

"cast method" to get back a Pin instance

Reimplemented from Pin.

Definition at line 341 of file pin.cpp.

References Pin::LOW, Pin::Pin(), pin, and Pin::TRISTATE.

Here is the call graph for this function:

OpenDrain::operator bool (  )  const [virtual]

Reimplemented from Pin.

Definition at line 356 of file pin.cpp.

Pin OpenDrain::operator+ ( const Pin p  )  [virtual]

Reimplemented from Pin.

Definition at line 347 of file pin.cpp.

References Pin::LOW, Pin::Pin(), pin, and Pin::TRISTATE.

Here is the call graph for this function:

Pin OpenDrain::operator+= ( const Pin p  )  [virtual]

Reimplemented from Pin.

Definition at line 336 of file pin.cpp.

References pin.

void OpenDrain::RegisterNet ( Net n  )  [inline, virtual]

registers Net instance on pin

Reimplemented from Pin.

Definition at line 130 of file pin.h.

References pin, and Pin::RegisterNet().

Here is the call graph for this function:


Member Data Documentation

Pin* OpenDrain::pin [protected]

Definition at line 120 of file pin.h.

Referenced by GetPin(), OpenDrain(), operator+(), operator+=(), and RegisterNet().


The documentation for this class was generated from the following files:
Generated on Sun Feb 12 16:52:54 2012 for Simulavr by  doxygen 1.6.3