VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgEarthServerDescriptor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtOsgEarthServerDescriptor_H_
11 #define DtOsgEarthServerDescriptor_H_
12 
14 #include <string>
15 
16 namespace makVrv
17 {
18 
22  {
23 
24  public:
25 
27 
28  virtual ~DtOsgEarthServerDescriptor();
29 
31  virtual const std::string& mapName();
32 
34  virtual const std::string& imageName();
35 
37  virtual const std::string& fileName();
38 
40  virtual const std::string& path();
41 
43  virtual const std::string& description();
44 
46  virtual const std::string& sysref();
47 
49  virtual const std::string& fileContents();
50 
53  virtual bool updateFile(const std::string &content);
54 
56  virtual bool renameFile(const std::string &newName);
57 
59  virtual bool deleteFile();
60 
62  virtual bool saveAs(const std::string& path, const std::string& filename);
63 
65  virtual bool initFromFile(const std::string& path, const std::string& fn);
66 
67  protected:
68 
69  virtual void cleanUp();
70 
71  protected:
72 
73  std::string myImageName;
74  std::string myMapName;
75  std::string myPath;
76  std::string myFilename;
77  std::string myDescription;
78  std::string myContent;
79  std::string mySysRef;
80  };
81 }
82 
83 #endif
84 
std::string myFilename
Definition: DtOsgEarthServerDescriptor.h:76
std::string myPath
Definition: DtOsgEarthServerDescriptor.h:75
std::string myDescription
Definition: DtOsgEarthServerDescriptor.h:77
Contains DLL export macros.
std::string myContent
Definition: DtOsgEarthServerDescriptor.h:78
std::string myMapName
Definition: DtOsgEarthServerDescriptor.h:74
std::string mySysRef
Definition: DtOsgEarthServerDescriptor.h:79
std::string myImageName
Definition: DtOsgEarthServerDescriptor.h:73
#define DT_DLL_VRVOSGEARTHQT
Definition: vrvOsgEarthQt.h:25
An server is an entry for osgEarth.
Definition: DtOsgEarthServerDescriptor.h:21

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)