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 (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
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 THREAD_RET_T THREAD_CALL ThreadMainHandler (UThreadC< void > *Param)
static void * ThreadMainHandler (Instance *Param)
static THREAD_RET_T THREAD_CALL ThreadMainHandler_S (Handler Param)

Detailed Description

template<>
class UThreadC< void >

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


Member Typedef Documentation

typedef THREAD_HANDLE UThreadC< void >::Handle

Definition at line 229 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 233 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 235 of file Posix/UThreadC.h.

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

Definition at line 238 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 255 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 288 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 320 of file Posix/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 323 of file Win32/UThreadC.h.

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

Reimplemented in UThread.

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

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

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

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

Definition at line 242 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 347 of file Win32/UThreadC.h.

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

Reimplemented in UThread.

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

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

Reimplemented in UThread.

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

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

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

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

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

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

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

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

Definition at line 250 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 246 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 THREAD_RET_T THREAD_CALL UThreadC< void >::ThreadMainHandler ( UThreadC< void > *  Param) [inline, static, private]

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

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

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

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

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


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:39