Tesseract
3.02
|
#include <tesscallback.h>
Public Types | |
typedef TessResultCallback3< R, A1, A2, A3 > | base |
typedef R(T::* | MemberSignature )(P1, A1, A2, A3) |
Public Member Functions | |
_TessMemberResultCallback_1_3 (T *object, MemberSignature member, P1 p1) | |
virtual R | Run (A1 a1, A2 a2, A3 a3) |
Definition at line 1097 of file tesscallback.h.
typedef TessResultCallback3<R,A1,A2,A3> _TessMemberResultCallback_1_3< del, R, T, P1, A1, A2, A3 >::base |
Definition at line 1099 of file tesscallback.h.
typedef R(T::* _TessMemberResultCallback_1_3< del, R, T, P1, A1, A2, A3 >::MemberSignature)(P1, A1, A2, A3) |
Definition at line 1100 of file tesscallback.h.
_TessMemberResultCallback_1_3< del, R, T, P1, A1, A2, A3 >::_TessMemberResultCallback_1_3 | ( | T * | object, |
MemberSignature | member, | ||
P1 | p1 | ||
) | [inline] |
Definition at line 1108 of file tesscallback.h.
: object_(object), member_(member), p1_(p1) { }
virtual R _TessMemberResultCallback_1_3< del, R, T, P1, A1, A2, A3 >::Run | ( | A1 | a1, |
A2 | a2, | ||
A3 | a3 | ||
) | [inline, virtual] |
Implements TessResultCallback3< R, A1, A2, A3 >.
Definition at line 1112 of file tesscallback.h.
{ if (!del) { R result = (object_->*member_)(p1_,a1,a2,a3); return result; } else { R result = (object_->*member_)(p1_,a1,a2,a3); // zero out the pointer to ensure segfault if used again member_ = NULL; delete this; return result; } }