#include <wait-queue.h>
Public Member Functions | |
WaitQueueEntryPoll (Callback< void > cb) | |
void | SetPollTableEntry (PollTableEntry *p) |
virtual void | WakeUp (void *key) |
![]() | |
WaitQueueEntry () |
Private Attributes | |
Callback< void > const | m_func |
PollTableEntry * | m_pollTableEntry |
WaitQueueEntry specialised for poll usage.
Definition at line 59 of file wait-queue.h.
ns3::WaitQueueEntryPoll::WaitQueueEntryPoll | ( | Callback< void > | cb | ) |
cb callback used to wake up the waiter task. |
Definition at line 38 of file wait-queue.cc.
void ns3::WaitQueueEntryPoll::SetPollTableEntry | ( | PollTableEntry * | p | ) |
Definition at line 43 of file wait-queue.cc.
References m_pollTableEntry.
Referenced by ns3::PollTable::PollWait().
|
virtual |
Implements ns3::WaitQueueEntry.
Definition at line 49 of file wait-queue.cc.
References ns3::PollTableEntry::IsEventMatch(), m_func, and m_pollTableEntry.
|
private |
Definition at line 72 of file wait-queue.h.
Referenced by WakeUp().
|
private |
Definition at line 73 of file wait-queue.h.
Referenced by SetPollTableEntry(), and WakeUp().