MeVisLabToolboxReference
ml::WEMQueueElement< T > Class Template Reference

The WEMQueueElement represents an element of a single linked list. More...

#include <WEMQueue.h>

List of all members.

Public Member Functions

 WEMQueueElement ()
 Default constructor.
 WEMQueueElement (T *elem)
 Constructor takes a T pointer as an argument.
 ~WEMQueueElement ()
 Default destructor.
T * get ()
 Returns the pointer to this element.
const T * get () const
 Returns the pointer to this element.
WEMQueueElement< T > * getNextQueueElement ()
 Return the next element in the queue.
void setNextQueueElement (WEMQueueElement< T > *next)
 Sets the next queue element to the given one.

Detailed Description

template<class T>
class ml::WEMQueueElement< T >

The WEMQueueElement represents an element of a single linked list.

Definition at line 22 of file WEMQueue.h.


Constructor & Destructor Documentation

template<class T >
ml::WEMQueueElement< T >::WEMQueueElement ( )

Default constructor.

Definition at line 98 of file WEMQueue.h.

template<class T >
ml::WEMQueueElement< T >::WEMQueueElement ( T *  elem)

Constructor takes a T pointer as an argument.

and sets the T as its data.

Definition at line 107 of file WEMQueue.h.

template<class T >
ml::WEMQueueElement< T >::~WEMQueueElement ( )

Default destructor.

Definition at line 116 of file WEMQueue.h.


Member Function Documentation

template<class T>
T* ml::WEMQueueElement< T >::get ( ) [inline]

Returns the pointer to this element.

Definition at line 34 of file WEMQueue.h.

template<class T>
const T* ml::WEMQueueElement< T >::get ( ) const [inline]

Returns the pointer to this element.

Definition at line 36 of file WEMQueue.h.

template<class T>
WEMQueueElement<T>* ml::WEMQueueElement< T >::getNextQueueElement ( ) [inline]

Return the next element in the queue.

Definition at line 38 of file WEMQueue.h.

Referenced by ml::WEMQueue< T >::popFront(), and ml::WEMQueue< T >::~WEMQueue().

template<class T >
void ml::WEMQueueElement< T >::setNextQueueElement ( WEMQueueElement< T > *  next)

Sets the next queue element to the given one.

Definition at line 125 of file WEMQueue.h.

Referenced by ml::WEMQueue< T >::prepend().


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