torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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:

Public Member Functions

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

Protected Attributes

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

Friends

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

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 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.

49 { return mSinks; }
PrimitiveElementPinPtrVector mSinks
Vector of pointers to the sink primitive element pins.

+ Here is the caller graph for this function:

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.

47 { return mSourcePtr; }
const PrimitiveElementPin * mSourcePtr
Pointer to the source primitive element pin.

+ Here is the caller graph for this function:

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.

Field Documentation

PrimitiveElementPinPtrVector torc::architecture::PrimitiveConn::mSinks
protected

Vector of pointers to the sink primitive element pins.

Definition at line 43 of file PrimitiveConn.hpp.

const PrimitiveElementPin* torc::architecture::PrimitiveConn::mSourcePtr
protected

Pointer to the source primitive element pin.

Definition at line 41 of file PrimitiveConn.hpp.


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