13 #ifndef DtOsgEarthServerManager_H_
14 #define DtOsgEarthServerManager_H_
25 class DtOsgEarthServerDescriptor;
35 typedef std::map<std::string, DtOsgEarthServerDescriptor*>
ServerMap;
44 virtual void loadServerDescriptors();
51 virtual bool deleteServer(
const std::string&
filename);
54 virtual void removeServer(
const std::string&
filename);
57 virtual bool copyServer(
const std::string& name,
const std::string& newName);
60 virtual bool renameServer(
const std::string& oldname,
const std::string& newName);
63 virtual bool updateServer(
const std::string& name,
const std::string& content);
75 virtual void slot_onDePostInitialize();
79 std::string serversDirectory();
87 void clearServerMap();
boost::signal< void(const std::string &)> signal_newServer
Definition: DtOsgEarthServerManager.h:69
Virtual base class.
Definition: DtVirtualBaseClass.h:22
std::map< std::string, DtOsgEarthServerDescriptor * > ServerMap
A map of servers.
Definition: DtOsgEarthServerManager.h:35
DtDe & myDe
Definition: DtOsgEarthServerManager.h:91
boost::signal< void(const std::string &, const std::string &)> signal_renameServer
Definition: DtOsgEarthServerManager.h:68
A singleton manager for all servers.
Definition: DtOsgEarthServerManager.h:29
Contains DLL export macros.
Contains makVrv::DtVirtualBaseClass class.
ServerMap myServerMap
Definition: DtOsgEarthServerManager.h:92
#define DT_DLL_VRVOSGEARTHQT
Definition: vrvOsgEarthQt.h:25
An server is an entry for osgEarth.
Definition: DtOsgEarthServerDescriptor.h:21
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
boost::signal< void(const std::string &)> signal_deleteServer
Definition: DtOsgEarthServerManager.h:71
boost::signal< void(const std::string &)> signal_updateServer
Definition: DtOsgEarthServerManager.h:70