VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 
21 #if DtHLA
22 #include <vrfExtObjects/influenceInteractionHLA.h>
23 #else
24 class DtInfluenceInteraction;
25 typedef void (*DtInfluenceInterCb) (DtInfluenceInteraction* inter, void* usr);
26 #endif
27 
29 class DtEntityType;
30 class DtVector;
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 
67  virtual void slot_onLoadScenario(const DtScenarioLoadInformation&);
68 
70  virtual void slot_registerCommentInteraction(bool);
71 
74  virtual void slot_registerInfluenceInteraction(bool);
75 
78  static void influenceInteractionCallback(DtInfluenceInteraction *inter, void* usr);
79 
82  virtual void processInfluenceInteraction(DtInfluenceInteraction* inter);
83 
86  static void commentInteractionCallback(DtCommentInteraction *inter, void* usr);
87 
90  virtual void processCommentInteraction(DtCommentInteraction* inter);
91 
92  protected:
93  virtual void setupConnections();
94  virtual void disconnectConnections();
95 
96  protected:
97  typedef std::vector<std::pair<DtVrfObjectConsoleMessageCallbackFcn, void*> > DtCommentInteractionCallbackList;
98 
101 
103  };
104  }
105 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)