A Discrete-Event Network Simulator
API
ns3::Queue< Item, Container >::MakeGetItem< class, class > Struct Template Reference

Struct providing a static method returning the object stored within the queue that is included in the container element pointed to by the given const iterator. More...

Static Public Member Functions

static Ptr< Item > GetItem (const Container &, const ConstIterator it)
 

Detailed Description

template<typename Item, typename Container>
template<class, class = void>
struct ns3::Queue< Item, Container >::MakeGetItem< class, class >

Struct providing a static method returning the object stored within the queue that is included in the container element pointed to by the given const iterator.

This method is used when the container does not define a GetItem method and assumes that an object stored in the queue can be obtained by dereferencing the iterator pointing to the container element that includes such an object.

Definition at line 400 of file queue.h.

Member Function Documentation

◆ GetItem()

template<typename Item , typename Container >
template<class , class = void>
static Ptr<Item> ns3::Queue< Item, Container >::MakeGetItem< class, class >::GetItem ( const Container &  ,
const ConstIterator  it 
)
inlinestatic
Parameters
itthe given const iterator
Returns
the item included in the element pointed to by the given iterator

Definition at line 406 of file queue.h.


The documentation for this struct was generated from the following file: