MprLink Class Reference#include <mpr.h>
Inheritance diagram for MprLink:
List of all members.
Detailed Description
Link pointer class for objects in a MprList.
The MprLink class enables subclassed objects to be inserted in a MprList. It provides forward and back links for fast insertion, removal and iteration. To use MprLink, subclasses must inherit MprLink as a base class. Use MprList for the dummy list header and MprLink for the list members.
- Remarks:
- This class is NOT thread-safe. Callers must do their own thread synchronization. It is designed to be "inline", very fast and no-frills.
Constructor & Destructor Documentation
MprLink::MprLink |
( |
|
) |
[inline] |
|
Member Function Documentation
void MprLink::insertAfter |
( |
MprLink * |
item |
) |
[inline] |
|
|
Insert after this member.
|
void MprLink::insertPrior |
( |
MprLink * |
item |
) |
[inline] |
|
|
Insert prior to this member.
|
|