torc::physical::RoutingNet Class Reference

Routing net. More...

#include <RoutingNet.hpp>

Inheritance diagram for torc::physical::RoutingNet:

Inheritance graph
[legend]
Collaboration diagram for torc::physical::RoutingNet:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 RoutingNet (NetSharedPtr snet)
 Constructor.
NetSharedPtr getSuperNet (void)
 Returns net supernet.
NetSharedPtr setSuperNet (NetSharedPtr snet)
 Sets super net.
size_t getPathCount (size_t index)
 Returns path count for pin index.
bool setPathCount (size_t index, size_t pCount)
 Sets path count for pin index.
size_t getPathCount (InstancePinSharedPtr pinPtr)
 Returns path count for pin.
bool setPathCount (InstancePinSharedPtr pinPtr, size_t pCount)
 Sets path count for pin.
bool operator== (const RoutingNet &rhs) const
 Equality operator.

Protected Types

typedef std::string string
 Imported type name.

Protected Attributes

NetSharedPtr superNet
 The original net.
std::vector< size_t > pathCounts
 combinational path count

Friends

class RcFactory
 The Factory class has direct access to our internals.


Detailed Description

Routing net.

Definition at line 30 of file RoutingNet.hpp.


Member Typedef Documentation

typedef std::string torc::physical::RoutingNet::string [protected]

Imported type name.

Reimplemented from torc::physical::Named.

Definition at line 37 of file RoutingNet.hpp.


Constructor & Destructor Documentation

torc::physical::RoutingNet::RoutingNet ( NetSharedPtr  snet  )  [inline]

Constructor.

Parameters:
original net

Definition at line 50 of file RoutingNet.hpp.


Member Function Documentation

NetSharedPtr torc::physical::RoutingNet::getSuperNet ( void   )  [inline]

Returns net supernet.

Definition at line 57 of file RoutingNet.hpp.

NetSharedPtr torc::physical::RoutingNet::setSuperNet ( NetSharedPtr  snet  )  [inline]

Sets super net.

Definition at line 62 of file RoutingNet.hpp.

size_t torc::physical::RoutingNet::getPathCount ( size_t  index  )  [inline]

Returns path count for pin index.

Definition at line 67 of file RoutingNet.hpp.

bool torc::physical::RoutingNet::setPathCount ( size_t  index,
size_t  pCount 
) [inline]

Sets path count for pin index.

Definition at line 72 of file RoutingNet.hpp.

size_t torc::physical::RoutingNet::getPathCount ( InstancePinSharedPtr  pinPtr  )  [inline]

Returns path count for pin.

Definition at line 78 of file RoutingNet.hpp.

bool torc::physical::RoutingNet::setPathCount ( InstancePinSharedPtr  pinPtr,
size_t  pCount 
) [inline]

Sets path count for pin.

Definition at line 101 of file RoutingNet.hpp.

bool torc::physical::RoutingNet::operator== ( const RoutingNet rhs  )  const [inline]

Equality operator.

This function deems nets equal if their names are identical.

Parameters:
rhs The net to compare against.
Returns:
true if both net names are identical, or false otherwise.

Definition at line 127 of file RoutingNet.hpp.


Friends And Related Function Documentation

friend class RcFactory [friend]

The Factory class has direct access to our internals.

Definition at line 33 of file RoutingNet.hpp.


Member Data Documentation

The original net.

Definition at line 41 of file RoutingNet.hpp.

std::vector<size_t> torc::physical::RoutingNet::pathCounts [protected]

combinational path count

Definition at line 43 of file RoutingNet.hpp.


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

Generated on Thu Oct 13 16:50:45 2011 for TORC by  doxygen 1.5.6