19 #ifndef TORC_PHYSICAL_PROGENY_HPP
20 #define TORC_PHYSICAL_PROGENY_HPP
23 #include <boost/smart_ptr.hpp>
65 #endif // TORC_PHYSICAL_PROGENY_HPP
Progeny(const WeakPtrType &inParentPtr)
Constructor that specifies a parent.
void setParentWeakPtr(WeakPtrType inParentPtr)
Sets the weak pointer to the parent.
const SharedPtrType & getParentSharedPtr(void) const
Returns a shared pointer to the parent (WARNING: Does not work right).
const WeakPtrType & getParentWeakPtr(void) const
Returns a weak pointer to the parent.
boost::weak_ptr< T > WeakPtrType
Weak pointer of our own type.
WeakPtrType mParentWeakPtr
Weak pointer to the parent.
void resetParentWeakPtr(void)
Method to reset and orphan this object.
Progeny(void)
Null constructor.
Concept for any object that may have a parent.
boost::shared_ptr< T > SharedPtrType
Shared pointer of our own type.