NL3D::IShader Class Reference

#include <shader.h>

Inheritance diagram for NL3D::IShader:

NLMISC::CRefCount NL3D::CShaderGL

Public Member Functions

const sintgetRefCount () const
 IShader (IDriver *drv, ItShaderPtrList it)
virtual ~IShader ()

Data Fields

sint crefs
CPtrInfo * pinfo

Static Public Attributes

CPtrInfo NullPtrInfo

Private Attributes

IDriver_Driver
ItShaderPtrList _DriverIterator

Friends

struct CPtrInfo

Constructor & Destructor Documentation

NL3D::IShader::IShader IDriver drv,
ItShaderPtrList  it
[inline]
 

Definition at line 66 of file shader.h.

References _DriverIterator, and NL3D::ItShaderPtrList.

00066 {_Driver= drv; _DriverIterator= it;}

NL3D::IShader::~IShader  )  [virtual]
 

Definition at line 36 of file shader.cpp.

References _DriverIterator, and NL3D::IDriver::removeShaderPtr().

00037 {
00038         _Driver->removeShaderPtr(_DriverIterator);
00039 }


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

Definition at line 62 of file shader.h.

ItShaderPtrList NL3D::IShader::_DriverIterator [private]
 

Definition at line 63 of file shader.h.

Referenced by IShader(), and ~IShader().

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:39:16 2004 for NeL by doxygen 1.3.6