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

CP_AglContext Class Reference
[UI]

A class for management of an OpenGL AglContext. More...

List of all members.

Public Member Functions

Constructor / Destructor
 CP_AglContext ()
 Constructor.
 CP_AglContext (CP_AglContext &inContext)
 CP_AglContext (AGLContext inContext)
 ~CP_AglContext () throw ()
 Destructor.
Context Management
AGLContext Get () const throw ()
AGLContext Release () throw ()
void Reset (AGLContext inContext=NULL) throw ()
operators
CP_AglContextoperator= (CP_AglContext &inContext) throw ()
 operator AGLContext () const throw ()

Protected Attributes

AGLContext fAGLContext


Detailed Description

This class is used in the OpenGLView to provide an AglContext for the OpenGL view to draw into.


Constructor & Destructor Documentation

CPLAT_Begin_Namespace_CPLAT CP_AglContext::CP_AglContext  ) 
 

Constructor.

Exceptions:
none 

CP_AglContext::CP_AglContext CP_AglContext inContext  ) 
 

Copy constructor.

Parameters:
inContext The CP_AglContext to copy the fields from.
Exceptions:
none 

CP_AglContext::CP_AglContext AGLContext  inContext  )  [explicit]
 

Constructor.

Parameters:
inContext An existing AGLContext to use in this class.
Exceptions:
none 

CP_AglContext::~CP_AglContext  )  throw ()
 

Destructor.

Exceptions:
none 


Member Function Documentation

AGLContext CP_AglContext::Get  )  const throw ()
 

Returns the AglContext.

Exceptions:
none 
Returns:
AglContext The AglContext we are managing.

AGLContext CP_AglContext::Release  )  throw ()
 

Resets the AGLContext to a NULL object, and returns the existing context.

Exceptions:
none 
Returns:
AGLContext Previous AGLContext used in this class.

void CP_AglContext::Reset AGLContext  inContext = NULL  )  throw ()
 

Resets the AGLContext to the passed in context, after first destroying the one pointed to by this class.

Parameters:
inContext AGLContext to use in this class.
Exceptions:
none 
Returns:
void

CP_AglContext & CP_AglContext::operator= CP_AglContext inContext  )  throw ()
 

Assignment operator.

Parameters:
inContext Existing CP_AglContext class to copy the fields from.
Exceptions:
none 
Returns:
AGLContext& Returns a reference to ourselves.

CP_AglContext::operator AGLContext  )  const throw ()
 

Returns the AglContext.

Exceptions:
none 
Returns:
AglContext The AglContext we are managing.


Member Data Documentation

AGLContext CP_AglContext::fAGLContext [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Sep 20 20:21:32 2005 for CPLAT_MacOS by  doxygen 1.4.0