|
torc-master
|
Hierarchical componenet. More...
#include <Component.hpp>
Inheritance diagram for torc::physical::Component:
Collaboration diagram for torc::physical::Component:Public Types | |
| typedef PrimitivePinSharedPtrVector::const_iterator | PrimitivePinSharedPtrConstIterator |
| typedef PrimitivePinSharedPtrVector::iterator | PrimitivePinSharedPtrIterator |
Public Member Functions | |
| size_t | getPrimitivePinCount (void) const |
| PrimitivePinSharedPtrConstIterator | PrimitivePinsBegin (void) const |
| PrimitivePinSharedPtrConstIterator | PrimitivePinsEnd (void) const |
| PrimitivePinSharedPtrIterator | PrimitivePinsBegin (void) |
| PrimitivePinSharedPtrIterator | PrimitivePinsEnd (void) |
| bool | addPrimitivePin (PrimitivePinSharedPtr &inPrimitivePinPtr) |
| bool | removePrimitivePin (PrimitivePinSharedPtr &inPrimitivePinPtr) |
| PrimitivePinSharedPtrIterator | findPrimitivePin (const string &inName) |
| bool | operator== (const Component &rhs) const |
| const string & | getName (void) const |
| Returns the object name. More... | |
| bool | operator== (const Named &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 |
| typedef boost::weak_ptr< class Component > | WeakPtrType |
| Weak pointer of our own type. More... | |
| typedef boost::shared_ptr < class Component > | SharedPtrType |
| Shared pointer of our own type. More... | |
| typedef boost::weak_ptr< class Component > | WeakPtrType |
| Weak pointer of our own type. More... | |
| typedef boost::shared_ptr < class Component > | SharedPtrType |
| Shared pointer of our own type. More... | |
Protected Member Functions | |
| Component (const string &inName) | |
| Protected constructor. 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 | |
| PrimitivePinSharedPtrVector | mPrimitivePins |
| string | mName |
| The name of the object. More... | |
| WeakPtrType | mParentWeakPtr |
| Weak pointer to the parent. More... | |
| WeakPtrType | mSelfWeakPtr |
| Weak pointer this object. More... | |
Hierarchical componenet.
Definition at line 30 of file Component.hpp.
| typedef PrimitivePinSharedPtrVector::const_iterator torc::physical::Component::PrimitivePinSharedPtrConstIterator |
Definition at line 39 of file Component.hpp.
| typedef PrimitivePinSharedPtrVector::iterator torc::physical::Component::PrimitivePinSharedPtrIterator |
Definition at line 40 of file Component.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.
|
protected |
Definition at line 33 of file Component.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.
Definition at line 37 of file Component.hpp.
|
inline |
Definition at line 48 of file Component.hpp.
Here is the call graph for this function:
|
inline |
Definition at line 66 of file Component.hpp.
Here is the call graph for this function:
|
inlineinherited |
|
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.
|
inline |
Definition at line 42 of file Component.hpp.
|
inlineinherited |
Returns a weak pointer to this object.
Definition at line 68 of file Progenitor.hpp.
|
inlineinherited |
|
inline |
Definition at line 71 of file Component.hpp.
|
inline |
Definition at line 43 of file Component.hpp.
Here is the caller graph for this function:
|
inline |
Definition at line 45 of file Component.hpp.
|
inline |
Definition at line 44 of file Component.hpp.
Here is the caller graph for this function:
|
inline |
Definition at line 46 of file Component.hpp.
|
inline |
Definition at line 57 of file Component.hpp.
Here is the call graph for this function:
|
inlineinherited |
Method to reset and orphan this object.
Definition at line 51 of file Progeny.hpp.
|
inlineinherited |
Sets the weak pointer to the parent.
Definition at line 49 of file Progeny.hpp.
|
inlineprotectedinherited |
Sets the weak pointer to this object.
Definition at line 59 of file Progenitor.hpp.
|
protectedinherited |
|
protectedinherited |
Weak pointer to the parent.
Definition at line 38 of file Progeny.hpp.
|
protected |
Definition at line 34 of file Component.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.