AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
GridRefMgr< OBJECT > Class Template Reference

#include "GridRefMgr.h"

Inheritance diagram for GridRefMgr< OBJECT >:
RefMgr< GridRefMgr< OBJECT >, OBJECT > LinkedListHead

Public Types

typedef LinkedListHead::Iterator< GridReference< OBJECT > > iterator
 
- Public Types inherited from RefMgr< GridRefMgr< OBJECT >, OBJECT >
typedef LinkedListHead::Iterator< Reference< GridRefMgr< 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 RefMgr< GridRefMgr< OBJECT >, OBJECT >
 RefMgr ()=default
 
virtual ~RefMgr ()
 
Reference< GridRefMgr< OBJECT >, OBJECT > * getFirst ()
 
Reference< GridRefMgr< OBJECT >, OBJECT > const * getFirst () const
 
Reference< GridRefMgr< OBJECT >, OBJECT > * getLast ()
 
Reference< GridRefMgr< OBJECT >, OBJECT > const * getLast () const
 
iterator begin ()
 
iterator end ()
 
iterator rbegin ()
 
iterator rend ()
 
void clearReferences ()
 
- Public Member Functions inherited from LinkedListHead
 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 GridRefMgr< OBJECT >

Member Typedef Documentation

◆ iterator

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

Member Function Documentation

◆ begin()

template<class OBJECT >
iterator GridRefMgr< OBJECT >::begin ( )
inline
35{ return iterator(getFirst()); }
LinkedListHead::Iterator< GridReference< OBJECT > > iterator
Definition: GridRefMgr.h:30
GridReference< OBJECT > * getFirst()
Definition: GridRefMgr.h:32

References GridRefMgr< OBJECT >::getFirst().

Referenced by ResetNotifier::resetNotify(), Acore::AIRelocationNotifier::Visit(), Acore::UnitSearcher< Check >::Visit(), Acore::UnitLastSearcher< Check >::Visit(), Acore::CreatureSearcher< Check >::Visit(), Acore::CreatureLastSearcher< Check >::Visit(), Acore::CreatureListSearcher< Check >::Visit(), Acore::CreatureWorker< Do >::Visit(), Acore::VisibleNotifier::Visit(), Acore::WorldObjectSearcher< Check >::Visit(), Acore::WorldObjectLastSearcher< Check >::Visit(), Acore::WorldObjectWorker< Do >::Visit(), Acore::GameObjectSearcher< Check >::Visit(), Acore::GameObjectLastSearcher< Check >::Visit(), Acore::GameObjectListSearcher< Check >::Visit(), Acore::GameObjectWorker< Functor >::Visit(), ObjectGridCleaner::Visit(), Acore::ObjectUpdater::Visit(), Acore::VisibleChangesNotifier::Visit(), Acore::PlayerRelocationNotifier::Visit(), Acore::CreatureRelocationNotifier::Visit(), WorldObjectChangeAccumulator::Visit(), Acore::MessageDistDeliverer::Visit(), Acore::MessageDistDelivererToHostile::Visit(), Acore::WorldObjectListSearcher< Check >::Visit(), Acore::UnitListSearcher< Check >::Visit(), Acore::PlayerSearcher< Check >::Visit(), Acore::PlayerListSearcher< Check >::Visit(), Acore::PlayerListSearcherWithSharedVision< Check >::Visit(), Acore::PlayerLastSearcher< Check >::Visit(), Acore::PlayerWorker< Do >::Visit(), and Acore::PlayerDistWorker< Do >::Visit().

◆ end()

◆ getFirst()

template<class OBJECT >
GridReference< OBJECT > * GridRefMgr< OBJECT >::getFirst ( )
inline

◆ getLast()

template<class OBJECT >
GridReference< OBJECT > * GridRefMgr< OBJECT >::getLast ( )
inline
GridReference< OBJECT > * getLast()
Definition: GridRefMgr.h:33

References GridRefMgr< OBJECT >::getLast().

Referenced by GridRefMgr< OBJECT >::getLast(), and GridRefMgr< OBJECT >::rbegin().

◆ rbegin()

template<class OBJECT >
iterator GridRefMgr< OBJECT >::rbegin ( )
inline
37{ return iterator(getLast()); }

References GridRefMgr< OBJECT >::getLast().

◆ rend()

template<class OBJECT >
iterator GridRefMgr< OBJECT >::rend ( )
inline
38{ return iterator(nullptr); }