14 #include <boost/shared_ptr.hpp>
15 #include <boost/weak_ptr.hpp>
30 :
myObj(boost::shared_ptr<T>(obj))
35 template <
typename P1>
38 boost::shared_ptr<T> obj =
myObj.lock();
46 template <
typename P1,
typename P2>
49 boost::shared_ptr<T> obj =
myObj.lock();
57 template <
typename P1,
typename P2,
typename P3>
58 void operator()(
const P1& p1,
const P2& p2,
const P3& p3)
const
60 boost::shared_ptr<T> obj =
myObj.lock();
DtSharedPtrCallbackWrapper(T *obj)
Definition: DtSharedPtrCallbackWrapper.h:29
Definition: DtSharedPtrCallbackWrapper.h:20
DtSharedPtrCallbackWrapper(const boost::shared_ptr< T > &obj)
Definition: DtSharedPtrCallbackWrapper.h:23
void operator()(const P1 &p1) const
Definition: DtSharedPtrCallbackWrapper.h:36
void operator()(const P1 &p1, const P2 &p2) const
Definition: DtSharedPtrCallbackWrapper.h:47
void operator()(const P1 &p1, const P2 &p2, const P3 &p3) const
Definition: DtSharedPtrCallbackWrapper.h:58
const boost::weak_ptr< T > myObj
Definition: DtSharedPtrCallbackWrapper.h:69