![]() |
VR-Forces 4.0.4 Class Documentation
|
Provides the logic for the DtOsgEarthStartupDialog. More...

Public Member Functions | |
| DtOsgEarthStartupDialogLogic (DtDe &de, DtOsgEarthStartupDialogInterface &iface) | |
| CTOR. | |
| virtual | ~DtOsgEarthStartupDialogLogic () |
| DTOR. | |
Protected Member Functions | |
| virtual void | slot_neverShowAgain (bool neverShow) |
| Set to never show this dialog again. | |
| virtual void | slot_connectToServer (const std::string &server) |
| Tell VR-Vantage to connect to the supplied server. | |
| virtual void | slot_loadTerrain (const std::string &terrain) |
| Tell VR-Vantage to load terrain. | |
| bool | processServers () |
| Read all of the servers from the directory and populate the list. | |
| bool | processTerrain () |
| Read all of the terrain from the directory and populate the list. | |
| bool | processScenes () |
| Read all of the scenes from the directory and populate the list. | |
| virtual void | slot_checkServerAvailability (const std::string &) |
| Checks whether or not the current server is available, and, sets the status appropriately in the interface. | |
| virtual void | slot_serverIsAvailable (const std::string &desc, bool, const std::string &reason) |
| Called when requestor returns with server available. | |
| virtual QUrl | urlFromServer (const std::string &) const |
| Given the .mtf or .earth file, find the server to contact. | |
| virtual QUrl | urlFromEarthFile (const std::string &) const |
| virtual QUrl | urlFromEarthConfig (const osgEarth::Config &) const |
Protected Attributes | |
| DtDe & | myDe |
| DtOsgEarthStartupDialogInterface & | myInterface |
| DtSignalConnectionManager | myConnections |
| std::string | myWaitingForServerResponse |
| DtServerAvailable * | myServerAvailableRequestor |
| std::map< std::string, std::string > | myServersNameToPathMap |
| std::map< std::string, std::string > | myTerrainNameToPathMap |
| std::map< std::string, std::string > | mySceneNameToPathMap |
Provides the logic for the DtOsgEarthStartupDialog.
| makVrv::DtOsgEarthStartupDialogLogic::DtOsgEarthStartupDialogLogic | ( | DtDe & | de, |
| DtOsgEarthStartupDialogInterface & | iface | ||
| ) |
CTOR.
| virtual makVrv::DtOsgEarthStartupDialogLogic::~DtOsgEarthStartupDialogLogic | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtOsgEarthStartupDialogLogic::slot_neverShowAgain | ( | bool | neverShow | ) | [protected, virtual] |
Set to never show this dialog again.
| virtual void makVrv::DtOsgEarthStartupDialogLogic::slot_connectToServer | ( | const std::string & | server | ) | [protected, virtual] |
Tell VR-Vantage to connect to the supplied server.
| virtual void makVrv::DtOsgEarthStartupDialogLogic::slot_loadTerrain | ( | const std::string & | terrain | ) | [protected, virtual] |
Tell VR-Vantage to load terrain.
| bool makVrv::DtOsgEarthStartupDialogLogic::processServers | ( | ) | [protected] |
Read all of the servers from the directory and populate the list.
| bool makVrv::DtOsgEarthStartupDialogLogic::processTerrain | ( | ) | [protected] |
Read all of the terrain from the directory and populate the list.
| bool makVrv::DtOsgEarthStartupDialogLogic::processScenes | ( | ) | [protected] |
Read all of the scenes from the directory and populate the list.
| virtual void makVrv::DtOsgEarthStartupDialogLogic::slot_checkServerAvailability | ( | const std::string & | ) | [protected, virtual] |
Checks whether or not the current server is available, and, sets the status appropriately in the interface.
| virtual void makVrv::DtOsgEarthStartupDialogLogic::slot_serverIsAvailable | ( | const std::string & | desc, |
| bool | , | ||
| const std::string & | reason | ||
| ) | [protected, virtual] |
Called when requestor returns with server available.
| virtual QUrl makVrv::DtOsgEarthStartupDialogLogic::urlFromServer | ( | const std::string & | ) | const [protected, virtual] |
Given the .mtf or .earth file, find the server to contact.
All others will return empty string
| virtual QUrl makVrv::DtOsgEarthStartupDialogLogic::urlFromEarthFile | ( | const std::string & | ) | const [protected, virtual] |
| virtual QUrl makVrv::DtOsgEarthStartupDialogLogic::urlFromEarthConfig | ( | const osgEarth::Config & | ) | const [protected, virtual] |
DtDe& makVrv::DtOsgEarthStartupDialogLogic::myDe [protected] |
std::string makVrv::DtOsgEarthStartupDialogLogic::myWaitingForServerResponse [protected] |
std::map<std::string, std::string> makVrv::DtOsgEarthStartupDialogLogic::myServersNameToPathMap [protected] |
std::map<std::string, std::string> makVrv::DtOsgEarthStartupDialogLogic::myTerrainNameToPathMap [protected] |
std::map<std::string, std::string> makVrv::DtOsgEarthStartupDialogLogic::mySceneNameToPathMap [protected] |