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:
28 
29  virtual void init(DtVrlinkNetworkInterface*);
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&);
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  virtual void setTransportTypeReliable(int msgType);
59  virtual void setTransportTypeBestEffort(int msgType);
60  static char* dataInteractionChooser(DtExerciseConn* exConn, const DtInteraction& inter);
61  #endif
62 
63  protected:
64  #if DtHLA
67  #endif
68 
70  };
71 }
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 Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)