Project
Loading...
Searching...
No Matches
qThreadCls< S, T > Class Template Reference

#include <threadserver.h>

Public Member Functions

 qThreadCls ()
 
 qThreadCls (S *pCls, void(S::*pFunc)(T *), int32_t threadNum=0, int32_t pinCPU=-1)
 
void SpawnThread (S *pCls, void(S::*pFunc)(T *), int32_t threadNum=0, int32_t pinCPU=-1, bool wait=true)
 
void WaitForSpawn ()
 
 ~qThreadCls ()
 
void End ()
 
void Start ()
 
void Sync ()
 

Detailed Description

template<class S, class T>
class qThreadCls< S, T >

Definition at line 86 of file threadserver.h.

Constructor & Destructor Documentation

◆ qThreadCls() [1/2]

template<class S , class T >
qThreadCls< S, T >::qThreadCls ( )
inline

Definition at line 89 of file threadserver.h.

◆ qThreadCls() [2/2]

template<class S , class T >
qThreadCls< S, T >::qThreadCls ( S pCls,
void(S::*)(T *)  pFunc,
int32_t  threadNum = 0,
int32_t  pinCPU = -1 
)
inline

Definition at line 90 of file threadserver.h.

◆ ~qThreadCls()

template<class S , class T >
qThreadCls< S, T >::~qThreadCls ( )
inline

Definition at line 114 of file threadserver.h.

Member Function Documentation

◆ End()

template<class S , class T >
void qThreadCls< S, T >::End ( )
inline

Definition at line 121 of file threadserver.h.

◆ SpawnThread()

template<class S , class T >
void qThreadCls< S, T >::SpawnThread ( S pCls,
void(S::*)(T *)  pFunc,
int32_t  threadNum = 0,
int32_t  pinCPU = -1,
bool  wait = true 
)
inline

Definition at line 96 of file threadserver.h.

◆ Start()

template<class S , class T >
void qThreadCls< S, T >::Start ( )
inline

Definition at line 131 of file threadserver.h.

◆ Sync()

template<class S , class T >
void qThreadCls< S, T >::Sync ( )
inline

Definition at line 133 of file threadserver.h.

◆ WaitForSpawn()

template<class S , class T >
void qThreadCls< S, T >::WaitForSpawn ( )
inline

Definition at line 112 of file threadserver.h.


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