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

#include <wait-queue.h>

+ Inheritance diagram for ns3::WaitQueueEntryPoll:
+ Collaboration diagram for ns3::WaitQueueEntryPoll:

Public Member Functions

 WaitQueueEntryPoll (Callback< void > cb)
void SetPollTableEntry (PollTableEntry *p)
virtual void WakeUp (void *key)
- Public Member Functions inherited from ns3::WaitQueueEntry
 WaitQueueEntry ()

Private Attributes

Callback< void > const m_func
PollTableEntrym_pollTableEntry

Detailed Description

WaitQueueEntry specialised for poll usage.

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

Constructor & Destructor Documentation

ns3::WaitQueueEntryPoll::WaitQueueEntryPoll ( Callback< void >  cb)
Parameters
cb callback used to wake up the waiter task.

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

Member Function Documentation

void ns3::WaitQueueEntryPoll::SetPollTableEntry ( PollTableEntry p)

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

References m_pollTableEntry.

Referenced by ns3::PollTable::PollWait().

+ Here is the caller graph for this function:

void ns3::WaitQueueEntryPoll::WakeUp ( void *  key)
virtual

Implements ns3::WaitQueueEntry.

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

References ns3::PollTableEntry::IsEventMatch(), m_func, and m_pollTableEntry.

+ Here is the call graph for this function:

Member Data Documentation

Callback<void> const ns3::WaitQueueEntryPoll::m_func
private

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

Referenced by WakeUp().

PollTableEntry* ns3::WaitQueueEntryPoll::m_pollTableEntry
private

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

Referenced by SetPollTableEntry(), and WakeUp().


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