torc::router::NetRouterBase Class Reference

Abstract class for a net router. More...

#include <NetRouterBase.hpp>

Inheritance diagram for torc::router::NetRouterBase:

Inheritance graph
[legend]
Collaboration diagram for torc::router::NetRouterBase:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 NetRouterBase (DDB &inDB, NetRouterHeuristicBase *inHeuristic)
 Public Constructor.
virtual ~NetRouterBase ()
 Destructor.
void route (RouteNet &inNet)
 Primary route call.
double getTotalRouteTime ()
 Get total route time.
NetRouterHeuristicBasegetHeuristic ()
 Get the current heuristic.
void setHeuristic (NetRouterHeuristicBase *inHeuristic)
 Set the current heuristic.

Protected Member Functions

virtual void routeNet (RouteNet &inNet)=0
 Virtual route call.

Protected Attributes

DDBmDB
 Database reference.
NetRouterHeuristicBasemHeuristic
 Pointer to the heuristic for making routing decisions.
boost::timer mRouteTimer
 Timer object for performance analysis.
double mTotalRouteTime
 Total routing time since construction.

Private Types

typedef architecture::DDB DDB
 Imported type names.
typedef architecture::WireUsage WireUsage
typedef architecture::Tilewire Tilewire


Detailed Description

Abstract class for a net router.

This base class provides a virtual route function.

Definition at line 43 of file NetRouterBase.hpp.


Member Typedef Documentation

Imported type names.

Reimplemented in torc::router::NetRouter.

Definition at line 46 of file NetRouterBase.hpp.


Constructor & Destructor Documentation

torc::router::NetRouterBase::NetRouterBase ( DDB inDB,
NetRouterHeuristicBase inHeuristic 
) [inline]

Public Constructor.

Definition at line 64 of file NetRouterBase.hpp.

virtual torc::router::NetRouterBase::~NetRouterBase (  )  [inline, virtual]

Destructor.

Definition at line 69 of file NetRouterBase.hpp.


Member Function Documentation

void torc::router::NetRouterBase::route ( RouteNet inNet  )  [inline]

Primary route call.

Definition at line 72 of file NetRouterBase.hpp.

double torc::router::NetRouterBase::getTotalRouteTime (  )  [inline]

Get total route time.

Definition at line 81 of file NetRouterBase.hpp.

NetRouterHeuristicBase* torc::router::NetRouterBase::getHeuristic (  )  [inline]

Get the current heuristic.

Definition at line 83 of file NetRouterBase.hpp.

void torc::router::NetRouterBase::setHeuristic ( NetRouterHeuristicBase inHeuristic  )  [inline]

Set the current heuristic.

Definition at line 85 of file NetRouterBase.hpp.

virtual void torc::router::NetRouterBase::routeNet ( RouteNet inNet  )  [protected, pure virtual]

Virtual route call.

Implemented in torc::router::NetRouter.


Member Data Documentation

Database reference.

Definition at line 53 of file NetRouterBase.hpp.

Pointer to the heuristic for making routing decisions.

Definition at line 55 of file NetRouterBase.hpp.

boost::timer torc::router::NetRouterBase::mRouteTimer [protected]

Timer object for performance analysis.

Definition at line 57 of file NetRouterBase.hpp.

Total routing time since construction.

Definition at line 59 of file NetRouterBase.hpp.


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

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