tesseract
3.03
|
#include <tesscallback.h>
Public Types | |
typedef TessResultCallback< R > | base |
typedef R(T::* | MemberSignature )(P1, P2, P3) const |
Public Member Functions | |
_ConstTessMemberResultCallback_3_0 (const T *object, MemberSignature member, P1 p1, P2 p2, P3 p3) | |
virtual R | Run () |
Definition at line 725 of file tesscallback.h.
typedef TessResultCallback<R> _ConstTessMemberResultCallback_3_0< del, R, T, P1, P2, P3 >::base |
Definition at line 727 of file tesscallback.h.
typedef R(T::* _ConstTessMemberResultCallback_3_0< del, R, T, P1, P2, P3 >::MemberSignature)(P1, P2, P3) const |
Definition at line 728 of file tesscallback.h.
_ConstTessMemberResultCallback_3_0< del, R, T, P1, P2, P3 >::_ConstTessMemberResultCallback_3_0 | ( | const T * | object, |
MemberSignature | member, | ||
P1 | p1, | ||
P2 | p2, | ||
P3 | p3 | ||
) | [inline] |
Definition at line 738 of file tesscallback.h.
:
object_(object),
member_(member), p1_(p1), p2_(p2), p3_(p3) { }
virtual R _ConstTessMemberResultCallback_3_0< del, R, T, P1, P2, P3 >::Run | ( | ) | [inline, virtual] |
Implements TessResultCallback< R >.
Definition at line 743 of file tesscallback.h.
{ if (!del) { R result = (object_->*member_)(p1_,p2_,p3_); return result; } else { R result = (object_->*member_)(p1_,p2_,p3_); // zero out the pointer to ensure segfault if used again member_ = NULL; delete this; return result; } }