VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifOsgEarthCacheInformation.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfmsgs/vrfmsgsDefines.h"
13 
19 {
20 public:
21 
24 
27 
29  virtual int type() const;
30 
32  virtual void setRequestId(unsigned int id);
33  virtual unsigned int requestId() const;
34 
35  virtual DtSimInterfaceContent * clone() const;
36 
37  virtual int netRepSize() const;
38  virtual bool setFromNet(const char* contentBuffer,
39  unsigned contentSize);
40  virtual bool setToNet();
41 
42  static DtSimInterfaceContent* creator();
43 
45  virtual void setEstimatedTime(double);
46  double estimatedTime() const;
47 
49  virtual void setEstimatedSize(double);
50  double estimatedSize() const;
51 
52  std::vector<std::string>& elevationLayers() { return myElevationLayers; };
53  const std::vector<std::string>& elevationLayers() const { return myElevationLayers; };
54 
55  std::vector<std::string>& modelLayers() { return myModelLayers; };
56  const std::vector<std::string>& modelLayers() const { return myModelLayers; };
57 
58  std::vector<std::string>& featureLayers() { return myFeatureLayers; }
59  const std::vector<std::string>& featureLayers() const { return myFeatureLayers; }
60 
62  virtual void merge(const DtIfOsgEarthCacheInformation&);
63 
64 protected:
65  virtual void mergeVectors(std::vector<std::string>& lhs, const std::vector<std::string>& rhs) const;
66 
67 protected:
68  DtU32 myRequestId;
71  std::vector<std::string> myElevationLayers;
72  std::vector<std::string> myModelLayers;
73  std::vector<std::string> myFeatureLayers;
74 };

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)