HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_GeometryAutoWriteLock Class Reference

#include <SIM_GeometryCopy.h>

+ Inheritance diagram for SIM_GeometryAutoWriteLock:

Public Member Functions

 SIM_GeometryAutoWriteLock (SIM_GeometryCopy *simgeo, SIM_DataIdStrategy data_id_strategy=SIM_DATA_ID_BUMP)
 
 ~SIM_GeometryAutoWriteLock ()
 
const GU_DetailHandlehandle ()
 
GU_DetailgetGdp ()
 

Detailed Description

Utility class that handles creating a GU_DetailHandleAutoWriteLock and calling releaseGeometry() when it goes out of scope.

Examples:
SIM/GAS_NetVDBSliceExchange.C, SIM/SIM_RadialEmit.C, and SIM/SIM_SolverHair.C.

Definition at line 97 of file SIM_GeometryCopy.h.

Constructor & Destructor Documentation

SIM_GeometryAutoWriteLock::SIM_GeometryAutoWriteLock ( SIM_GeometryCopy simgeo,
SIM_DataIdStrategy  data_id_strategy = SIM_DATA_ID_BUMP 
)
inline

Definition at line 100 of file SIM_GeometryCopy.h.

SIM_GeometryAutoWriteLock::~SIM_GeometryAutoWriteLock ( )
inline

Definition at line 109 of file SIM_GeometryCopy.h.

Member Function Documentation

GU_Detail& SIM_GeometryAutoWriteLock::getGdp ( )
inline

Definition at line 116 of file SIM_GeometryCopy.h.

const GU_DetailHandle& SIM_GeometryAutoWriteLock::handle ( )
inline

Definition at line 115 of file SIM_GeometryCopy.h.


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