VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtOsgEarthStartupDialogLogic Class Reference

Provides the logic for the DtOsgEarthStartupDialog. More...

Inheritance diagram for makVrv::DtOsgEarthStartupDialogLogic:
Inheritance graph
[legend]

List of all members.

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

DtDemyDe
DtOsgEarthStartupDialogInterfacemyInterface
DtSignalConnectionManager myConnections
std::string myWaitingForServerResponse
DtServerAvailablemyServerAvailableRequestor
std::map< std::string,
std::string > 
myServersNameToPathMap
std::map< std::string,
std::string > 
myTerrainNameToPathMap
std::map< std::string,
std::string > 
mySceneNameToPathMap

Detailed Description

Provides the logic for the DtOsgEarthStartupDialog.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

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.

Read all of the servers from the directory and populate the list.

Returns:
true if any servers were processed.

Read all of the terrain from the directory and populate the list.

Returns:
true if any terrains were processed.

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 &  ) [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]

Member Data Documentation

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:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)