Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Private Attributes
jafar::rtslam::ChildOf< Parent > Class Template Reference

Detailed Description

template<class Parent>
class jafar::rtslam::ChildOf< Parent >

Definition at line 92 of file parents.hpp.

List of all members.

Public Types

typedef boost::weak_ptr< Parent > Parent_wptr
typedef boost::shared_ptr< Parent > Parent_ptr

Public Member Functions

 ~ChildOf (void)
 Unregister at destruction.
void linkToParent (const boost::shared_ptr< Parent > &ptr)
void unlinkFromParent (void)
 Remove the link to the Parent, and unregister from parent list.
Parent_ptr parentPtr (void)
 Access the shared pointer to parent.
const Parent_ptr parentPtr (void) const
Parent & parent (void)
const Parent & parent (void) const
void display (std::ostream &os) const

Private Attributes

Parent_wptr parent_wptr

Constructor & Destructor Documentation

template<class Parent>
jafar::rtslam::ChildOf< Parent >::~ChildOf ( void  ) [inline]

Unregister at destruction.

Definition at line 103 of file parents.hpp.


Member Function Documentation

template<class Parent>
Parent_ptr jafar::rtslam::ChildOf< Parent >::parentPtr ( void  ) [inline]

Access the shared pointer to parent.

Throw if parent has been destroyed.

Definition at line 117 of file parents.hpp.

template<class Parent>
void jafar::rtslam::ChildOf< Parent >::unlinkFromParent ( void  ) [inline]

Remove the link to the Parent, and unregister from parent list.

Definition at line 111 of file parents.hpp.

Referenced by jafar::rtslam::ChildOf< LandmarkAbstract >::~ChildOf().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:45 for Jafar by doxygen 1.7.6.1
LAAS-CNRS