SIM_PropertyResolver Class Reference

#include <SIM_PhysicalParms.h>

Inheritance diagram for SIM_PropertyResolver:

SIM_NoiseResolver SIM_PropertyResolverConstant SIM_PropertyResolverField SIM_PropertyResolverMotion SIM_PropertyResolverNearestPoint SIM_PropertyResolverVelAtPosition

List of all members.

Public Member Functions

 SIM_PropertyResolver ()
virtual ~SIM_PropertyResolver ()
virtual SIM_PropertyResolvercopy () const =0
 Duplicates this.
virtual fpreal getF (const UT_Vector3 &pos)=0
virtual UT_Vector3 getV3 (const UT_Vector3 &pos)=0
virtual bool threadsafe () const
 Sometimes despite our best efforts the lookup isn't threadsafe.


Detailed Description

This simple verb class is designed to create a fast and usually threadsafe way to lookup lots of property value queries. For threadsafety it is important you act on a resolver local to your thread, you can create such a thing with the copy() function.

Definition at line 51 of file SIM_PhysicalParms.h.


Constructor & Destructor Documentation

SIM_PropertyResolver::SIM_PropertyResolver (  )  [inline]

Definition at line 54 of file SIM_PhysicalParms.h.

virtual SIM_PropertyResolver::~SIM_PropertyResolver (  )  [inline, virtual]

Definition at line 55 of file SIM_PhysicalParms.h.


Member Function Documentation

virtual SIM_PropertyResolver* SIM_PropertyResolver::copy (  )  const [pure virtual]

virtual fpreal SIM_PropertyResolver::getF ( const UT_Vector3 pos  )  [pure virtual]

virtual UT_Vector3 SIM_PropertyResolver::getV3 ( const UT_Vector3 pos  )  [pure virtual]

virtual bool SIM_PropertyResolver::threadsafe (  )  const [inline, virtual]

Sometimes despite our best efforts the lookup isn't threadsafe.

Reimplemented in SIM_PropertyResolverVelAtPosition.

Definition at line 64 of file SIM_PhysicalParms.h.


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

Generated on Fri May 25 00:10:40 2012 for HDK by  doxygen 1.5.9