Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

OOF_mixFreeImageOwner Class Reference
[OOFILE Implementation Classes]

#include <oofrpFreeImage.h>

Inheritance diagram for OOF_mixFreeImageOwner:

Inheritance graph
[legend]
Collaboration diagram for OOF_mixFreeImageOwner:

Collaboration graph
[legend]
List of all members.

Detailed Description

Mixin for classes keeping a ref-counted FIBITMAP member.


Public Member Functions

 OOF_mixFreeImageOwner (FIBITMAP *adoptedBitmap)
virtual ~OOF_mixFreeImageOwner ()
virtual void CleanupOnLastDereference ()
FIBITMAP * bitmap () const
unsigned long height ()
unsigned long width ()
HBITMAP copyToBitmap (HDC usingDC)
 Copy to a standard Windows bitmap format for drawing etc.

void incRefs ()
void decRefs ()

Protected Attributes

unsigned int * mSharedReferences
unsigned int mTimesDecCalled


Constructor & Destructor Documentation

OOF_mixFreeImageOwner::OOF_mixFreeImageOwner FIBITMAP *  adoptedBitmap  ) 
 

OOF_mixFreeImageOwner::~OOF_mixFreeImageOwner  )  [virtual]
 


Member Function Documentation

FIBITMAP * OOF_mixFreeImageOwner::bitmap  )  const [inline]
 

void OOF_mixFreeImageOwner::CleanupOnLastDereference  )  [virtual]
 

Implements OOF_mixRefCountWithCopy.

HBITMAP OOF_mixFreeImageOwner::copyToBitmap HDC  usingDC  ) 
 

Copy to a standard Windows bitmap format for drawing etc.

void OOF_mixRefCountWithCopy::decRefs  )  [inherited]
 

unsigned long OOF_mixFreeImageOwner::height  )  [inline]
 

void OOF_mixRefCountWithCopy::incRefs  )  [inline, inherited]
 

unsigned long OOF_mixFreeImageOwner::width  )  [inline]
 


Member Data Documentation

unsigned int* OOF_mixRefCountWithCopy::mSharedReferences [protected, inherited]
 

unsigned int OOF_mixRefCountWithCopy::mTimesDecCalled [protected, inherited]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 1 21:41:10 2004 for OOFILE by doxygen 1.3.5