torc::physical::CombinationalPath Class Reference

Routing net. More...

#include <CombinationalPath.hpp>

List of all members.

Public Types

typedef
RoutingNetSharedPtrVector::const_iterator 
RoutingNetSharedPtrConstIterator
 Constant iterator to Routing Net shared pointers.
typedef
RoutingNetSharedPtrVector::iterator 
RoutingNetSharedPtrIterator
 Non-constant iterator to Routing Net shared pointers.

Public Member Functions

RoutingNetSharedPtrIterator findRoutingNet (const string &inName)
 Find a net by name.
bool addRoutingNet (RoutingNetSharedPtr &inRoutingNetPtr)
 Add a net to the set.
bool removeRoutingNet (RoutingNetSharedPtr &inRoutingNetPtr)
 Remove a net from the circuit.
PinType getInstancePinType (InstancePinSharedPtr instancePinPtr)
 Returns instance pin type.
bool setPatchCounts (DesignSharedPtr inDesignPtr)
 Set combinational counts for all nets.
RoutingNetSharedPtrConstIterator routingNetsBegin (void) const
 Returns the begin constant iterator for routingNets.
RoutingNetSharedPtrConstIterator routingNetsEnd (void) const
 Returns the end constant iterator for routingNets.
RoutingNetSharedPtrIterator routingNetsBegin (void)
 Returns the begin non-constant iterator for routingNets.
RoutingNetSharedPtrIterator routingNetsEnd (void)
 Returns the end non-constant iterator for routingNets.
size_t getRoutingNetCount (void) const
 Returns the number of routingNets in the circuit.

Protected Types

typedef std::string string
 Imported type name.

Protected Member Functions

 CombinationalPath ()
 Protected constructor.

Protected Attributes

RoutingNetSharedPtrVector mRoutingNets
 Vector of routing net shared pointers.

Friends

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


Detailed Description

Routing net.

Definition at line 34 of file CombinationalPath.hpp.


Member Typedef Documentation

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

Imported type name.

Definition at line 41 of file CombinationalPath.hpp.

typedef RoutingNetSharedPtrVector::const_iterator torc::physical::CombinationalPath::RoutingNetSharedPtrConstIterator

Constant iterator to Routing Net shared pointers.

Definition at line 55 of file CombinationalPath.hpp.

typedef RoutingNetSharedPtrVector::iterator torc::physical::CombinationalPath::RoutingNetSharedPtrIterator

Non-constant iterator to Routing Net shared pointers.

Definition at line 57 of file CombinationalPath.hpp.


Constructor & Destructor Documentation

torc::physical::CombinationalPath::CombinationalPath (  )  [inline, protected]

Protected constructor.

Parameters:
original net
inNetType The net power type.

Definition at line 51 of file CombinationalPath.hpp.


Member Function Documentation

RoutingNetSharedPtrIterator torc::physical::CombinationalPath::findRoutingNet ( const string inName  )  [inline]

Find a net by name.

Parameters:
inName The net name to look for.
Returns:
an iterator to the specified net, or netsEnd() if the name was not found.

Definition at line 62 of file CombinationalPath.hpp.

bool torc::physical::CombinationalPath::addRoutingNet ( RoutingNetSharedPtr inRoutingNetPtr  )  [inline]

Add a net to the set.

Parameters:
inRoutingNetPtr The net to add.
Returns:
true if the net was added, or false if a net with the same name already exists in the circuit.

Todo:
Acquire mutex.

Todo:
Release mutex.

Definition at line 70 of file CombinationalPath.hpp.

bool torc::physical::CombinationalPath::removeRoutingNet ( RoutingNetSharedPtr inRoutingNetPtr  )  [inline]

Remove a net from the circuit.

Parameters:
inRoutingNetPtr The net to remove.
Returns:
true if the net was removed, or false if the net did not exist.

Todo:
Acquire mutex.

Todo:
Release mutex.

Definition at line 82 of file CombinationalPath.hpp.

PinType torc::physical::CombinationalPath::getInstancePinType ( InstancePinSharedPtr  instancePinPtr  )  [inline]

Returns instance pin type.

Definition at line 94 of file CombinationalPath.hpp.

bool torc::physical::CombinationalPath::setPatchCounts ( DesignSharedPtr  inDesignPtr  )  [inline]

Set combinational counts for all nets.

Definition at line 102 of file CombinationalPath.hpp.

RoutingNetSharedPtrConstIterator torc::physical::CombinationalPath::routingNetsBegin ( void   )  const [inline]

Returns the begin constant iterator for routingNets.

Definition at line 290 of file CombinationalPath.hpp.

RoutingNetSharedPtrConstIterator torc::physical::CombinationalPath::routingNetsEnd ( void   )  const [inline]

Returns the end constant iterator for routingNets.

Definition at line 292 of file CombinationalPath.hpp.

RoutingNetSharedPtrIterator torc::physical::CombinationalPath::routingNetsBegin ( void   )  [inline]

Returns the begin non-constant iterator for routingNets.

Definition at line 294 of file CombinationalPath.hpp.

RoutingNetSharedPtrIterator torc::physical::CombinationalPath::routingNetsEnd ( void   )  [inline]

Returns the end non-constant iterator for routingNets.

Definition at line 296 of file CombinationalPath.hpp.

size_t torc::physical::CombinationalPath::getRoutingNetCount ( void   )  const [inline]

Returns the number of routingNets in the circuit.

Definition at line 298 of file CombinationalPath.hpp.


Friends And Related Function Documentation

friend class RcFactory [friend]

The Factory class has direct access to our internals.

Definition at line 37 of file CombinationalPath.hpp.


Member Data Documentation

Vector of routing net shared pointers.

Definition at line 45 of file CombinationalPath.hpp.


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

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