ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ns3::PollTable Class Reference

#include <wait-queue.h>

+ Inheritance diagram for ns3::PollTable:
+ Collaboration diagram for ns3::PollTable:

Public Member Functions

 PollTable ()
 ~PollTable ()
void FreeWait ()
short GetEventMask () const
void PollWait (UnixFd *file)
void PollWait (void *ref, Callback< void, void * > cb)
void SetEventMask (short e)
- Public Member Functions inherited from ns3::WaitPoint
 WaitPoint ()
WaitPoint::Result Wait (Time to)
void WakeUpCallback ()

Private Attributes

short m_eventMask
std::list< PollTableEntry * > m_pollEntryList

Additional Inherited Members

- Public Types inherited from ns3::WaitPoint
enum  Result { INTERRUPTED, TIMEOUT, OK }

Detailed Description

Poll table used to store WaitQueues of waiting files.

Definition at line 131 of file wait-queue.h.

Constructor & Destructor Documentation

ns3::PollTable::PollTable ( )

Definition at line 135 of file wait-queue.cc.

ns3::PollTable::~PollTable ( )

Definition at line 139 of file wait-queue.cc.

References m_pollEntryList.

Member Function Documentation

void ns3::PollTable::FreeWait ( )

Definition at line 164 of file wait-queue.cc.

References m_pollEntryList.

Referenced by ns3::DceManager::CleanupThread(), and dce_poll().

+ Here is the caller graph for this function:

short ns3::PollTable::GetEventMask ( ) const

Definition at line 178 of file wait-queue.cc.

References m_eventMask.

Referenced by ns3::LinuxSocketFdFactory::Poll().

+ Here is the caller graph for this function:

void ns3::PollTable::PollWait ( void *  ref,
Callback< void, void * >  cb 
)

Definition at line 159 of file wait-queue.cc.

References m_pollEntryList.

void ns3::PollTable::SetEventMask ( short  e)

Definition at line 173 of file wait-queue.cc.

References m_eventMask.

Referenced by dce_poll(), and ns3::LinuxSocketImpl::Poll().

+ Here is the caller graph for this function:

Member Data Documentation

short ns3::PollTable::m_eventMask
private

Definition at line 147 of file wait-queue.h.

Referenced by GetEventMask(), PollWait(), and SetEventMask().

std::list<PollTableEntry*> ns3::PollTable::m_pollEntryList
private

Definition at line 146 of file wait-queue.h.

Referenced by FreeWait(), PollWait(), and ~PollTable().


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