VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Private Member Functions
makVrv::DtGlObject Class Referenceabstract

A Generic object that needs clean up in the right context (the one it was created in) This can be used to encapsulate multiple OpenGL objects that need clean up in the right context See DtHbaoDrawable.cxx for usage.

Public Member Functions

 DtGlObject (const void *glContext)
 
virtual ~DtGlObject ()
 
virtual void deleteGlObjects (void)=0
 

Public Attributes

const void * myGlContext = nullptr
 

Private Member Functions

 DtGlObject ()=delete
 
 DtGlObject (const DtGlObject &rhs)=delete
 
DtGlObjectoperator= (const DtGlObject &rhs)=delete
 

Constructor & Destructor Documentation

makVrv::DtGlObject::DtGlObject ( const void *  glContext)

constructor glContext is the context in which the object is to be deleted

virtual makVrv::DtGlObject::~DtGlObject ( )
virtual

destructor

makVrv::DtGlObject::DtGlObject ( )
privatedelete

not allowed

makVrv::DtGlObject::DtGlObject ( const DtGlObject rhs)
privatedelete

not allowed

Member Function Documentation

DtGlObject& makVrv::DtGlObject::operator= ( const DtGlObject rhs)
privatedelete

not allowed

virtual void makVrv::DtGlObject::deleteGlObjects ( void  )
pure virtual

abstract

Member Data Documentation

const void* makVrv::DtGlObject::myGlContext = nullptr

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)