"Fossies" - the Fresh Open Source Software Archive

Member "tesseract-ocr/doc/html/class___const_tess_member_result_callback__0__1_3_01del_00_01void_00_01_t_00_01_a1_01_4.html" (26 Oct 2012, 16292 Bytes) of package /linux/misc/old/tesseract-ocr-3.02.02-doc-html.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the tesseract-ocr-3.02.02-doc-html.tar.gz project site itself.

Tesseract  3.02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
_ConstTessMemberResultCallback_0_1< del, void, T, A1 > Class Template Reference

#include <tesscallback.h>

Inheritance diagram for _ConstTessMemberResultCallback_0_1< del, void, T, A1 >:
TessCallback1< A1 >

List of all members.

Public Types

typedef TessCallback1< A1 > base
typedef void(T::* MemberSignature )(A1) const

Public Member Functions

 _ConstTessMemberResultCallback_0_1 (const T *object, MemberSignature member)
virtual void Run (A1 a1)
- Public Member Functions inherited from TessCallback1< A1 >
virtual ~TessCallback1 ()

Detailed Description

template<bool del, class T, class A1>
class _ConstTessMemberResultCallback_0_1< del, void, T, A1 >

Definition at line 319 of file tesscallback.h.


Member Typedef Documentation

template<bool del, class T , class A1 >
typedef TessCallback1<A1> _ConstTessMemberResultCallback_0_1< del, void, T, A1 >::base

Definition at line 322 of file tesscallback.h.

template<bool del, class T , class A1 >
typedef void(T::* _ConstTessMemberResultCallback_0_1< del, void, T, A1 >::MemberSignature)(A1) const

Definition at line 323 of file tesscallback.h.


Constructor & Destructor Documentation

template<bool del, class T , class A1 >
_ConstTessMemberResultCallback_0_1< del, void, T, A1 >::_ConstTessMemberResultCallback_0_1 ( const T *  object,
MemberSignature  member 
)
inline

Definition at line 330 of file tesscallback.h.

: object_(object),
member_(member) {
}

Member Function Documentation

template<bool del, class T , class A1 >
virtual void _ConstTessMemberResultCallback_0_1< del, void, T, A1 >::Run ( A1  a1)
inlinevirtual

Implements TessCallback1< A1 >.

Definition at line 336 of file tesscallback.h.

{
if (!del) {
(object_->*member_)(a1);
} else {
(object_->*member_)(a1);
// zero out the pointer to ensure segfault if used again
member_ = NULL;
delete this;
}
}

The documentation for this class was generated from the following file: