Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Static Private Member Functions | List of all members
UThreadC< void > Class Referenceabstract

#include <UThreadC.h>

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

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 (const Handle &H)
 
static int Detach (Handle H)
 
static int Join (const Handle &H)
 
static int Join (Handle H)
 
static int Kill (const Handle &H)
 
static int Kill (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

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

Member Typedef Documentation

◆ Handle [1/2]

typedef THREAD_HANDLE UThreadC< void >::Handle

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

◆ Handle [2/2]

typedef THREAD_HANDLE UThreadC< void >::Handle

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

◆ Handler [1/2]

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

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

◆ Handler [2/2]

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

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

Constructor & Destructor Documentation

◆ ~UThreadC() [1/2]

virtual UThreadC< void >::~UThreadC ( )
inlinevirtual

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

◆ UThreadC() [1/2]

UThreadC< void >::UThreadC ( )
inlineprotected

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

◆ ~UThreadC() [2/2]

virtual UThreadC< void >::~UThreadC ( )
inlinevirtual

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

◆ UThreadC() [2/2]

UThreadC< void >::UThreadC ( )
inlineprotected

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

Member Function Documentation

◆ Create() [1/6]

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 
)
inlinestatic

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

◆ Create() [2/6]

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 
)
inlinestatic

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

◆ Create() [3/6]

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

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

◆ Create() [4/6]

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

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

◆ Create() [5/6]

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.

◆ Create() [6/6]

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 324 of file Win32/UThreadC.h.

◆ Detach() [1/2]

static int UThreadC< void >::Detach ( const Handle H)
inlinestatic

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

◆ Detach() [2/2]

static int UThreadC< void >::Detach ( Handle  H)
inlinestatic

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

◆ Exit() [1/2]

static void UThreadC< void >::Exit ( )
inlinestaticprotected

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

◆ Exit() [2/2]

static void UThreadC< void >::Exit ( )
inlinestaticprotected

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

◆ Join() [1/2]

static int UThreadC< void >::Join ( const Handle H)
inlinestatic

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

◆ Join() [2/2]

static int UThreadC< void >::Join ( Handle  H)
inlinestatic

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

◆ Kill() [1/2]

static int UThreadC< void >::Kill ( const Handle H)
inlinestatic

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

◆ Kill() [2/2]

static int UThreadC< void >::Kill ( Handle  H)
inlinestatic

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

◆ M_Create()

static const UMutex& UThreadC< void >::M_Create ( )
inlinestaticprivate

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

◆ S_Create()

static USemaphore& UThreadC< void >::S_Create ( )
inlinestaticprivate

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

◆ Self() [1/2]

static Handle UThreadC< void >::Self ( )
inlinestaticprotected

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

◆ Self() [2/2]

static int UThreadC< void >::Self ( )
inlinestaticprotected

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

◆ TestCancel() [1/2]

static void UThreadC< void >::TestCancel ( )
inlinestaticprotected

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

◆ TestCancel() [2/2]

static void UThreadC< void >::TestCancel ( )
inlinestaticprotected

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

◆ ThreadMain() [1/2]

virtual void UThreadC< void >::ThreadMain ( )
protectedpure virtual

Implemented in UThread.

◆ ThreadMain() [2/2]

virtual void UThreadC< void >::ThreadMain ( )
protectedpure virtual

Implemented in UThread.

◆ ThreadMainHandler() [1/2]

static void* UThreadC< void >::ThreadMainHandler ( Instance *  Param)
inlinestaticprivate

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

◆ ThreadMainHandler() [2/2]

static THREAD_RET_T THREAD_CALL UThreadC< void >::ThreadMainHandler ( UThreadC< void > *  Param)
inlinestaticprivate

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

◆ ThreadMainHandler_S()

static THREAD_RET_T THREAD_CALL UThreadC< void >::ThreadMainHandler_S ( Handler  Param)
inlinestaticprivate

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


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:26