Provides the logic for the DtOsgEarthStartupDialog.
More...
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 |
Detailed Description
Provides the logic for the DtOsgEarthStartupDialog.
Constructor & Destructor Documentation
| virtual makVrv::DtOsgEarthStartupDialogLogic::~DtOsgEarthStartupDialogLogic |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void makVrv::DtOsgEarthStartupDialogLogic::slot_neverShowAgain |
( |
bool |
neverShow | ) |
|
|
protectedvirtual |
Set to never show this dialog again.
| virtual void makVrv::DtOsgEarthStartupDialogLogic::slot_connectToServer |
( |
const std::string & |
server | ) |
|
|
protectedvirtual |
Tell VR-Vantage to connect to the supplied server.
| virtual void makVrv::DtOsgEarthStartupDialogLogic::slot_loadTerrain |
( |
const std::string & |
terrain | ) |
|
|
protectedvirtual |
Tell VR-Vantage to load terrain.
| bool makVrv::DtOsgEarthStartupDialogLogic::processServers |
( |
| ) |
|
|
protected |
Read all of the servers from the directory and populate the list.
- Returns
- true if any servers were processed.
| bool makVrv::DtOsgEarthStartupDialogLogic::processTerrain |
( |
| ) |
|
|
protected |
Read all of the terrain from the directory and populate the list.
- Returns
- true if any terrains were processed.
| bool makVrv::DtOsgEarthStartupDialogLogic::processScenes |
( |
| ) |
|
|
protected |
Read all of the scenes from the directory and populate the list.
- Returns
- true if any scenes were processed.
| virtual void makVrv::DtOsgEarthStartupDialogLogic::slot_checkServerAvailability |
( |
const std::string & |
| ) |
|
|
protectedvirtual |
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 |
|
) |
| |
|
protectedvirtual |
Called when requestor returns with server available.
| virtual QUrl makVrv::DtOsgEarthStartupDialogLogic::urlFromServer |
( |
const std::string & |
| ) |
const |
|
protectedvirtual |
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 |
|
protectedvirtual |
| virtual QUrl makVrv::DtOsgEarthStartupDialogLogic::urlFromEarthConfig |
( |
const osgEarth::Config & |
| ) |
const |
|
protectedvirtual |
Member Data Documentation
| 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 |
The documentation for this class was generated from the following file: