MeVisLab Toolbox Reference
|
The WEMQueueElement represents an element of a single linked list. More...
#include <WEMQueue.h>
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. | |
The WEMQueueElement represents an element of a single linked list.
Definition at line 23 of file WEMQueue.h.
ml::WEMQueueElement< T >::WEMQueueElement | ( | ) |
ml::WEMQueueElement< T >::WEMQueueElement | ( | T * | elem | ) |
Constructor takes a T pointer as an argument.
and sets the T as its data.
Definition at line 108 of file WEMQueue.h.
References mlrange_cast().
ml::WEMQueueElement< T >::~WEMQueueElement | ( | ) |
Default destructor.
Definition at line 117 of file WEMQueue.h.
|
inline |
Returns the pointer to this element.
Definition at line 35 of file WEMQueue.h.
Returns the pointer to this element.
Definition at line 37 of file WEMQueue.h.
References ml::WEMQueueElement< T >::get().
Referenced by ml::WEMQueueElement< T >::get().
|
inline |
Return the next element in the queue.
Definition at line 39 of file WEMQueue.h.
Referenced by ml::WEMQueue< T >::popFront(), and ml::WEMQueue< T >::~WEMQueue().
void ml::WEMQueueElement< T >::setNextQueueElement | ( | WEMQueueElement< T > * | next | ) |
Sets the next queue element to the given one.
Definition at line 126 of file WEMQueue.h.