VR-Vantage
Loading...
Searching...
No Matches
configFomMap.h
Go to the documentation of this file.
1/******************************************************************************
2** Copyright (c) 2010 MAK Technologies, Inc.
3** All rights reserved.
4******************************************************************************/
5
6#pragma once
7
8#if DtHLA
9
10#include <vl/fomMapper.h>
12
13// This function registers new encoding, decoding, and checking functions with
14// a FOM Mapper for the new attribute of the "BaseEntity" object class called
15// "Mass". It also registers encoding and decoding functions for a new
16// parameter of the "WeaponFire" interaction class called "Temperature".
17void configFomMapper(DtFomMapper* mapper);
18
19// The encoding, decoding and checking functions that configFomMapper
20// registers:
21
22namespace makVrv
23{
24 namespace DT_PROTOCOL_NAMESPACE
25 {
27 }
28}
29
30// Encoding function to be used for the "Mass" attribute.
31void encodeMass(const DtStateRepository& stateRep,
32 RTI::AttributeHandleValuePairSet* avList,
33 RTI::AttributeHandle handle);
34
35// Decoding function to be used for the "Mass" attribute.
36void decodeMass(DtStateRepository* stateRep,
37 const RTI::AttributeHandleValuePairSet& avlist,
38 int pairSetIndex);
39
40// Checking function to be used for the "Mass" attribute (checks whether
41// update condition has been met).
43 const DtStateRepository& stateRep,
44 const DtStateRepository& asSeenByRemote);
45
46#endif
void decodeMass(DtStateRepository *stateRep, const RTI::AttributeHandleValuePairSet &avlist, int pairSetIndex)
bool needMass(const DtStateRepository &stateRep, const DtStateRepository &asSeenByRemote)
void encodeMass(const DtStateRepository &stateRep, RTI::AttributeHandleValuePairSet *avList, RTI::AttributeHandle handle)
void configFomMapper(DtFomMapper *mapper)
Contains DtCreateSensorFieldOfViewCommand and DtCreateSensorFieldOfViewCommandCreator class declarati...
Definition DtGridLinesSettingsRecord.h:16
#define DT_PROTOCOL_NAMESPACE
Definition vrvAudioShared/dllExport.h:43