Public Member Functions

kNet::EmptyLookupNotify< T > Class Template Reference

Used as a no-functionality structure to pass as the default template parameter to MaxHeap when no index update notifications are needed. More...

#include <MaxHeap.h>

List of all members.

Public Member Functions

void IndexUpdated (const T &element, int newIndex)
 Called whenever an element in the MaxHeap is moved around.

Detailed Description

template<typename T>
class kNet::EmptyLookupNotify< T >

Used as a no-functionality structure to pass as the default template parameter to MaxHeap when no index update notifications are needed.

You can create a custom notification structure to track handles to the elements as they move around in memory.


Member Function Documentation

template<typename T >
void kNet::EmptyLookupNotify< T >::IndexUpdated ( const T &  element,
int  newIndex 
) [inline]

Called whenever an element in the MaxHeap is moved around.

Parameters:
element The element that was moved around.
newIndex The new index of the element.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines