#include <DAL.h>
Inheritance diagram for nvsg::DALDataCreator:
Public Member Functions | |
virtual void | onReleaseDAL (HDAL hDAL) |
Called from the framework immediately before the Device Abstraktion Link (DAL) becomes invalid. | |
Protected Member Functions | |
DALDataCreator () | |
DALDataCreator serves as base class only. | |
NVSG_API void | releaseDeviceAbstractionLinkData (HDAL hDAL, unsigned int dataID) |
Releases Device Abstraction Link Data. |
|
DALDataCreator serves as base class only.
|
|
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. |
|
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. |