torc-master
|
Physical design instance-pin pair, suitable for specifying a net endpoint. More...
#include <InstancePin.hpp>
Public Member Functions | |
const InstanceWeakPtr & | getInstancePtr (void) const |
Returns the weak instance pointer. More... | |
const PinName & | getPinName (void) const |
Returns the pin name. More... | |
void | setInstancePtr (const InstanceWeakPtr &inInstancePtr) |
Sets the weak instance pointer. More... | |
void | setPinName (const string &inPinName) |
Sets the pin name. More... | |
bool | operator== (const InstancePinBase &rhs) const |
Equality operator. More... | |
const WeakPtrType & | getParentWeakPtr (void) const |
Returns a weak pointer to the parent. More... | |
void | setParentWeakPtr (WeakPtrType inParentPtr) |
Sets the weak pointer to the parent. More... | |
void | resetParentWeakPtr (void) |
Method to reset and orphan this object. More... | |
const SharedPtrType & | getParentSharedPtr (void) const |
Returns a shared pointer to the parent (WARNING: Does not work right). More... | |
Protected Types | |
typedef std::string | string |
Imported type name. More... | |
typedef boost::weak_ptr< class Net > | WeakPtrType |
Weak pointer of our own type. More... | |
typedef boost::weak_ptr < InstancePin > | WeakPtrType |
Weak pointer of our own type. More... | |
typedef boost::shared_ptr < class Net > | SharedPtrType |
Shared pointer of our own type. More... | |
typedef boost::shared_ptr < InstancePin > | SharedPtrType |
Shared pointer of our own type. More... | |
Protected Member Functions | |
InstancePin (InstanceSharedPtr inInstancePtr, const string &inPinName) | |
Protected constructor. More... | |
void | addToInstance (void) |
Asks the associated instance to add this pin from its pin map. More... | |
void | removeFromInstance (void) |
Asks the associated instance to remove this pin from its pin map. More... | |
void | setSelfWeakPtr (WeakPtrType inSelfPtr) |
Sets the weak pointer to this object. More... | |
const WeakPtrType & | getSelfWeakPtr (void) const |
Returns a weak pointer to this object. More... | |
Protected Attributes | |
InstanceWeakPtr | mInstancePtr |
The pin weak instance pointer. More... | |
PinName | mPinName |
The pin name. More... | |
WeakPtrType | mParentWeakPtr |
Weak pointer to the parent. More... | |
WeakPtrType | mSelfWeakPtr |
Weak pointer this object. More... | |
boost::uint32_t | m32 |
The tile index placeholder. More... | |
boost::uint16_t | m16 |
The wire index placeholder. More... | |
Private Member Functions | |
InstancePin (const InstancePin &rhs) | |
Disabled copy constructor. More... | |
Friends | |
class | Factory |
The Factory class has direct access to our internals. More... | |
class | Net |
The Net class has direct access to our internals. More... | |
Physical design instance-pin pair, suitable for specifying a net endpoint.
This class specifies a pin on a physical design instance. Note that this class has a TilewirePlaceholder as a base class, and is directly analogous to its Tilewire-aware counterpart, torc::architecture::InstancePin. This approach is used to avoid importing torc::architecture dependencies into torc::physical for users who do not require device database functionality.
Definition at line 87 of file physical/InstancePin.hpp.
|
protectedinherited |
Shared pointer of our own type.
Definition at line 35 of file Progeny.hpp.
|
protectedinherited |
Shared pointer of our own type.
Definition at line 52 of file Progenitor.hpp.
|
protectedinherited |
Imported type name.
Definition at line 37 of file physical/InstancePin.hpp.
|
protectedinherited |
Weak pointer of our own type.
Definition at line 33 of file Progeny.hpp.
|
protectedinherited |
Weak pointer of our own type.
Definition at line 50 of file Progenitor.hpp.
|
inlineprotected |
Protected constructor.
inInstancePtr | The pin instance pointer. |
inPinName | The pin name. |
Definition at line 100 of file physical/InstancePin.hpp.
|
inlineprivate |
Disabled copy constructor.
Definition at line 105 of file physical/InstancePin.hpp.
|
inlineprotectedinherited |
Asks the associated instance to add this pin from its pin map.
Definition at line 45 of file physical/InstancePin.hpp.
|
inlineinherited |
Returns the weak instance pointer.
Definition at line 65 of file physical/InstancePin.hpp.
|
inlineinherited |
Returns a shared pointer to the parent (WARNING: Does not work right).
Always seems to generate a "Returning reference to temporary" warning, and I cannot figure out why.
It is the caller's responsibility to reset the shared pointer when done.
Definition at line 59 of file Progeny.hpp.
|
inlineinherited |
Returns a weak pointer to the parent.
Definition at line 47 of file Progeny.hpp.
|
inlineinherited |
Returns the pin name.
Definition at line 67 of file physical/InstancePin.hpp.
|
inlineinherited |
Returns a weak pointer to this object.
Definition at line 68 of file Progenitor.hpp.
|
inlineinherited |
Equality operator.
Definition at line 74 of file physical/InstancePin.hpp.
|
inlineprotectedinherited |
Asks the associated instance to remove this pin from its pin map.
Definition at line 47 of file physical/InstancePin.hpp.
|
inlineinherited |
Method to reset and orphan this object.
Definition at line 51 of file Progeny.hpp.
|
inlineinherited |
Sets the weak instance pointer.
Definition at line 69 of file physical/InstancePin.hpp.
|
inlineinherited |
Sets the weak pointer to the parent.
Definition at line 49 of file Progeny.hpp.
|
inlineinherited |
Sets the pin name.
Definition at line 71 of file physical/InstancePin.hpp.
|
inlineprotectedinherited |
Sets the weak pointer to this object.
Definition at line 59 of file Progenitor.hpp.
|
friend |
The Factory class has direct access to our internals.
Definition at line 90 of file physical/InstancePin.hpp.
|
friend |
The Net class has direct access to our internals.
The parent Net can use this to direct the InstancePin to register itself with its related Instance.
Definition at line 94 of file physical/InstancePin.hpp.
|
protectedinherited |
The wire index placeholder.
Definition at line 39 of file TilewirePlaceholder.hpp.
|
protectedinherited |
The tile index placeholder.
Definition at line 37 of file TilewirePlaceholder.hpp.
|
protectedinherited |
The pin weak instance pointer.
Definition at line 40 of file physical/InstancePin.hpp.
|
protectedinherited |
Weak pointer to the parent.
Definition at line 38 of file Progeny.hpp.
|
protectedinherited |
The pin name.
Definition at line 42 of file physical/InstancePin.hpp.
|
protectedinherited |
Weak pointer this object.
This weak pointer is kept here to be passed along to our children, allowing them to point back to us without the strong dependency of a shared pointer.
Definition at line 57 of file Progenitor.hpp.