VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrlinkDataInteractionTranslator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
14 #include <vl/dataInteraction.h>
15 
17 
18 namespace makVrf
19 {
20  class DtSplitMessageCollector;
21  class DtVrlinkNetworkInterface;
22 
24  {
25  public:
27  virtual ~DtVrlinkDataInteractionTranslator() override;
28 
29  virtual void init(DtVrlinkNetworkInterface*) override;
30 
31  static void netMessageCallback(::DtDataInteraction* dataInter, void * usr);
32  virtual void processNetMessage(::DtDataInteraction* dataInter);
33 
34  protected:
35  virtual bool processEvent(const makVrfEvents::DtEvent&) override;
36  virtual bool sendNormalMessage(
37  const makVrfEvents::DtDataEvent* message, bool overrideTimestampOrder);
38  virtual bool sendSplitContent(const makVrfEvents::DtDataEvent* message,
39  bool overrideTimestampOrder);
40  virtual bool matchPattern(const DtSimulationAddress& address,
41  const DtSimulationAddress& pattern);
42  virtual bool isMessageVrfVersionSupported(::DtDataInteraction* dataInter) const;
43 
46  virtual bool isVrfMessageVersionTransparentMessageType(int messageType) const;
47 
48  virtual bool wantsToSelfReflect(unsigned int) const;
49 
52  boost::signals2::signal<void (int, DtDataInteraction*, bool&)> signal_messageValid;
53 
55  virtual unsigned maximumContentSize() const;
56 
57  #if DtHLA
58  public:
59  virtual void setTransportTypeReliable(int msgType);
60  virtual void setTransportTypeBestEffort(int msgType);
61  protected:
62  static char* dataInteractionChooser(DtExerciseConn* exConn, const DtInteraction& inter);
63  #endif
64 
65  protected:
66  #if DtHLA
69  #endif
70 
72  };
73 }
Definition: splitMessageCollector.h:17
DtSimInterfaceMessage is used to send a message to the front end or the back end. It derives from a s...
Definition: simInterfaceMessage.h:23
Definition: event.h:13
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
class DtDataEvent
Definition: dataEvent.h:18

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)