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

nvsg::DALDataCreator Class Reference

Creating DALData to be exchanged via a Device Abstraction Link requires this particular interface. More...

#include <DAL.h>

Inheritance diagram for nvsg::DALDataCreator:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual void onReleaseDAL (HDAL hDAL)
 Called from the framework immediately before the Device Abstraktion Link (DAL) becomes invalid. More...


Protected Methods

 DALDataCreator ()
 DALDataCreator serves as base class only. More...

NVSG_API void releaseDeviceAbstractionLinkData (HDAL hDAL, unsigned int dataID)
 Releases Device Abstraction Link Data. More...


Detailed Description

Creating DALData to be exchanged via a Device Abstraction Link requires this particular interface.


Constructor & Destructor Documentation

nvsg::DALDataCreator::DALDataCreator   [inline, protected]
 

DALDataCreator serves as base class only.


Member Function Documentation

virtual void nvsg::DALDataCreator::onReleaseDAL HDAL    hDAL [inline, virtual]
 

Called from the framework immediately before the Device Abstraktion Link (DAL) becomes invalid.

Called from the framework to inform creators that the DAL identified by hDAL immediately becomes invalid. This is for example the case when the object that host the DAL will be deleted.

A concrete DALDataCreator ususally overrides this function to dismiss all temporary stored handles to the DALs that creator has attached DALData to. Note that the creator must not explicitely delete the attached data! The deletetion of the attached data will be performed by the framework, immediately after this function was called.

Reimplemented in nvtraverser::GLTraverser.

void nvsg::DALDataCreator::releaseDeviceAbstractionLinkData HDAL    hDAL,
unsigned int    dataID
[inline, protected]
 

Releases Device Abstraction Link Data.

Releases the data identified by dataID that was attached to the Device Abstraction Link identified by hDAL.

This function should be called immediately befor this creator becomes invalid, to free all the data that was created by this creator and attached to the DAL identified by hDAL. The function deletes the data and removes the according entry from the DAL.


The documentation for this class was generated from the following file:
Generated on Tue Mar 1 13:20:25 2005 for NVSGSDK by NVIDIA