VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Typedefs | Functions
influenceInteractionExtension.h File Reference

Go to the source code of this file.

Classes

class  DtInfluenceInteractionExtension
 Instances of DtInfluenceInteractionExtension are used to store state data for Influence interactions with the added GuidanceSystem parameter. More...
class  DtInfluenceInterExtensionEncoder
 Instances of DtInfluenceInterExtensionEncoder are used to encode data from DtInfluenceInter objects into network structures. More...
class  DtInfluenceInterExtensionDecoder
 Instances of DtInfluenceInterExtensionDecoder are used to decode data from the network into DtInfluenceInter objects. More...

Macros

#define DtDECLARE_INFLUENCE_W_G_PARAM_ENCODER(paramName)   DtDECLARE_PARAM_ENCODER(DtInfluenceInteractionExtension, paramName)
 This can be used to declare parameter processor functions which are static members of a class.
#define DtDEFINE_SIMPLE_INFLUENCE_W_G_PARAM_ENCODER(paramName, netType, inspector)
#define DtDEFINE_SIMPLE_INFLUENCE_W_G_STRING_PARAM_ENCODER(paramName, inspector)
#define DtDECLARE_INFLUENCE_W_G_PARAM_DECODER(paramName)   DtDECLARE_PARAM_DECODER(DtInfluenceInteractionExtension, paramName)
#define DtDEFINE_SIMPLE_INFLUENCE_W_G_PARAM_DECODER(paramName, netType, mutator)
#define DtDEFINE_SIMPLE_INFLUENCE_W_G_STRING_PARAM_DECODER(paramName, mutator)

Typedefs

typedef void(* DtInfluenceInterExtensionCb )(DtInfluenceInteractionExtension *inter, void *usr)
 DtInfluenceInteractionExtension callback function signature.

Functions

DT_DLL_vrfExtendedProperties void registerInfluenceInteractionExtension (DtExerciseConn *exConn)

Macro Definition Documentation

#define DtDECLARE_INFLUENCE_W_G_PARAM_ENCODER (   paramName)    DtDECLARE_PARAM_ENCODER(DtInfluenceInteractionExtension, paramName)

This can be used to declare parameter processor functions which are static members of a class.

#define DtDEFINE_SIMPLE_INFLUENCE_W_G_PARAM_ENCODER (   paramName,
  netType,
  inspector 
)
Value:
DtDEFINE_SIMPLE_PARAM_ENCODER( \
paramName, netType, inspector)
#define DtDEFINE_SIMPLE_INFLUENCE_W_G_STRING_PARAM_ENCODER (   paramName,
  inspector 
)
Value:
RTI::ParameterHandleValuePairSet* params, \
RTI::ParameterHandle paramHandle) \
{ \
DtString netVal = inter.inspector(); \
params->add(paramHandle, (char*) netVal.c_str(), netVal.length()+1); \
}
#define DtDECLARE_INFLUENCE_W_G_PARAM_DECODER (   paramName)    DtDECLARE_PARAM_DECODER(DtInfluenceInteractionExtension, paramName)
#define DtDEFINE_SIMPLE_INFLUENCE_W_G_PARAM_DECODER (   paramName,
  netType,
  mutator 
)
Value:
DtDEFINE_SIMPLE_PARAM_DECODER( \
paramName, netType, mutator)
#define DtDEFINE_SIMPLE_INFLUENCE_W_G_STRING_PARAM_DECODER (   paramName,
  mutator 
)
Value:
const RTI::ParameterHandleValuePairSet& params, \
int index) \
{ \
RTI::ULong length = 0; \
char* buf = (char*) params.getValuePointer(index, length); \
DtString val(buf, length); \
inter->mutator(val); \
}

Typedef Documentation

typedef void(* DtInfluenceInterExtensionCb)(DtInfluenceInteractionExtension *inter, void *usr)

DtInfluenceInteractionExtension callback function signature.

Function Documentation

DT_DLL_vrfExtendedProperties void registerInfluenceInteractionExtension ( DtExerciseConn *  exConn)

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)