Mark3 Realtime Kernel
Mark3::LinkListNode Class Reference

The LinkListNode Class Basic linked-list node data structure. This data is managed by the linked-list class types, and can be used transparently between them. More...

#include <ll.h>

Inheritance diagram for Mark3::LinkListNode:
Mark3::TypedLinkListNode< T > Mark3::TypedLinkListNode< Coroutine > Mark3::TypedLinkListNode< Message > Mark3::TypedLinkListNode< Thread > Mark3::TypedLinkListNode< ThreadList > Mark3::TypedLinkListNode< Timer > Mark3::Coroutine Mark3::Message Mark3::Thread Mark3::ThreadList Mark3::Timer

Public Member Functions

LinkListNodeGetNext (void)
 GetNext. More...
 
LinkListNodeGetPrev (void)
 GetPrev. More...
 

Protected Member Functions

 LinkListNode ()
 
void ClearNode ()
 ClearNode. More...
 

Protected Attributes

LinkListNodenext
 Pointer to the next node in the list. More...
 
LinkListNodeprev
 Pointer to the previous node in the list. More...
 

Friends

class LinkList
 
class DoubleLinkList
 
class CircularLinkList
 

Detailed Description

The LinkListNode Class Basic linked-list node data structure. This data is managed by the linked-list class types, and can be used transparently between them.

Definition at line 62 of file ll.h.

Constructor & Destructor Documentation

◆ LinkListNode()

Mark3::LinkListNode::LinkListNode ( )
inlineprotected

Definition at line 68 of file ll.h.

Member Function Documentation

◆ ClearNode()

void Mark3::LinkListNode::ClearNode ( )
protected

ClearNode.

Initialize the linked list node, clearing its next and previous node.

Definition at line 27 of file ll.cpp.

◆ GetNext()

LinkListNode* Mark3::LinkListNode::GetNext ( void  )
inline

GetNext.

Returns a pointer to the next node in the list.

Returns
a pointer to the next node in the list.

Definition at line 85 of file ll.h.

◆ GetPrev()

LinkListNode* Mark3::LinkListNode::GetPrev ( void  )
inline

GetPrev.

Returns a pointer to the previous node in the list.

Returns
a pointer to the previous node in the list.

Definition at line 93 of file ll.h.

Friends And Related Function Documentation

◆ CircularLinkList

friend class CircularLinkList
friend

Definition at line 96 of file ll.h.

◆ DoubleLinkList

friend class DoubleLinkList
friend

Definition at line 95 of file ll.h.

◆ LinkList

friend class LinkList
friend

Definition at line 94 of file ll.h.

Member Data Documentation

◆ next

LinkListNode* Mark3::LinkListNode::next
protected

Pointer to the next node in the list.

Definition at line 65 of file ll.h.

◆ prev

LinkListNode* Mark3::LinkListNode::prev
protected

Pointer to the previous node in the list.

Definition at line 66 of file ll.h.


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