#include <RegistryManagerList.h>
|
enum | Direction { kForward =0,
kBackward,
kUndefined
} |
|
template<class T>
class RNReplicaNet::RegistryManagerList< T >
RegistryManager is a template class for handling classes in organised linked lists
The ctor performs some basic initialisation
The dtor makes sure everything is tidy
Adds an item to the list. This does not allocate an item as this is left to the user to do
- Parameters
-
item | the item pointer to add |
void AddItemHead |
( |
T * |
item | ) |
|
|
inline |
Adds an item to the head of the list. This does not allocate an item as this is left to the user to do
- Parameters
-
item | the item pointer to add |
void BeginIterate |
( |
void |
| ) |
|
|
inline |
Starts the iteration of the items in the list from the start and works forwards
Starts the iteration of the items in the list from the end and works backwards
Iterates through the items in the list
- Returns
- returns the next item pointer in the list or returns NULL for the end of the list
void RemoveItem |
( |
T * |
item | ) |
|
|
inline |
Removes an item from the list but does not free the item as this is left to the user to do
- Parameters
-
item | the item pointer to remove |
Removes the current iterated item