User Manual, Developers Guide and API Documentation

wns::container::Pool< ID >::Unbind Class Reference

Unbind event which is used to delay the port reuse.

Collaboration diagram for wns::container::Pool< ID >::Unbind:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void operator() ()
 This is called by the event handler. The port that was given upon construction is returned to the port pool.
 Unbind (Pool< ID > *pp, ID unbindId)
 Constructor.

Private Attributes

ID id
 Which port should be freed when event is executed.
Pool< ID > * portPoolInstance
 Instance of the PortPool this event is excuted on.


Detailed Description

template<typename ID>
class wns::container::Pool< ID >::Unbind

Definition at line 170 of file Pool.hpp.


Constructor & Destructor Documentation

template<typename ID>
wns::container::Pool< ID >::Unbind::Unbind ( Pool< ID > *  pp,
ID  unbindId 
) [inline]

Parameters:
[in] pp The instance of the port pool we are working on
[in] port The port that should be freed when event is executed.

Definition at line 178 of file Pool.hpp.


Member Function Documentation

template<typename ID>
void wns::container::Pool< ID >::Unbind::operator() (  )  [inline]

Definition at line 188 of file Pool.hpp.


Member Data Documentation

template<typename ID>
ID wns::container::Pool< ID >::Unbind::id [private]

Definition at line 202 of file Pool.hpp.

template<typename ID>
Pool<ID>* wns::container::Pool< ID >::Unbind::portPoolInstance [private]

Definition at line 197 of file Pool.hpp.


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

Generated on Sat May 26 03:32:52 2012 for openWNS by  doxygen 1.5.5