tesseract
3.03
|
#include <tesscallback.h>
Public Types | |
typedef TessResultCallback4< R, A1, A2, A3, A4 > | base |
typedef R(T::* | MemberSignature )(P1, P2, P3, P4, P5, P6, A1, A2, A3, A4) const |
Public Member Functions | |
_ConstTessMemberResultCallback_6_4 (const T *object, MemberSignature member, P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6) | |
virtual R | Run (A1 a1, A2 a2, A3 a3, A4 a4) |
Definition at line 7881 of file tesscallback.h.
typedef TessResultCallback4<R,A1,A2,A3,A4> _ConstTessMemberResultCallback_6_4< del, R, T, P1, P2, P3, P4, P5, P6, A1, A2, A3, A4 >::base |
Definition at line 7883 of file tesscallback.h.
typedef R(T::* _ConstTessMemberResultCallback_6_4< del, R, T, P1, P2, P3, P4, P5, P6, A1, A2, A3, A4 >::MemberSignature)(P1, P2, P3, P4, P5, P6, A1, A2, A3, A4) const |
Definition at line 7884 of file tesscallback.h.
_ConstTessMemberResultCallback_6_4< del, R, T, P1, P2, P3, P4, P5, P6, A1, A2, A3, A4 >::_ConstTessMemberResultCallback_6_4 | ( | const T * | object, |
MemberSignature | member, | ||
P1 | p1, | ||
P2 | p2, | ||
P3 | p3, | ||
P4 | p4, | ||
P5 | p5, | ||
P6 | p6 | ||
) | [inline] |
Definition at line 7897 of file tesscallback.h.
: object_(object),
member_(member), p1_(p1), p2_(p2), p3_(p3), p4_(p4), p5_(p5), p6_(p6) { }
virtual R _ConstTessMemberResultCallback_6_4< del, R, T, P1, P2, P3, P4, P5, P6, A1, A2, A3, A4 >::Run | ( | A1 | a1, |
A2 | a2, | ||
A3 | a3, | ||
A4 | a4 | ||
) | [inline, virtual] |
Implements TessResultCallback4< R, A1, A2, A3, A4 >.
Definition at line 7901 of file tesscallback.h.
{ if (!del) { R result = (object_->*member_)(p1_,p2_,p3_,p4_,p5_,p6_,a1,a2,a3,a4); return result; } else { R result = (object_->*member_)(p1_,p2_,p3_,p4_,p5_,p6_,a1,a2,a3,a4); // zero out the pointer to ensure segfault if used again member_ = NULL; delete this; return result; } }