Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

exotkAIS_GraphicDevice Class Reference

Singleton class to handle the GraphicDevice ( see Design Patterns ). More...

#include <exotkAIS_GraphicDevice.hxx>

Collaboration diagram for exotkAIS_GraphicDevice:

Collaboration graph
[legend]
List of all members.

Public Methods

void * operator new (size_t, void *anAddress)
 OCC new. More...

void * operator new (size_t size)
 OCC new. More...

void operator delete (void *anAddress)
 OCC new. More...

virtual Standard_EXPORT ~exotkAIS_GraphicDevice ()
 Destructor. More...

Standard_EXPORT Handle_Aspect_GraphicDevice & GetGraphicDevice ()
 Return the GraphicDevice. More...


Static Public Methods

Standard_EXPORT exotkAIS_GraphicDevice * Instance ()
 Return the instance of this class. More...


Protected Methods

Standard_EXPORT exotkAIS_GraphicDevice ()
 Constructor. More...

Standard_EXPORT void CreateGraphicDevice ()
 Create the GraphicDevice. More...


Private Attributes

Handle_Aspect_GraphicDevice myGraphicDevice

Static Private Attributes

exotkAIS_GraphicDevice * _instance = 0

Detailed Description

Singleton class to handle the GraphicDevice ( see Design Patterns ).

Author:
Stephane Routelous

Definition at line 43 of file exotkAIS_GraphicDevice.hxx.


Constructor & Destructor Documentation

exotkAIS_GraphicDevice::~exotkAIS_GraphicDevice   [virtual]
 

Destructor.

Definition at line 61 of file exotkAIS_GraphicDevice.cxx.

exotkAIS_GraphicDevice::exotkAIS_GraphicDevice   [protected]
 

Constructor.

Definition at line 49 of file exotkAIS_GraphicDevice.cxx.

Referenced by Instance().


Member Function Documentation

exotkAIS_GraphicDevice::CreateGraphicDevice   [protected]
 

Create the GraphicDevice.

Definition at line 104 of file exotkAIS_GraphicDevice.cxx.

References myGraphicDevice.

Referenced by GetGraphicDevice().

exotkAIS_GraphicDevice::GetGraphicDevice  
 

Return the GraphicDevice.

Returns:
Handle_Aspect_GraphicDevice&

Definition at line 88 of file exotkAIS_GraphicDevice.cxx.

References CreateGraphicDevice(), and myGraphicDevice.

Referenced by exotkAIS_DisplayManager::exotkAIS_DisplayManager().

exotkAIS_GraphicDevice::Instance   [static]
 

Return the instance of this class.

Returns:
exotkAIS_GraphicDevice*

Definition at line 72 of file exotkAIS_GraphicDevice.cxx.

References _instance, and exotkAIS_GraphicDevice().

Referenced by exotkAF_View::CreateView(), and exotkAIS_DisplayManager::exotkAIS_DisplayManager().

void exotkAIS_GraphicDevice::operator delete void *    anAddress [inline]
 

OCC new.

Returns:
inline void
Parameters:
void  *anAddress

Definition at line 76 of file exotkAIS_GraphicDevice.hxx.

References _instance.

void * exotkAIS_GraphicDevice::operator new size_t    size [inline]
 

OCC new.

Returns:
inline void*
Parameters:
size_t  size

Definition at line 65 of file exotkAIS_GraphicDevice.hxx.

void * exotkAIS_GraphicDevice::operator new size_t   ,
void *    anAddress
[inline]
 

OCC new.

Returns:
inline void*
Parameters:
size_t 
void  * anAddress

Definition at line 54 of file exotkAIS_GraphicDevice.hxx.


Member Data Documentation

exotkAIS_GraphicDevice * exotkAIS_GraphicDevice::_instance = 0 [static, private]
 

the only one instance of the class

Definition at line 39 of file exotkAIS_GraphicDevice.cxx.

Referenced by Instance(), and operator delete().

Handle_Aspect_GraphicDevice exotkAIS_GraphicDevice::myGraphicDevice [private]
 

the stored GraphicDevice

Definition at line 117 of file exotkAIS_GraphicDevice.hxx.

Referenced by CreateGraphicDevice(), and GetGraphicDevice().


The documentation for this class was generated from the following files:
Generated on Wed Jan 23 12:18:31 2002 for exotk by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001