VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | 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]

Public Member Functions

 DtOsgEarthStartupDialogLogic (DtDe &de, DtOsgEarthStartupDialogInterface &iface)
 CTOR.
virtual ~DtOsgEarthStartupDialogLogic ()
 DTOR.
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

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

makVrv::DtOsgEarthStartupDialogLogic::DtOsgEarthStartupDialogLogic ( DtDe de,
DtOsgEarthStartupDialogInterface iface 
)

CTOR.

virtual makVrv::DtOsgEarthStartupDialogLogic::~DtOsgEarthStartupDialogLogic ( )
virtual

DTOR.

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
DtOsgEarthStartupDialogInterface& makVrv::DtOsgEarthStartupDialogLogic::myInterface
protected
DtSignalConnectionManager makVrv::DtOsgEarthStartupDialogLogic::myConnections
protected
std::string makVrv::DtOsgEarthStartupDialogLogic::myWaitingForServerResponse
protected
DtServerAvailable* makVrv::DtOsgEarthStartupDialogLogic::myServerAvailableRequestor
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:

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)