ns3::SystemConditionPrivate Class Reference

List of all members.

Public Member Functions

 SystemConditionPrivate ()
 ~SystemConditionPrivate ()
void SetCondition (bool condition)
bool GetCondition (void)
void Signal (void)
void Broadcast (void)
void Wait (void)
bool TimedWait (uint64_t ns)

Static Public Attributes

static const uint64_t NS_PER_SEC = (uint64_t)1000000000

Private Attributes

pthread_mutex_t m_mutex
pthread_cond_t m_cond
bool m_condition

Detailed Description

Definition at line 30 of file unix-system-condition.cc.


Constructor & Destructor Documentation

ns3::SystemConditionPrivate::SystemConditionPrivate (  ) 

Definition at line 50 of file unix-system-condition.cc.

References m_cond, m_condition, m_mutex, and NS_LOG_FUNCTION_NOARGS.

ns3::SystemConditionPrivate::~SystemConditionPrivate (  ) 

Definition at line 75 of file unix-system-condition.cc.

References m_cond, m_mutex, and NS_LOG_FUNCTION_NOARGS.


Member Function Documentation

void ns3::SystemConditionPrivate::Broadcast ( void   ) 

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

References m_cond, m_mutex, and NS_LOG_FUNCTION_NOARGS.

Referenced by ns3::SystemCondition::Broadcast().

bool ns3::SystemConditionPrivate::GetCondition ( void   ) 

Definition at line 90 of file unix-system-condition.cc.

References m_condition, and NS_LOG_FUNCTION_NOARGS.

Referenced by ns3::SystemCondition::GetCondition().

void ns3::SystemConditionPrivate::SetCondition ( bool  condition  ) 

Definition at line 83 of file unix-system-condition.cc.

References m_condition, and NS_LOG_FUNCTION_NOARGS.

Referenced by ns3::SystemCondition::SetCondition().

void ns3::SystemConditionPrivate::Signal ( void   ) 

Definition at line 97 of file unix-system-condition.cc.

References m_cond, m_mutex, and NS_LOG_FUNCTION_NOARGS.

Referenced by ns3::SystemCondition::Signal().

bool ns3::SystemConditionPrivate::TimedWait ( uint64_t  ns  ) 
void ns3::SystemConditionPrivate::Wait ( void   ) 

Definition at line 117 of file unix-system-condition.cc.

References m_cond, m_condition, m_mutex, and NS_LOG_FUNCTION_NOARGS.

Referenced by ns3::SystemCondition::Wait().


Member Data Documentation

pthread_cond_t ns3::SystemConditionPrivate::m_cond [private]
pthread_mutex_t ns3::SystemConditionPrivate::m_mutex [private]
const uint64_t ns3::SystemConditionPrivate::NS_PER_SEC = (uint64_t)1000000000 [static]

Definition at line 32 of file unix-system-condition.cc.

Referenced by TimedWait().


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