VR-Forces 4.8 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. More...
 
#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. More...
 

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)
Instances of DtInfluenceInterExtensionEncoder are used to encode data from DtInfluenceInter objects i...
Definition: influenceInteractionExtension.h:111
Instances of DtInfluenceInteractionExtension are used to store state data for Influence interactions ...
Definition: influenceInteractionExtension.h:29
#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); \
}
DT_DLL_readerWriter char * encode(const DtFilename &val, char *buffer)
Serializes the provided value val into buffer.
Instances of DtInfluenceInteractionExtension are used to store state data for Influence interactions ...
Definition: influenceInteractionExtension.h:29
#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)
Instances of DtInfluenceInteractionExtension are used to store state data for Influence interactions ...
Definition: influenceInteractionExtension.h:29
Instances of DtInfluenceInterExtensionDecoder are used to decode data from the network into DtInfluen...
Definition: influenceInteractionExtension.h:154
#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); \
}
voidpf void * buf
Definition: ioapi.h:39
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...
Instances of DtInfluenceInteractionExtension are used to store state data for Influence interactions ...
Definition: influenceInteractionExtension.h:29

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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)