RTAB-Map 0.23.10
Real-Time Appearance-Based Mapping
Loading...
Searching...
No Matches
UThreadC< Thread_T > Class Template Referenceabstract

Public Types

typedef Thread_T & Thread_R
 
typedef const Thread_T & Thread_C_R
 
typedef THREAD_HANDLE Handle
 
typedef void(* Handler) (Thread_R)
 
typedef Thread_T & Thread_R
 
typedef const Thread_T & Thread_C_R
 
typedef THREAD_HANDLE Handle
 
typedef void(* Handler) (Thread_R)
 

Public Member Functions

int Create (Thread_C_R Param, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) const
 
int Create (Thread_C_R Param, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) const
 

Static Public Member Functions

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

Protected Member Functions

virtual void ThreadMain (Thread_R)=0
 
virtual void ThreadMain (Thread_R)=0
 

Static Protected Member Functions

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

Detailed Description

template<typename Thread_T>
class UThreadC< Thread_T >

Definition at line 66 of file UThreadC.h.

Member Typedef Documentation

◆ Thread_R [1/2]

template<typename Thread_T >
typedef Thread_T& UThreadC< Thread_T >::Thread_R

Definition at line 72 of file UThreadC.h.

◆ Thread_C_R [1/2]

template<typename Thread_T >
typedef const Thread_T& UThreadC< Thread_T >::Thread_C_R

Definition at line 73 of file UThreadC.h.

◆ Handle [1/2]

template<typename Thread_T >
typedef THREAD_HANDLE UThreadC< Thread_T >::Handle

Definition at line 75 of file UThreadC.h.

◆ Handler [1/2]

template<typename Thread_T >
typedef void(* UThreadC< Thread_T >::Handler) (Thread_R)

Definition at line 76 of file UThreadC.h.

◆ Thread_R [2/2]

template<typename Thread_T >
typedef Thread_T& UThreadC< Thread_T >::Thread_R

Definition at line 97 of file UThreadC.h.

◆ Thread_C_R [2/2]

template<typename Thread_T >
typedef const Thread_T& UThreadC< Thread_T >::Thread_C_R

Definition at line 98 of file UThreadC.h.

◆ Handle [2/2]

template<typename Thread_T >
typedef THREAD_HANDLE UThreadC< Thread_T >::Handle

Definition at line 100 of file UThreadC.h.

◆ Handler [2/2]

template<typename Thread_T >
typedef void(* UThreadC< Thread_T >::Handler) (Thread_R)

Definition at line 101 of file UThreadC.h.

Constructor & Destructor Documentation

◆ ~UThreadC()

template<typename Thread_T >
virtual UThreadC< Thread_T >::~UThreadC ( )
inlinevirtual

Definition at line 78 of file UThreadC.h.

◆ UThreadC() [1/2]

template<typename Thread_T >
UThreadC< Thread_T >::UThreadC ( )
inlineprotected

Definition at line 81 of file UThreadC.h.

◆ UThreadC() [2/2]

template<typename Thread_T >
UThreadC< Thread_T >::UThreadC ( )
inlineprotected

Definition at line 104 of file UThreadC.h.

Member Function Documentation

◆ Exit() [1/2]

template<typename Thread_T >
static void UThreadC< Thread_T >::Exit ( )
inlinestaticprotected

Definition at line 85 of file UThreadC.h.

◆ TestCancel() [1/2]

template<typename Thread_T >
static void UThreadC< Thread_T >::TestCancel ( )
inlinestaticprotected

Definition at line 88 of file UThreadC.h.

◆ Self() [1/2]

template<typename Thread_T >
static Handle UThreadC< Thread_T >::Self ( )
inlinestaticprotected

Definition at line 92 of file UThreadC.h.

◆ Create() [1/4]

template<typename Thread_T >
static int UThreadC< Thread_T >::Create ( const Handler &  Function,
Thread_C_R  Param,
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 97 of file UThreadC.h.

◆ Create() [2/4]

template<typename Thread_T >
int UThreadC< Thread_T >::Create ( Thread_C_R  Param,
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 131 of file UThreadC.h.

◆ Join() [1/2]

template<typename Thread_T >
static int UThreadC< Thread_T >::Join ( Handle  H)
inlinestatic

Definition at line 164 of file UThreadC.h.

◆ Kill() [1/2]

template<typename Thread_T >
static int UThreadC< Thread_T >::Kill ( Handle  H)
inlinestatic

Definition at line 168 of file UThreadC.h.

◆ Detach() [1/2]

template<typename Thread_T >
static int UThreadC< Thread_T >::Detach ( Handle  H)
inlinestatic

Definition at line 172 of file UThreadC.h.

◆ Exit() [2/2]

template<typename Thread_T >
static void UThreadC< Thread_T >::Exit ( )
inlinestaticprotected

Definition at line 108 of file UThreadC.h.

◆ TestCancel() [2/2]

template<typename Thread_T >
static void UThreadC< Thread_T >::TestCancel ( )
inlinestaticprotected

Definition at line 111 of file UThreadC.h.

◆ Self() [2/2]

template<typename Thread_T >
static int UThreadC< Thread_T >::Self ( )
inlinestaticprotected

Definition at line 114 of file UThreadC.h.

◆ Create() [3/4]

template<typename Thread_T >
static int UThreadC< Thread_T >::Create ( const Handler &  Function,
Thread_C_R  Param,
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 126 of file UThreadC.h.

◆ Create() [4/4]

template<typename Thread_T >
int UThreadC< Thread_T >::Create ( Thread_C_R  Param,
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 158 of file UThreadC.h.

◆ Join() [2/2]

template<typename Thread_T >
static int UThreadC< Thread_T >::Join ( const Handle &  H)
inlinestatic

Definition at line 189 of file UThreadC.h.

◆ Kill() [2/2]

template<typename Thread_T >
static int UThreadC< Thread_T >::Kill ( const Handle &  H)
inlinestatic

Definition at line 203 of file UThreadC.h.

◆ Detach() [2/2]

template<typename Thread_T >
static int UThreadC< Thread_T >::Detach ( const Handle &  H)
inlinestatic

Definition at line 206 of file UThreadC.h.


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