TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
VMAP::ManagedModel Class Reference

#include <VMapManager2.h>

Public Member Functions

 ManagedModel ()
 
void setModel (WorldModel *model)
 
WorldModelgetModel ()
 
void incRefCount ()
 
int decRefCount ()
 

Protected Attributes

WorldModeliModel
 
int iRefCount
 

Constructor & Destructor Documentation

VMAP::ManagedModel::ManagedModel ( )
inline
57 : iModel(nullptr), iRefCount(0) { }
WorldModel * iModel
Definition: VMapManager2.h:63
int iRefCount
Definition: VMapManager2.h:64

Member Function Documentation

int VMAP::ManagedModel::decRefCount ( )
inline
61 { return --iRefCount; }
int iRefCount
Definition: VMapManager2.h:64
WorldModel* VMAP::ManagedModel::getModel ( )
inline
59 { return iModel; }
WorldModel * iModel
Definition: VMapManager2.h:63
void VMAP::ManagedModel::incRefCount ( )
inline
60 { ++iRefCount; }
int iRefCount
Definition: VMapManager2.h:64
void VMAP::ManagedModel::setModel ( WorldModel model)
inline
58 { iModel = model; }
WorldModel * iModel
Definition: VMapManager2.h:63

Member Data Documentation

WorldModel* VMAP::ManagedModel::iModel
protected
int VMAP::ManagedModel::iRefCount
protected

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