Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Static Private Member Functions
UThreadC< void > Class Template Reference

#include <UThreadC.h>

Inheritance diagram for UThreadC< void >:
Inheritance graph
[legend]

List of all members.

Classes

struct  Instance

Public Types

typedef THREAD_HANDLE Handle
typedef THREAD_HANDLE Handle
typedef void(* Handler )()
typedef void(* Handler )()

Public Member Functions

int Create (Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) const
int Create (Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) const
int Create (unsigned long &ThreadId, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) const
int Create (int &ThreadId, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) const
virtual ~UThreadC ()
virtual ~UThreadC ()

Static Public Member Functions

static int Create (const Handler &Function, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false)
static int Create (const Handler &Function, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false)
static int Detach (Handle H)
static int Detach (const Handle &H)
static int Join (const Handle &H)
static int Join (Handle H)
static int Kill (Handle H)
static int Kill (const Handle &H)

Protected Member Functions

virtual void ThreadMain ()=0
virtual void ThreadMain ()=0
 UThreadC ()
 UThreadC ()

Static Protected Member Functions

static void Exit ()
static void Exit ()
static Handle Self ()
static int Self ()
static void TestCancel ()
static void TestCancel ()

Static Private Member Functions

static const UMutexM_Create ()
static USemaphoreS_Create ()
static void * ThreadMainHandler (Instance *Param)
static THREAD_RET_T THREAD_CALL ThreadMainHandler (UThreadC< void > *Param)
static THREAD_RET_T THREAD_CALL ThreadMainHandler_S (Handler Param)

Detailed Description

template<>
class UThreadC< void >

Definition at line 221 of file Posix/UThreadC.h.


Member Typedef Documentation

typedef THREAD_HANDLE UThreadC< void >::Handle

Definition at line 224 of file Posix/UThreadC.h.

typedef THREAD_HANDLE UThreadC< void >::Handle

Definition at line 247 of file Win32/UThreadC.h.

typedef void( * UThreadC< void >::Handler)()

Definition at line 228 of file Posix/UThreadC.h.

typedef void( * UThreadC< void >::Handler)()

Definition at line 251 of file Win32/UThreadC.h.


Constructor & Destructor Documentation

virtual UThreadC< void >::~UThreadC ( ) [inline, virtual]

Definition at line 230 of file Posix/UThreadC.h.

UThreadC< void >::UThreadC ( ) [inline, protected]

Definition at line 233 of file Posix/UThreadC.h.

virtual UThreadC< void >::~UThreadC ( ) [inline, virtual]

Definition at line 253 of file Win32/UThreadC.h.

UThreadC< void >::UThreadC ( ) [inline, protected]

Definition at line 256 of file Win32/UThreadC.h.


Member Function Documentation

static int UThreadC< void >::Create ( const Handler Function,
Handle *const &  H = 0,
const bool &  CreateDetached = false,
const unsigned int &  StackSize = 0,
const bool &  CancelEnable = false,
const bool &  CancelAsync = false 
) [inline, static]

Definition at line 248 of file Posix/UThreadC.h.

static int UThreadC< void >::Create ( const Handler Function,
Handle *const &  H = 0,
const bool &  CreateDetached = false,
const unsigned int &  StackSize = 0,
const bool &  CancelEnable = false,
const bool &  CancelAsync = false 
) [inline, static]

Definition at line 279 of file Win32/UThreadC.h.

int UThreadC< void >::Create ( Handle *const &  H = 0,
const bool &  CreateDetached = false,
const unsigned int &  StackSize = 0,
const bool &  CancelEnable = false,
const bool &  CancelAsync = false 
) const [inline]

Reimplemented in UThread.

Definition at line 281 of file Posix/UThreadC.h.

int UThreadC< void >::Create ( Handle *const &  H = 0,
const bool &  CreateDetached = false,
const unsigned int &  StackSize = 0,
const bool &  CancelEnable = false,
const bool &  CancelAsync = false 
) const [inline]

Reimplemented in UThread.

Definition at line 301 of file Win32/UThreadC.h.

int UThreadC< void >::Create ( unsigned long &  ThreadId,
Handle *const &  H = 0,
const bool &  CreateDetached = false,
const unsigned int &  StackSize = 0,
const bool &  CancelEnable = false,
const bool &  CancelAsync = false 
) const [inline]

Definition at line 313 of file Posix/UThreadC.h.

int UThreadC< void >::Create ( int &  ThreadId,
Handle *const &  H = 0,
const bool &  CreateDetached = false,
const unsigned int &  StackSize = 0,
const bool &  CancelEnable = false,
const bool &  CancelAsync = false 
) const [inline]

Definition at line 323 of file Win32/UThreadC.h.

static int UThreadC< void >::Detach ( Handle  H) [inline, static]

Reimplemented in UThread.

Definition at line 353 of file Posix/UThreadC.h.

static int UThreadC< void >::Detach ( const Handle H) [inline, static]

Definition at line 362 of file Win32/UThreadC.h.

static void UThreadC< void >::Exit ( ) [inline, static, protected]

Definition at line 237 of file Posix/UThreadC.h.

static void UThreadC< void >::Exit ( ) [inline, static, protected]

Definition at line 260 of file Win32/UThreadC.h.

static int UThreadC< void >::Join ( const Handle H) [inline, static]

Definition at line 345 of file Win32/UThreadC.h.

static int UThreadC< void >::Join ( Handle  H) [inline, static]

Reimplemented in UThread.

Definition at line 347 of file Posix/UThreadC.h.

static int UThreadC< void >::Kill ( Handle  H) [inline, static]

Reimplemented in UThread.

Definition at line 350 of file Posix/UThreadC.h.

static int UThreadC< void >::Kill ( const Handle H) [inline, static]

Definition at line 359 of file Win32/UThreadC.h.

static const UMutex& UThreadC< void >::M_Create ( ) [inline, static, private]

Definition at line 358 of file Posix/UThreadC.h.

static USemaphore& UThreadC< void >::S_Create ( ) [inline, static, private]

Definition at line 359 of file Posix/UThreadC.h.

static Handle UThreadC< void >::Self ( ) [inline, static, protected]

Definition at line 243 of file Posix/UThreadC.h.

static int UThreadC< void >::Self ( ) [inline, static, protected]

Definition at line 266 of file Win32/UThreadC.h.

static void UThreadC< void >::TestCancel ( ) [inline, static, protected]

Definition at line 240 of file Posix/UThreadC.h.

static void UThreadC< void >::TestCancel ( ) [inline, static, protected]

Definition at line 263 of file Win32/UThreadC.h.

virtual void UThreadC< void >::ThreadMain ( ) [protected, pure virtual]

Implemented in UThread.

virtual void UThreadC< void >::ThreadMain ( ) [protected, pure virtual]

Implemented in UThread.

static void* UThreadC< void >::ThreadMainHandler ( Instance *  Param) [inline, static, private]

Definition at line 361 of file Posix/UThreadC.h.

static THREAD_RET_T THREAD_CALL UThreadC< void >::ThreadMainHandler ( UThreadC< void > *  Param) [inline, static, private]

Definition at line 367 of file Win32/UThreadC.h.

static THREAD_RET_T THREAD_CALL UThreadC< void >::ThreadMainHandler_S ( Handler  Param) [inline, static, private]

Definition at line 374 of file Win32/UThreadC.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Fri Aug 28 2015 12:51:43