VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Typedefs | Functions
simComponent.h File Reference

Go to the source code of this file.

Classes

class  DtSimComponent
 

Macros

#define CACHED_NEXT_FRAME_STATE_PROPERTY(property)   DtPropertyInterface* myNextFrame##property = 0;
 
#define SET_CACHED_STATE_PROPERTY(property, value)   setCachedNextFrameStatePropertyValue(&myNextFrame##property, #property, value);
 
#define CACHED_CURRENT_FRAME_STATE_PROPERTY(property)   const DtPropertyInterface* myCurrFrame##property = 0;
 
#define GET_CACHED_STATE_PROPERTY_VALUE(property, value)   getCachedCurrentFrameStatePropertyValue(&myCurrFrame##property, #property, value);
 

Typedefs

typedef void(* DtVrfObjectPredicateCallbackFunction )(DtSimObjectReference obj, DtVrfObjectPredicateEvaluator *predicateEval, void *userData)
 

Functions

 DT_DEFINE_OBJECT_DEBUGGER_NAME (DtSimComponent)
 

Detailed Description

Contains the DtSimComponent class declaration.

Macro Definition Documentation

#define CACHED_NEXT_FRAME_STATE_PROPERTY (   property)    DtPropertyInterface* myNextFrame##property = 0;

The following macros can be used within sim components to cache and access cached state properties.

#define SET_CACHED_STATE_PROPERTY (   property,
  value 
)    setCachedNextFrameStatePropertyValue(&myNextFrame##property, #property, value);
#define CACHED_CURRENT_FRAME_STATE_PROPERTY (   property)    const DtPropertyInterface* myCurrFrame##property = 0;
#define GET_CACHED_STATE_PROPERTY_VALUE (   property,
  value 
)    getCachedCurrentFrameStatePropertyValue(&myCurrFrame##property, #property, value);

Typedef Documentation

typedef void(* DtVrfObjectPredicateCallbackFunction)(DtSimObjectReference obj, DtVrfObjectPredicateEvaluator *predicateEval, void *userData)

Function Documentation

DT_DEFINE_OBJECT_DEBUGGER_NAME ( DtSimComponent  )

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)