TQueue::ListNode Class Reference

Public Member Functions

 ListNode (void *, ListNode *)
 ~ListNode (void)
void SetNext (ListNode *)
ListNodeGetNext (void) const
void * GetData (void) const

Private Attributes

void * data
ListNodenext

Detailed Description

Definition at line 26 of file tqueue.h.


Constructor & Destructor Documentation

TQueue::ListNode::ListNode ( void *  d,
ListNode n 
)

Definition at line 20 of file tqueue.cpp.

00021 {
00022     data = d;
00023     next = n;
00024 }

TQueue::ListNode::~ListNode ( void   ) 

Definition at line 26 of file tqueue.cpp.

00027 {
00028     if( next )
00029         delete next;
00030 }


Member Function Documentation

void * TQueue::ListNode::GetData ( void   )  const [inline]

Definition at line 42 of file tqueue.cpp.

00043 {
00044     return data;
00045 }

TQueue::ListNode * TQueue::ListNode::GetNext ( void   )  const [inline]

Definition at line 37 of file tqueue.cpp.

00038 {
00039     return next;
00040 }

void TQueue::ListNode::SetNext ( TQueue::ListNode n  )  [inline]

Definition at line 32 of file tqueue.cpp.

00033 {
00034     next = n;
00035 }


Field Documentation

void* TQueue::ListNode::data [private]

Definition at line 29 of file tqueue.h.

Definition at line 30 of file tqueue.h.


The documentation for this class was generated from the following files:
Generated on Wed Jul 4 16:03:38 2012 for RIO by  doxygen 1.6.3