HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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/SIM_RadialEmit.C, and SIM/SIM_SolverHair.C.

Definition at line 92 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 95 of file SIM_GeometryCopy.h.

SIM_GeometryAutoWriteLock::~SIM_GeometryAutoWriteLock ( )
inline

Definition at line 104 of file SIM_GeometryCopy.h.

Member Function Documentation

GU_Detail& SIM_GeometryAutoWriteLock::getGdp ( )
inline

Definition at line 111 of file SIM_GeometryCopy.h.

const GU_DetailHandle& SIM_GeometryAutoWriteLock::handle ( )
inline

Definition at line 110 of file SIM_GeometryCopy.h.


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