Go to the source code of this file.
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 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