VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
taskVisualizationShowHideProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 
15 
16 #include <vl/globalObjectDesignator.h>
17 
19 
20 namespace makVrv
21 {
22  namespace DT_PROTOCOL_NAMESPACE
23  {
24  class DtVrlinkConnection;
25  class DtEntityElementProcessor;
26  class DtAggregateElementProcessor;
27  class DtTacticalGraphicElementProcessor;
28  class DtVrlinkEnvironmentalStateListenerInterface;
29  }
30 }
31 
32 namespace makVrf
33 {
34  namespace VRF_PROTOCOL_NAMESPACE
35  {
38  {
39  public:
40 
43 
45  static DtTaskVisualizationShowHideProcessor& instance(
47 
49  virtual void showOrHideTaskVisualization(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEnvironmentalStateListenerInterface* listener);
50 
52  virtual void removeTaskVisualization(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEnvironmentalStateListenerInterface* listener);
53 
55  virtual void showTasksForObject(makVrv::DtUniqueID obj, bool show);
56 
61 
62  typedef void (*SignalUpdateFunction) (
64  void* usr);
65 
69  virtual void addSignalUpdateFunction(int kind, int category, SignalUpdateFunction func, void* usr);
70 
71  protected:
72 
75 
77  virtual makVrv::DtUniqueID mapTaskedEntityIdToEntityUniqueId(const DtGlobalObjectDesignator& host) const;
78 
80  virtual void addStandardSignalUpdateFunctions();
81 
82  protected:
83 
89 
90  typedef std::set<makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEnvironmentalStateListenerInterface*> TaskVisualizationStateListenerSet;
91 
93  std::set<makVrv::DtUniqueID> myShownTaskedEntities;
94 
97 
99  {
100  SignalUpdateFunction func;
101  void* usr;
102  };
103 
104  typedef std::pair<int, int> KindAndCategory;
105  typedef std::map<KindAndCategory, SignalUpdateFunctionInfo> SignalUpdateFunctionMap;
106 
108  };
109  }
110 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)