NL3D::CTextureDrvShare Class Reference

#include <texture.h>

Inheritance diagram for NL3D::CTextureDrvShare:

NLMISC::CRefCount

Public Member Functions

 CTextureDrvShare (IDriver *drv, ItTexDrvSharePtrList it)
const sintgetRefCount () const
 ~CTextureDrvShare ()

Data Fields

sint crefs
NLMISC::CSmartPtr< ITextureDrvInfosDrvTexture
CPtrInfo * pinfo

Static Public Attributes

CPtrInfo NullPtrInfo

Private Attributes

IDriver_Driver
ItTexDrvSharePtrList _DriverIterator

Friends

struct CPtrInfo

Constructor & Destructor Documentation

NL3D::CTextureDrvShare::CTextureDrvShare IDriver drv,
ItTexDrvSharePtrList  it
[inline]
 

Definition at line 87 of file texture.h.

References NL3D::ItTexDrvSharePtrList.

00087 {_Driver= drv; _DriverIterator= it;}

NL3D::CTextureDrvShare::~CTextureDrvShare  ) 
 

Definition at line 118 of file texture.cpp.

References NL3D::IDriver::removeTextureDrvSharePtr().

00119 {
00120         _Driver->removeTextureDrvSharePtr(_DriverIterator);
00121 }


Member Function Documentation

const sint& NLMISC::CRefCount::getRefCount  )  const [inline, inherited]
 

Definition at line 70 of file smart_ptr.h.

References NLMISC::CRefCount::crefs, and sint.

00071         {
00072                 return  crefs;
00073         }


Friends And Related Function Documentation

friend struct CPtrInfo [friend, inherited]
 

Definition at line 67 of file smart_ptr.h.


Field Documentation

IDriver* NL3D::CTextureDrvShare::_Driver [private]
 

Definition at line 80 of file texture.h.

ItTexDrvSharePtrList NL3D::CTextureDrvShare::_DriverIterator [private]
 

Definition at line 81 of file texture.h.

sint NLMISC::CRefCount::crefs [mutable, inherited]
 

Definition at line 79 of file smart_ptr.h.

Referenced by NLMISC::CRefCount::CRefCount(), NLMISC::CRefCount::getRefCount(), and NLMISC::CRefCount::~CRefCount().

NLMISC::CSmartPtr<ITextureDrvInfos> NL3D::CTextureDrvShare::DrvTexture
 

Definition at line 84 of file texture.h.

CRefCount::CPtrInfo NLMISC::CRefCount::NullPtrInfo [static, inherited]
 

Referenced by NLMISC::CRefCount::CRefCount().

CPtrInfo* NLMISC::CRefCount::pinfo [mutable, inherited]
 

Definition at line 80 of file smart_ptr.h.

Referenced by NLMISC::CRefCount::CRefCount(), and NLMISC::CRefCount::~CRefCount().


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 07:55:02 2004 for NeL by doxygen 1.3.6