ns3::SystemThreadImpl Class Reference

Collaboration diagram for ns3::SystemThreadImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SystemThreadImpl (Callback< void > callback)
void Start (void)
void Join (void)
void Shutdown (void)
bool Break (void)

Static Private Member Functions

static void * DoRun (void *arg)

Private Attributes

Callback< void > m_callback
pthread_t m_thread
bool m_break
void * m_ret

Detailed Description

Definition at line 46 of file unix-system-thread.cc.


Constructor & Destructor Documentation

ns3::SystemThreadImpl::SystemThreadImpl ( Callback< void >  callback  ) 

Definition at line 64 of file unix-system-thread.cc.

References NS_LOG_FUNCTION_NOARGS.


Member Function Documentation

bool ns3::SystemThreadImpl::Break ( void   ) 

Definition at line 119 of file unix-system-thread.cc.

References m_break, and NS_LOG_FUNCTION_NOARGS.

Referenced by ns3::SystemThread::Break().

void * ns3::SystemThreadImpl::DoRun ( void *  arg  )  [static, private]

Definition at line 127 of file unix-system-thread.cc.

References NS_LOG_FUNCTION_NOARGS.

Referenced by Start().

void ns3::SystemThreadImpl::Join ( void   ) 

Definition at line 93 of file unix-system-thread.cc.

References m_thread, NS_FATAL_ERROR, and NS_LOG_FUNCTION_NOARGS.

Referenced by ns3::SystemThread::Join().

void ns3::SystemThreadImpl::Shutdown ( void   ) 

Definition at line 107 of file unix-system-thread.cc.

References m_break, m_thread, and NS_LOG_FUNCTION_NOARGS.

Referenced by ns3::SystemThread::Shutdown().

void ns3::SystemThreadImpl::Start ( void   ) 

Definition at line 78 of file unix-system-thread.cc.

References DoRun(), m_thread, NS_FATAL_ERROR, and NS_LOG_FUNCTION_NOARGS.

Referenced by ns3::SystemThread::Start().


Member Data Documentation

Definition at line 60 of file unix-system-thread.cc.

Referenced by Break(), and Shutdown().

Definition at line 58 of file unix-system-thread.cc.

Definition at line 61 of file unix-system-thread.cc.

pthread_t ns3::SystemThreadImpl::m_thread [private]

Definition at line 59 of file unix-system-thread.cc.

Referenced by Join(), Shutdown(), and Start().


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 14:10:36 2009 for NS-3 by  doxygen 1.6.3