VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfConnectionHelper.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
18 
19 #include <vl/commentInteraction.h>
20 #include <matrix/vlVector.h>
21 
22 #if DtHLA
24 #else
26 typedef void (*DtInfluenceInterCb) (DtInfluenceInteraction* inter, void* usr);
27 #endif
28 
30 class DtEntityType;
31 class DtSetDataRequest;
32 class DtVrfObjectMessage;
34 
35 namespace makVrv
36 {
37  class DtDe;
38  class DtVrlinkDriver;
39 }
40 
41 namespace makVrf
42 {
43  namespace VRF_PROTOCOL_NAMESPACE
44  {
45  class DtVrfDriver;
49  {
50  public:
51 
54 
56  virtual ~DtVrfConnectionHelper();
57 
58  virtual bool onStop();
59 
60  virtual void setDriver(DtVrfDriver*);
61 
62  protected:
64  virtual void slot_onSaveScenario(const DtScenario*, DtPreserveMappingsFcn fcn = 0, void* userData = 0,
65  bool saveInZipFile = false, bool queueSave = false, int putIntoPlayMode = 0);
66 
70  virtual void slot_onSaveCheckpoints(std::vector<DtScenario*>, DtFilename);
71 
73  virtual void slot_onClearSavingCheckpoints();
74 
76  virtual void slot_onLoadScenario(const DtScenarioLoadInformation&);
77 
79  virtual void slot_onRollbackToSnapshot(double);
80 
82  virtual void slot_registerCommentInteraction(bool);
83 
86  virtual void slot_registerInfluenceInteraction(bool);
87 
90  static void influenceInteractionCallback(DtInfluenceInteraction *inter, void* usr);
91 
94  virtual void processInfluenceInteraction(DtInfluenceInteraction* inter);
95 
98  static void commentInteractionCallback(DtCommentInteraction *inter, void* usr);
99 
102  virtual void processCommentInteraction(DtCommentInteraction* inter);
103 
104  protected:
105  virtual void setupConnections();
106  virtual void disconnectConnections();
107 
108  protected:
109  typedef std::vector<std::pair<DtVrfObjectConsoleMessageCallbackFcn, void*> > DtCommentInteractionCallbackList;
110 
113 
115  };
116  }
117 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)