torc-master
|
Element composed of connections and pins. More...
#include <Element.hpp>
Public Types | |
typedef ConnectionSharedPtrVector::const_iterator | ConnectionSharedPtrConstIterator |
typedef ConnectionSharedPtrVector::iterator | ConnectionSharedPtrIterator |
typedef ConfigVector::const_iterator | ConfigConstIterator |
typedef ConfigVector::iterator | ConfigIterator |
typedef PrimitivePinSharedPtrVector::const_iterator | PrimitivePinSharedPtrConstIterator |
typedef PrimitivePinSharedPtrVector::iterator | PrimitivePinSharedPtrIterator |
Protected Types | |
typedef std::string | string |
typedef boost::weak_ptr< class Component > | WeakPtrType |
Weak 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... | |
typedef boost::shared_ptr < class Component > | SharedPtrType |
Shared pointer of our own type. More... | |
Protected Member Functions | |
Element (const string &inName) | |
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 | |
ConnectionSharedPtrVector | mConnections |
ConfigVector | mConfigs |
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... | |
Friends | |
class | RcFactory |
The Factory class has direct access to our internals. More... | |
Element composed of connections and pins.
This class implements everything for XDLRC elements.
Definition at line 41 of file Element.hpp.
typedef ConfigVector::const_iterator torc::physical::Element::ConfigConstIterator |
Definition at line 57 of file Element.hpp.
typedef ConfigVector::iterator torc::physical::Element::ConfigIterator |
Definition at line 58 of file Element.hpp.
typedef ConnectionSharedPtrVector::const_iterator torc::physical::Element::ConnectionSharedPtrConstIterator |
Definition at line 54 of file Element.hpp.
typedef ConnectionSharedPtrVector::iterator torc::physical::Element::ConnectionSharedPtrIterator |
Definition at line 55 of file Element.hpp.
|
inherited |
Definition at line 39 of file Component.hpp.
|
inherited |
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.
|
protectedinherited |
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 |
Constructor.
Definition at line 51 of file Element.hpp.
|
inline |
Definition at line 92 of file Element.hpp.
|
inline |
Definition at line 61 of file Element.hpp.
|
inlineinherited |
Definition at line 48 of file Component.hpp.
|
inline |
Definition at line 111 of file Element.hpp.
|
inline |
Definition at line 113 of file Element.hpp.
|
inline |
Definition at line 112 of file Element.hpp.
|
inline |
Definition at line 114 of file Element.hpp.
|
inline |
Definition at line 86 of file Element.hpp.
|
inline |
Definition at line 88 of file Element.hpp.
|
inline |
Definition at line 87 of file Element.hpp.
|
inline |
Definition at line 89 of file Element.hpp.
|
inlineinherited |
Definition at line 66 of file Component.hpp.
|
inline |
Definition at line 115 of file Element.hpp.
|
inline |
Definition at line 90 of file Element.hpp.
|
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.
|
inlineinherited |
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 |
|
inlineinherited |
Definition at line 71 of file Component.hpp.
|
inlineinherited |
Definition at line 43 of file Component.hpp.
|
inlineinherited |
Definition at line 45 of file Component.hpp.
|
inlineinherited |
Definition at line 44 of file Component.hpp.
|
inlineinherited |
Definition at line 46 of file Component.hpp.
|
inline |
Definition at line 101 of file Element.hpp.
|
inline |
Definition at line 67 of file Element.hpp.
|
inline |
Definition at line 77 of file Element.hpp.
|
inlineinherited |
Definition at line 57 of file Component.hpp.
|
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.
|
friend |
The Factory class has direct access to our internals.
Definition at line 44 of file Element.hpp.
|
protected |
Definition at line 48 of file Element.hpp.
|
protected |
Definition at line 47 of file Element.hpp.
|
protectedinherited |
|
protectedinherited |
Weak pointer to the parent.
Definition at line 38 of file Progeny.hpp.
|
protectedinherited |
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.