VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
backendIntervisibilityChecker.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 #pragma once
6 
10 #include <vlutil/vlString.h>
11 #include <matrix/vlVector.h>
12 #include <vrvCore/DtUniqueID.h>
14 
15 namespace makVrv
16 {
17  class DtDe;
18 }
19 
20 class DtSimMessage;
21 
22 namespace makVrf
23 {
24  class DtBackendLineOfSightManager;
25 
29  {
30  public:
31  DtBackendIntervisibilityChecker(makVrv::DtDe&, const std::string& type);
32 
34 
36  {
42  };
43 
44  typedef std::vector<IntersectionPoint> IntersectionPoints;
45 
46  virtual const IntersectionPoints& intersections() const;
47 
48  protected:
49  virtual bool canCheckBackend() const;
50  virtual bool needsRequestForBackendLineOfSight(const DtVector& startPoint, const DtVector& endPoint, bool* retStartingTimeRequest = 0, bool useRegardlessOfBackendStatus = false);
52  virtual bool backendUpdateReady();
53  virtual void requestLineOfSightCheck(const DtVector& start, const DtVector& end);
54  virtual void processLineOfSightResponse(makVrv::DtUniqueID, const DtIfIntersectionInformationResponse::IntersectionPairInformation&);
55  virtual void processedBackendData();
56  virtual bool shouldWaitForServer() const;
57 
60  virtual makVrv::DtUniqueID lineOfSightKey() const = 0;
61 
62  protected:
68 
70 
72 
74  };
75 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)