torc::architecture::PrimitiveConn Class Reference

Encapsulation of a PrimitiveDef internal connection. This class is analogous to a permanent net with one and only source pin. All PrimitiveConn objects are initialized from a family database by the Sites class. More...

#include <PrimitiveConn.hpp>

Collaboration diagram for torc::architecture::PrimitiveConn:

Collaboration graph
[legend]

List of all members.

Public Member Functions

const PrimitiveElementPingetSourcePtr (void) const
 Returns a pointer to the source primitive element pin.
const
PrimitiveElementPinPtrVector
getSinks (void) const
 Returns a vector of pointers to the sink primitive element pins.

Protected Attributes

const PrimitiveElementPinmSourcePtr
 Pointer to the source primitive element pin.
PrimitiveElementPinPtrVector mSinks
 Vector of pointers to the sink primitive element pins.

Friends

class Sites
 The Sites class has access to our internals.
class torc::architecture::architecture::PrimitiveConnUnitTest
 Our unit test class has access to our internals.


Detailed Description

Encapsulation of a PrimitiveDef internal connection. This class is analogous to a permanent net with one and only source pin. All PrimitiveConn objects are initialized from a family database by the Sites class.

Definition at line 32 of file PrimitiveConn.hpp.


Member Function Documentation

const PrimitiveElementPin* torc::architecture::PrimitiveConn::getSourcePtr ( void   )  const [inline]

Returns a pointer to the source primitive element pin.

Definition at line 47 of file PrimitiveConn.hpp.

const PrimitiveElementPinPtrVector& torc::architecture::PrimitiveConn::getSinks ( void   )  const [inline]

Returns a vector of pointers to the sink primitive element pins.

Definition at line 49 of file PrimitiveConn.hpp.


Friends And Related Function Documentation

friend class Sites [friend]

The Sites class has access to our internals.

Definition at line 36 of file PrimitiveConn.hpp.

friend class torc::architecture::architecture::PrimitiveConnUnitTest [friend]

Our unit test class has access to our internals.

Definition at line 38 of file PrimitiveConn.hpp.


Member Data Documentation

Pointer to the source primitive element pin.

Definition at line 41 of file PrimitiveConn.hpp.

Vector of pointers to the sink primitive element pins.

Definition at line 43 of file PrimitiveConn.hpp.


The documentation for this class was generated from the following file:

Generated on Thu Oct 13 16:49:33 2011 for TORC by  doxygen 1.5.6