29 :
myObj(std::shared_ptr<T>(obj))
34 template <
typename P1>
37 std::shared_ptr<T> obj =
myObj.lock();
45 template <
typename P1,
typename P2>
48 std::shared_ptr<T> obj =
myObj.lock();
56 template <
typename P1,
typename P2,
typename P3>
57 void operator()(
const P1& p1,
const P2& p2,
const P3& p3)
const
59 std::shared_ptr<T> obj =
myObj.lock();
const std::weak_ptr< T > myObj
Definition: DtSharedPtrCallbackWrapper.h:68
DtSharedPtrCallbackWrapper(T *obj)
Definition: DtSharedPtrCallbackWrapper.h:28
Definition: DtSharedPtrCallbackWrapper.h:19
DtSharedPtrCallbackWrapper(const std::shared_ptr< T > &obj)
Definition: DtSharedPtrCallbackWrapper.h:22
void operator()(const P1 &p1) const
Definition: DtSharedPtrCallbackWrapper.h:35
void operator()(const P1 &p1, const P2 &p2) const
Definition: DtSharedPtrCallbackWrapper.h:46
void operator()(const P1 &p1, const P2 &p2, const P3 &p3) const
Definition: DtSharedPtrCallbackWrapper.h:57