reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::TransportSelectorThread Class Reference

#include <TransportSelectorThread.hxx>

Inheritance diagram for resip::TransportSelectorThread:
[legend]

Public Member Functions

 TransportSelectorThread (TransportSelector &selector)
 
virtual ~TransportSelectorThread ()
 
virtual void thread ()
 
- Public Member Functions inherited from resip::ThreadIf
 ThreadIf ()
 
virtual ~ThreadIf ()
 
virtual void run ()
 
void join ()
 
void detach ()
 
virtual void shutdown ()
 
virtual bool waitForShutdown (int ms) const
 
bool isShutdown () const
 

Protected Attributes

TransportSelector & mSelector
 
std::unique_ptr< FdPollGrp > mPollGrp
 
- Protected Attributes inherited from resip::ThreadIf
std::shared_ptr< std::thread > mThreadObj
 
Id mId
 
bool mShutdown
 
Mutex mShutdownMutex
 
Condition mShutdownCondition
 

Additional Inherited Members

- Public Types inherited from resip::ThreadIf
typedef std::thread::id Id
 
typedef pthread_key_t TlsKey
 
typedef void TlsDestructor(void *)
 
- Static Public Member Functions inherited from resip::ThreadIf
static Id selfId ()
 
static int tlsKeyCreate (TlsKey &key, TlsDestructor *destructor)
 This function follows pthread_key_create() signature.
 
static int tlsKeyDelete (TlsKey key)
 This function follows pthread_key_delete() signature.
 
static int tlsSetValue (TlsKey key, const void *val)
 This function follows pthread_setspecific() signature.
 
static void * tlsGetValue (TlsKey key)
 This function follows pthread_getspecific() signature.
 

Detailed Description

Definition at line 13 of file TransportSelectorThread.hxx.

Constructor & Destructor Documentation

◆ TransportSelectorThread()

resip::TransportSelectorThread::TransportSelectorThread ( TransportSelector &  selector)
inlineexplicit

Definition at line 16 of file TransportSelectorThread.hxx.

◆ ~TransportSelectorThread()

virtual resip::TransportSelectorThread::~TransportSelectorThread ( )
inlinevirtual

Definition at line 23 of file TransportSelectorThread.hxx.

Member Function Documentation

◆ thread()

virtual void resip::TransportSelectorThread::thread ( )
inlinevirtual

Implements resip::ThreadIf.

Definition at line 31 of file TransportSelectorThread.hxx.

Member Data Documentation

◆ mPollGrp

std::unique_ptr<FdPollGrp> resip::TransportSelectorThread::mPollGrp
protected

Definition at line 49 of file TransportSelectorThread.hxx.

◆ mSelector

TransportSelector& resip::TransportSelectorThread::mSelector
protected

Definition at line 48 of file TransportSelectorThread.hxx.


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