torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
torc::physical::RcFactory Class Reference

RcFactory class for physical netlist elements. More...

#include <RcFactory.hpp>

Static Public Member Functions

static PrimitiveSetSharedPtr newPrimitiveSetPtr (const string &inName)
 Create and return a new PrimitiveSet object. More...
 
static ElementSharedPtr newElementPtr (const string &inName)
 Create and return a new Element object. More...
 
static RoutingNetSharedPtr newRoutingNePtr (NetSharedPtr snet)
 Create and return a new RoutingNet object. More...
 
static CombinationalPathSharedPtr newCombinationalPathPtr ()
 Create and return a new CombinationalPath object. More...
 
static PrimitiveSharedPtr newPrimitivePtr (const string &inName)
 Create and return a new Element object. More...
 
static ConnectionPin newConnectionPin (string inElementName, const string &inPinName)
 Construct an ConnectionPin and return a constant reference. More...
 
static ConnectionSharedPtr newConnectionPtr (const string &inName)
 Create and return a new Element object. More...
 
static PrimitivePinSharedPtr newPrimitivePinPtr (string inElementName, string inPinName, const PinType inType)
 Create and return a new PrimitivePin shared pointer. More...
 

Protected Types

typedef std::string string
 Imported type name. More...
 

Detailed Description

RcFactory class for physical netlist elements.

Physical netlist elements must be created by this RcFactory.

Definition at line 34 of file RcFactory.hpp.

Member Typedef Documentation

typedef std::string torc::physical::RcFactory::string
protected

Imported type name.

Definition at line 38 of file RcFactory.hpp.

Member Function Documentation

static CombinationalPathSharedPtr torc::physical::RcFactory::newCombinationalPathPtr ( )
inlinestatic

Create and return a new CombinationalPath object.

Definition at line 62 of file RcFactory.hpp.

62  {
63  CombinationalPathSharedPtr combinationalPathPtr(new CombinationalPath());
64  return combinationalPathPtr;
65  }
boost::shared_ptr< CombinationalPath > CombinationalPathSharedPtr
Shared pointer encapsulation of a CombinationalPath.

+ Here is the caller graph for this function:

static ConnectionPin torc::physical::RcFactory::newConnectionPin ( string  inElementName,
const string inPinName 
)
inlinestatic

Construct an ConnectionPin and return a constant reference.

Parameters
inConnectionPtrThe pin instance pointer.
inPinNameThe pin name.

Definition at line 77 of file RcFactory.hpp.

78  {
79  return ConnectionPin(inElementName, inPinName);
80  }

+ Here is the caller graph for this function:

static ConnectionSharedPtr torc::physical::RcFactory::newConnectionPtr ( const string inName)
inlinestatic

Create and return a new Element object.

Definition at line 83 of file RcFactory.hpp.

83  {
84  ConnectionSharedPtr connectionPtr(new Connection(inName));
85  return connectionPtr;
86  }
boost::shared_ptr< Connection > ConnectionSharedPtr
Shared pointer encapsulation of a componenet.
Definition: Connection.hpp:82

+ Here is the caller graph for this function:

static ElementSharedPtr torc::physical::RcFactory::newElementPtr ( const string inName)
inlinestatic

Create and return a new Element object.

Definition at line 49 of file RcFactory.hpp.

49  {
50  ElementSharedPtr elementPtr(new Element(inName));
51  elementPtr->setSelfWeakPtr(elementPtr);
52  return elementPtr;
53  }
boost::shared_ptr< Element > ElementSharedPtr
Shared pointer encapsulation of a element.
Definition: Element.hpp:119

+ Here is the caller graph for this function:

static PrimitivePinSharedPtr torc::physical::RcFactory::newPrimitivePinPtr ( string  inElementName,
string  inPinName,
const PinType  inType 
)
inlinestatic

Create and return a new PrimitivePin shared pointer.

Parameters
inNameThe PrimitivePin name.
inInstancePtrThe PrimitivePin instance pointer.
inPinNameThe PrimitivePin pin name.

Definition at line 92 of file RcFactory.hpp.

92  {
93  PrimitivePinSharedPtr PrimitivePinPtr(new PrimitivePin(inElementName, inPinName, inType));
94  return PrimitivePinPtr;
95  }
boost::shared_ptr< PrimitivePin > PrimitivePinSharedPtr
Shared pointer encapsulation of a componenet.

+ Here is the caller graph for this function:

static PrimitiveSharedPtr torc::physical::RcFactory::newPrimitivePtr ( const string inName)
inlinestatic

Create and return a new Element object.

Definition at line 68 of file RcFactory.hpp.

68  {
69  PrimitiveSharedPtr primitivePtr(new Primitive(inName));
70  primitivePtr->setSelfWeakPtr(primitivePtr);
71  return primitivePtr;
72  }
boost::shared_ptr< Primitive > PrimitiveSharedPtr
Shared pointer encapsulation of a Primitive.
Definition: Primitive.hpp:171

+ Here is the caller graph for this function:

static PrimitiveSetSharedPtr torc::physical::RcFactory::newPrimitiveSetPtr ( const string inName)
inlinestatic

Create and return a new PrimitiveSet object.

Definition at line 42 of file RcFactory.hpp.

42  {
43  PrimitiveSetSharedPtr PrimitiveSetPtr(new PrimitiveSet(inName));
44  PrimitiveSetPtr->setSelfWeakPtr(PrimitiveSetPtr);
45  return PrimitiveSetPtr;
46  }
boost::shared_ptr< PrimitiveSet > PrimitiveSetSharedPtr
Shared pointer encapsulation of a PrimitiveSet.

+ Here is the caller graph for this function:

static RoutingNetSharedPtr torc::physical::RcFactory::newRoutingNePtr ( NetSharedPtr  snet)
inlinestatic

Create and return a new RoutingNet object.

Definition at line 56 of file RcFactory.hpp.

56  {
57  RoutingNetSharedPtr routingNetPtr(new RoutingNet(snet));
58  return routingNetPtr;
59  }
boost::shared_ptr< RoutingNet > RoutingNetSharedPtr
Shared pointer encapsulation of a RoutingNet.
Definition: RoutingNet.hpp:131

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