NL3D::ITextureDrvInfos Class Reference

#include <texture.h>

Inheritance diagram for NL3D::ITextureDrvInfos:

NLMISC::CRefCount NL3D::CTextureDrvInfosGL

Public Member Functions

const sintgetRefCount () const
 ITextureDrvInfos (class IDriver &driver)
 ITextureDrvInfos (IDriver *drv, ItTexDrvInfoPtrMap it)
virtual ~ITextureDrvInfos (void)

Data Fields

sint crefs
CPtrInfo * pinfo

Static Public Attributes

CPtrInfo NullPtrInfo

Private Attributes

IDriver_Driver
ItTexDrvInfoPtrMap _DriverIterator

Friends

struct CPtrInfo

Constructor & Destructor Documentation

NL3D::ITextureDrvInfos::ITextureDrvInfos IDriver drv,
ItTexDrvInfoPtrMap  it
[inline]
 

Definition at line 71 of file texture.h.

References NL3D::ItTexDrvInfoPtrMap.

00071 {_Driver= drv; _DriverIterator= it;}

NL3D::ITextureDrvInfos::ITextureDrvInfos class IDriver driver  ) 
 

NL3D::ITextureDrvInfos::~ITextureDrvInfos void   )  [virtual]
 

Definition at line 123 of file texture.cpp.

References NL3D::IDriver::removeTextureDrvInfoPtr().

00124 {
00125         // NB: _Driver may be NULL because texture may not be stored in the share texture map.
00126         // so there is no need to remove it from this map!!
00127         if(_Driver)
00128                 _Driver->removeTextureDrvInfoPtr(_DriverIterator);
00129 }


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::ITextureDrvInfos::_Driver [private]
 

Reimplemented in NL3D::CTextureDrvInfosGL.

Definition at line 67 of file texture.h.

ItTexDrvInfoPtrMap NL3D::ITextureDrvInfos::_DriverIterator [private]
 

Definition at line 68 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().

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 08:40:24 2004 for NeL by doxygen 1.3.6