OregonCore  revision be9e804-git
Your Favourite TBC server
GridRefManager< OBJECT > Class Template Reference

#include <GridReference.h>

+ Inheritance diagram for GridRefManager< OBJECT >:

Public Types

typedef LinkedListHead::Iterator< GridReference< OBJECT > > iterator
 
- Public Types inherited from RefManager< GridRefManager< OBJECT >, OBJECT >
typedef LinkedListHead::Iterator< Reference< GridRefManager< OBJECT >, OBJECT > > iterator
 
- Public Types inherited from LinkedListHead
typedef Iterator< LinkedListElementiterator
 

Public Member Functions

GridReference< OBJECT > * getFirst ()
 
GridReference< OBJECT > * getLast ()
 
iterator begin ()
 
iterator end ()
 
iterator rbegin ()
 
iterator rend ()
 
- Public Member Functions inherited from RefManager< GridRefManager< OBJECT >, OBJECT >
 RefManager ()
 
virtual ~RefManager ()
 
Reference< GridRefManager< OBJECT >, OBJECT > * getFirst ()
 
Reference< GridRefManager< OBJECT >, OBJECT > const * getFirst () const
 
Reference< GridRefManager< OBJECT >, OBJECT > * getLast ()
 
Reference< GridRefManager< OBJECT >, OBJECT > const * getLast () const
 
iterator begin ()
 
iterator end ()
 
iterator rbegin ()
 
iterator rend ()
 
void clearReferences ()
 
- Public Member Functions inherited from LinkedListHead
 LinkedListHead ()
 
virtual ~LinkedListHead ()
 
bool isEmpty () const
 
LinkedListElementgetFirst ()
 
LinkedListElement const * getFirst () const
 
LinkedListElementgetLast ()
 
LinkedListElement const * getLast () const
 
void insertFirst (LinkedListElement *pElem)
 
void insertLast (LinkedListElement *pElem)
 
uint32 getSize () const
 
void incSize ()
 
void decSize ()
 

Detailed Description

template<class OBJECT>
class GridRefManager< OBJECT >

Definition at line 24 of file GridReference.h.

Member Typedef Documentation

template<class OBJECT>
typedef LinkedListHead::Iterator< GridReference<OBJECT> > GridRefManager< OBJECT >::iterator

Definition at line 30 of file GridRefManager.h.

Member Function Documentation

template<class OBJECT>
iterator GridRefManager< OBJECT >::begin ( )
inline

Definition at line 41 of file GridRefManager.h.

Referenced by ResetNotifier::resetNotify(), Oregon::GridUpdater::updateObjects(), Oregon::VisibleNotifier::Visit(), Oregon::VisibleChangesNotifier::Visit(), ObjectGridStoper::Visit(), ObjectGridEvacuator::Visit(), Oregon::PlayerRelocationNotifier::Visit(), ObjectGridCleaner::Visit(), Oregon::CreatureRelocationNotifier::Visit(), Oregon::DelayedUnitRelocation::Visit(), Oregon::AIRelocationNotifier::Visit(), Oregon::MessageDistDeliverer::Visit(), Oregon::ObjectUpdater::Visit(), Oregon::DynamicObjectUpdater::Visit(), Oregon::WorldObjectSearcher< Check >::Visit(), Oregon::WorldObjectListSearcher< Check >::Visit(), Oregon::WorldObjectWorker< Do >::Visit(), Oregon::GameObjectSearcher< Check >::Visit(), Oregon::GameObjectLastSearcher< Check >::Visit(), Oregon::GameObjectListSearcher< Check >::Visit(), Oregon::UnitSearcher< Check >::Visit(), Oregon::UnitLastSearcher< Check >::Visit(), Oregon::UnitListSearcher< Check >::Visit(), Oregon::CreatureSearcher< Check >::Visit(), Oregon::CreatureLastSearcher< Check >::Visit(), Oregon::CreatureListSearcher< Check >::Visit(), Oregon::CreatureWorker< Do >::Visit(), Oregon::PlayerSearcher< Check >::Visit(), Oregon::PlayerListSearcher< Check >::Visit(), Oregon::PlayerWorker< Do >::Visit(), Oregon::PlayerDistWorker< Do >::Visit(), Oregon::SpellNotifierCreatureAndPlayer::Visit(), and WorldObjectChangeAccumulator::Visit().

42  {
43  return iterator(getFirst());
44  }
GridReference< OBJECT > * getFirst()
LinkedListHead::Iterator< GridReference< OBJECT > > iterator
template<class OBJECT>
iterator GridRefManager< OBJECT >::end ( )
inline

Definition at line 45 of file GridRefManager.h.

Referenced by Map::DelayedUpdate(), Map::ProcessRelocationNotifies(), ResetNotifier::resetNotify(), Map::UnloadAll(), Oregon::GridUpdater::updateObjects(), Oregon::VisibleNotifier::Visit(), Oregon::VisibleChangesNotifier::Visit(), ObjectGridStoper::Visit(), ObjectGridEvacuator::Visit(), Oregon::PlayerRelocationNotifier::Visit(), ObjectGridCleaner::Visit(), Oregon::CreatureRelocationNotifier::Visit(), Oregon::DelayedUnitRelocation::Visit(), Oregon::AIRelocationNotifier::Visit(), Oregon::MessageDistDeliverer::Visit(), Oregon::ObjectUpdater::Visit(), Oregon::DynamicObjectUpdater::Visit(), Oregon::WorldObjectSearcher< Check >::Visit(), Oregon::WorldObjectListSearcher< Check >::Visit(), Oregon::WorldObjectWorker< Do >::Visit(), Oregon::GameObjectSearcher< Check >::Visit(), Oregon::GameObjectLastSearcher< Check >::Visit(), Oregon::GameObjectListSearcher< Check >::Visit(), Oregon::UnitSearcher< Check >::Visit(), Oregon::UnitLastSearcher< Check >::Visit(), Oregon::UnitListSearcher< Check >::Visit(), Oregon::CreatureSearcher< Check >::Visit(), Oregon::CreatureLastSearcher< Check >::Visit(), Oregon::CreatureListSearcher< Check >::Visit(), Oregon::CreatureWorker< Do >::Visit(), Oregon::PlayerSearcher< Check >::Visit(), Oregon::PlayerListSearcher< Check >::Visit(), Oregon::PlayerWorker< Do >::Visit(), Oregon::PlayerDistWorker< Do >::Visit(), Oregon::SpellNotifierCreatureAndPlayer::Visit(), and WorldObjectChangeAccumulator::Visit().

46  {
47  return iterator(NULL);
48  }
LinkedListHead::Iterator< GridReference< OBJECT > > iterator
template<class OBJECT>
GridReference<OBJECT>* GridRefManager< OBJECT >::getFirst ( )
inline
template<class OBJECT>
GridReference<OBJECT>* GridRefManager< OBJECT >::getLast ( )
inline
template<class OBJECT>
iterator GridRefManager< OBJECT >::rbegin ( )
inline

Definition at line 49 of file GridRefManager.h.

50  {
51  return iterator(getLast());
52  }
LinkedListHead::Iterator< GridReference< OBJECT > > iterator
GridReference< OBJECT > * getLast()
template<class OBJECT>
iterator GridRefManager< OBJECT >::rend ( )
inline

Definition at line 53 of file GridRefManager.h.

54  {
55  return iterator(NULL);
56  }
LinkedListHead::Iterator< GridReference< OBJECT > > iterator

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