User Manual, Developers Guide and API Documentation

lte::helper::SwitchLink< RECEPTACLETYPE > Class Template Reference

#include <helper/SwitchLink.hpp>

Inheritance diagram for lte::helper::SwitchLink< RECEPTACLETYPE >:

Inheritance graph
[legend]
Collaboration diagram for lte::helper::SwitchLink< RECEPTACLETYPE >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void activate (const RECEPTACLETYPE *src)
void activate (const typename wns::ldk::Link< RECEPTACLETYPE >::ExchangeContainer &src)
std::list< RECEPTACLETYPE * > getFUs () const
 SwitchLink ()
virtual ~SwitchLink ()
Link interface
virtual void add (RECEPTACLETYPE *it)
 Add a FU to the link set.
virtual void clear ()
 Erase all FUs.
virtual const wns::ldk::Link
< RECEPTACLETYPE >
::ExchangeContainer 
get () const
 Return set of stored FUs.
virtual void set (const typename wns::ldk::Link< RECEPTACLETYPE >::ExchangeContainer &src)
virtual long unsigned int size () const
 Return number of FUs added.

Protected Attributes

RECEPTACLETYPE * active
std::list< RECEPTACLETYPE * > recs

Friends

class tests::SwitchLinkTest


Detailed Description

template<typename RECEPTACLETYPE>
class lte::helper::SwitchLink< RECEPTACLETYPE >

Definition at line 44 of file SwitchLink.hpp.


Constructor & Destructor Documentation

template<typename RECEPTACLETYPE>
lte::helper::SwitchLink< RECEPTACLETYPE >::SwitchLink (  )  [inline]

Definition at line 49 of file SwitchLink.hpp.

template<typename RECEPTACLETYPE>
virtual lte::helper::SwitchLink< RECEPTACLETYPE >::~SwitchLink (  )  [inline, virtual]

Definition at line 55 of file SwitchLink.hpp.


Member Function Documentation

template<typename RECEPTACLETYPE>
void lte::helper::SwitchLink< RECEPTACLETYPE >::activate ( const RECEPTACLETYPE *  src  )  [inline]

Definition at line 131 of file SwitchLink.hpp.

template<typename RECEPTACLETYPE>
void lte::helper::SwitchLink< RECEPTACLETYPE >::activate ( const typename wns::ldk::Link< RECEPTACLETYPE >::ExchangeContainer src  )  [inline]

Definition at line 118 of file SwitchLink.hpp.

template<typename RECEPTACLETYPE>
virtual void lte::helper::SwitchLink< RECEPTACLETYPE >::add ( RECEPTACLETYPE *  it  )  [inline, virtual]

Implements wns::ldk::Link< RECEPTACLETYPE >.

Definition at line 66 of file SwitchLink.hpp.

template<typename RECEPTACLETYPE>
virtual void lte::helper::SwitchLink< RECEPTACLETYPE >::clear (  )  [inline, virtual]

Implements wns::ldk::Link< RECEPTACLETYPE >.

Definition at line 79 of file SwitchLink.hpp.

template<typename RECEPTACLETYPE>
virtual const wns::ldk::Link<RECEPTACLETYPE>::ExchangeContainer lte::helper::SwitchLink< RECEPTACLETYPE >::get (  )  const [inline, virtual]

Implements wns::ldk::Link< RECEPTACLETYPE >.

Definition at line 85 of file SwitchLink.hpp.

template<typename RECEPTACLETYPE>
std::list<RECEPTACLETYPE*> lte::helper::SwitchLink< RECEPTACLETYPE >::getFUs (  )  const [inline]

Definition at line 142 of file SwitchLink.hpp.

template<typename RECEPTACLETYPE>
virtual void lte::helper::SwitchLink< RECEPTACLETYPE >::set ( const typename wns::ldk::Link< RECEPTACLETYPE >::ExchangeContainer src  )  [inline, virtual]

Definition at line 98 of file SwitchLink.hpp.

template<typename RECEPTACLETYPE>
virtual long unsigned int lte::helper::SwitchLink< RECEPTACLETYPE >::size (  )  const [inline, virtual]

Implements wns::ldk::Link< RECEPTACLETYPE >.

Definition at line 73 of file SwitchLink.hpp.


Friends And Related Function Documentation

template<typename RECEPTACLETYPE>
friend class tests::SwitchLinkTest [friend]

Definition at line 47 of file SwitchLink.hpp.


Member Data Documentation

template<typename RECEPTACLETYPE>
RECEPTACLETYPE* lte::helper::SwitchLink< RECEPTACLETYPE >::active [protected]

Definition at line 150 of file SwitchLink.hpp.

template<typename RECEPTACLETYPE>
std::list<RECEPTACLETYPE*> lte::helper::SwitchLink< RECEPTACLETYPE >::recs [protected]

Definition at line 148 of file SwitchLink.hpp.


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

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