VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
chatInterEncoderHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2025 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
14 #include <vl/interactionEncoder.h>
16 
17 
18 class DtEntityType;
19 class DtChatInter;
20 
24 {
25 public:
27  DtChatInterEncoder(DtExerciseConn* exConn,
28  DtInterClassDesc* classDesc);
29 
31  virtual ~DtChatInterEncoder() override;
32 
35 
37  DtChatInterEncoder& operator=(const DtChatInterEncoder& orig);
38 
39 protected:
40 
42  static void encodeSender(
43  const DtChatInter& inter,
44  RTI::ParameterHandleValuePairSet* params,
45  RTI::ParameterHandle paramHandle);
46 
48  static void encodeSenderUsername(
49  const DtChatInter& inter,
50  RTI::ParameterHandleValuePairSet* params,
51  RTI::ParameterHandle paramHandle);
52 
54  static void encodeChannel(
55  const DtChatInter& inter,
56  RTI::ParameterHandleValuePairSet* params,
57  RTI::ParameterHandle paramHandle);
58 
60  static void encodeForceIdentifier(
61  const DtChatInter& inter,
62  RTI::ParameterHandleValuePairSet* params,
63  RTI::ParameterHandle paramHandle);
64 
66  static void encodeMessageText(
67  const DtChatInter& inter,
68  RTI::ParameterHandleValuePairSet* params,
69  RTI::ParameterHandle paramHandle);
70 
71 protected:
72 
73  static void encodeUnicodeString(const std::wstring& str,
74  RTI::ParameterHandleValuePairSet* params, RTI::ParameterHandle paramHandle);
75 };
76 
77 
78 
79 #endif
Instances of DtChatInter are used to store state data for resourceRequest interactions.
Definition: chatInterDIS.h:39
Instances of DtChatInterEncoder are used to encode data from DtChatInter objects into network structu...
Definition: chatInterEncoderHLA.h:23
#define DT_DLL_vrfExtObjects
Definition: dllExport.h:23

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)