VR-Forces 4.1.1 Class Documentation
DtHatHotResponder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2009 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: DtHatHotResponder.h,v $ $Revision: 1.1 $ $State: Exp $
7 *********************************************************************/
8 
12 
13 #ifndef DtHatHotResponder_H_
14 #define DtHatHotResponder_H_
15 
16 #include <vrvCigi/vrvCigi.h>
17 #include <vrvCore/DtUniqueID.h>
18 
19 #include <map>
20 
21 #include <matrix/vlVector.h>
22 
23 #include <boost/signal.hpp>
24 
25 class CigiHatHotReqV3_2;
26 
27 namespace makVrv
28 {
29  class DtCigiEntityVisualizer;
30  class DtCigiConnection;
31 
37  {
38  public:
39  struct HatHotData
40  {
45  bool hatRequest;
46  };
47 
50 
52  virtual ~DtHatHotResponder();
53 
55  virtual void addPeriodicHatHotRequest(DtUniqueID entityId,
56  const DtVector& loc, int frequency, int hatHotId, bool hatRequest);
57 
59  virtual void processHatHotRequests();
60 
62  boost::signal<void (DtUniqueID, const DtVector&, unsigned int, bool, unsigned int)>
64 
65  protected:
68  void processHatHotRequest(const CigiHatHotReqV3_2& hatHotReq);
69 
72  virtual void sendHatHotRequest(DtUniqueID entityId, const DtVector& loc,
73  int hatHotId, bool hatRequest);
74 
75  protected:
76  std::map<int, HatHotData> myHatHotRequests;
78  };
79 }
80 
81 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)