#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 } |
Poll table used to store WaitQueues of waiting files.
Definition at line 131 of file wait-queue.h.
| 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.
| 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 | ( | UnixFd * | file | ) |
Definition at line 150 of file wait-queue.cc.
References ns3::UnixFd::AddWaitQueue(), m_eventMask, m_pollEntryList, ns3::WaitQueueEntryPoll::SetPollTableEntry(), and ns3::WaitPoint::WakeUpCallback().
Referenced by ns3::UnixDatagramSocketFd::Poll(), ns3::UnixStreamSocketFd::Poll(), ns3::UnixFileFdBase::Poll(), ns3::UnixTimerFd::Poll(), ns3::LocalDatagramSocketFd::Poll(), ns3::LinuxSocketFdFactory::Poll(), ns3::PipeFd::Poll(), and ns3::LocalStreamSocketFd::Poll().
Here is the call graph for this function:
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:
|
private |
Definition at line 147 of file wait-queue.h.
Referenced by GetEventMask(), PollWait(), and SetEventMask().
|
private |
Definition at line 146 of file wait-queue.h.
Referenced by FreeWait(), PollWait(), and ~PollTable().