10 #ifndef DtOsgEarthServerManager_H_
11 #define DtOsgEarthServerManager_H_
22 class DtOsgEarthServerDescriptor;
32 typedef std::map<std::string, DtOsgEarthServerDescriptor*>
ServerMap;
41 virtual void loadServerDescriptors();
48 virtual bool deleteServer(
const std::string&
filename);
51 virtual void removeServer(
const std::string&
filename);
54 virtual bool copyServer(
const std::string& name,
const std::string& newName);
57 virtual bool renameServer(
const std::string& oldname,
const std::string& newName);
60 virtual bool updateServer(
const std::string& name,
const std::string& content);
72 virtual void slot_onDePostInitialize();
76 std::string serversDirectory();
84 void clearServerMap();
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
std::map< std::string, DtOsgEarthServerDescriptor * > ServerMap
A map of servers.
Definition: DtOsgEarthServerManager.h:32
boost::signalslib::signal< void(const std::string &)> signal_deleteServer
Definition: DtOsgEarthServerManager.h:68
DtDe & myDe
Definition: DtOsgEarthServerManager.h:88
A singleton manager for all servers.
Definition: DtOsgEarthServerManager.h:26
Contains DLL export macros.
Contains makVrv::DtVirtualBaseClass class.
boost::signalslib::signal< void(const std::string &, const std::string &)> signal_renameServer
Definition: DtOsgEarthServerManager.h:65
boost::signalslib::signal< void(const std::string &)> signal_updateServer
Definition: DtOsgEarthServerManager.h:67
ServerMap myServerMap
Definition: DtOsgEarthServerManager.h:89
#define DT_DLL_VRVOSGEARTHQT
Definition: vrvOsgEarthQt.h:25
An server is an entry for osgEarth.
Definition: DtOsgEarthServerDescriptor.h:21
boost::signalslib::signal< void(const std::string &)> signal_newServer
Definition: DtOsgEarthServerManager.h:66
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76