Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
RefCountClass Class Reference

#include <refcount.h>

Inherited by ShareBufferClass< VertexMaterialClass * >, ShareBufferClass< TextureClass * >, ShareBufferClass< Vector2 >, ShareBufferClass< Vector3 >, ShareBufferClass< Vector4 >, ShareBufferClass< unsigned int >, ShareBufferClass< float >, ShareBufferClass< char >, ShareBufferClass< Vector3i16 >, ShareBufferClass< uint32 >, ShareBufferClass< uint16 >, ShareBufferClass< uint8 >, ShareBufferClass< unsigned >, ShareBufferClass< ShaderClass >, ShareBufferClass< unsigned char >, AABTreeClass, CullableClass, DecalMeshClass, Font3DDataClass, Font3DInstanceClass, FontCharsClass, HAnimClass, IndexBufferClass, LookupTableClass, MaterialInfoClass, MaterialPassClass, MeshGeometryClass, NTreeLeafClass< T >, PivotMapClass, ProxyArrayClass, RenderObjClass, RendererListContainerClass, SceneClass, ShareBufferClass< T >, ShdDX8RendererClass::MeshContainerClass, ShdDefClass, ShdInterfaceClass, ShdRendererNodeClass, SnapPointsClass, SoundBufferClass, SoundSceneObjClass, SurfaceClass, TextureBaseClass, TextureMapperClass, TileData, Undoable, VertexBufferClass, VertexMaterialClass, W3DShadowGeometry, W3DShadowTexture, and WorldHeightMap.

Public Member Functions

 RefCountClass (void)
 
 RefCountClass (const RefCountClass &)
 
void Add_Ref (void) const
 
WWINLINE void Release_Ref (void) const
 
int Num_Refs (void) const
 
virtual void Delete_This (void)
 

Static Public Member Functions

static int Total_Refs (void)
 
static RefCountClassAdd_Active_Ref (RefCountClass *obj)
 
static RefCountClassSet_Ref_Owner (RefCountClass *obj, char *file, int line)
 
static void Remove_Active_Ref (RefCountClass *obj)
 
static bool Validate_Active_Ref (RefCountClass *obj)
 

Public Attributes

RefCountNodeClass ActiveRefNode
 
ActiveRefStruct ActiveRefInfo
 

Static Public Attributes

static RefCountListClass ActiveRefList
 

Protected Member Functions

virtual ~RefCountClass (void)
 

Detailed Description

Definition at line 104 of file refcount.h.

Constructor & Destructor Documentation

◆ RefCountClass() [1/2]

RefCountClass::RefCountClass ( void )
inline

Definition at line 108 of file refcount.h.

◆ RefCountClass() [2/2]

RefCountClass::RefCountClass ( const RefCountClass & )
inline

Definition at line 120 of file refcount.h.

◆ ~RefCountClass()

virtual RefCountClass::~RefCountClass ( void )
inlineprotectedvirtual

Definition at line 180 of file refcount.h.

Member Function Documentation

◆ Add_Active_Ref()

RefCountClass * RefCountClass::Add_Active_Ref ( RefCountClass * obj)
static

Definition at line 70 of file refcount.cpp.

◆ Add_Ref()

void RefCountClass::Add_Ref ( void ) const

Definition at line 171 of file refcount.cpp.

◆ Delete_This()

virtual void RefCountClass::Delete_This ( void )
inlinevirtual

Definition at line 166 of file refcount.h.

◆ Num_Refs()

int RefCountClass::Num_Refs ( void ) const
inline

Definition at line 159 of file refcount.h.

◆ Release_Ref()

WWINLINE void RefCountClass::Release_Ref ( void ) const
inline

Definition at line 146 of file refcount.h.

◆ Remove_Active_Ref()

void RefCountClass::Remove_Active_Ref ( RefCountClass * obj)
static

Definition at line 115 of file refcount.cpp.

◆ Set_Ref_Owner()

RefCountClass * RefCountClass::Set_Ref_Owner ( RefCountClass * obj,
char * file,
int line )
static

Definition at line 90 of file refcount.cpp.

◆ Total_Refs()

static int RefCountClass::Total_Refs ( void )
inlinestatic

Definition at line 173 of file refcount.h.

◆ Validate_Active_Ref()

bool RefCountClass::Validate_Active_Ref ( RefCountClass * obj)
static

Definition at line 135 of file refcount.cpp.

Member Data Documentation

◆ ActiveRefInfo

ActiveRefStruct RefCountClass::ActiveRefInfo

Definition at line 223 of file refcount.h.

◆ ActiveRefList

RefCountListClass RefCountClass::ActiveRefList
static

Definition at line 228 of file refcount.h.

◆ ActiveRefNode

RefCountNodeClass RefCountClass::ActiveRefNode

Definition at line 218 of file refcount.h.


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