VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtSessionStartupDialogLogic Class Reference

List of all members.

Public Member Functions

 DtSessionStartupDialogLogic (makVrv::DtDe &de, DtSessionStartupDialogInterface &iface)
 CTOR.
virtual ~DtSessionStartupDialogLogic ()
 DTOR.

Protected Member Functions

virtual void slot_neverShowAgain ()
 Set in scenario settings to never show this dialog again.
virtual void slot_newScenarioVR (const std::string &server)
 Tell scenario manager to create a new scenario with the supplied server.
virtual void slot_newScenario ()
 Tell scenario manager to create a new scenario.
virtual void slot_loadScenario ()
 Tell the scenario manager to load an existing scenario.
void processSessionStartupServers ()
 Reads the sessionServerStartup file and adds the items found into the interface.
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 &docConf) const

Protected Attributes

makVrv::DtDemyDe
DtSessionStartupDialogInterfacemyInterface
makVrv::DtSignalConnectionManager myConnections
std::string myWaitingForServerResponse
DtServerAvailablemyServerAvailableRequestor
std::map< std::string, QUrl > myServersNameToUrl

Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

virtual void makVrf::DtSessionStartupDialogLogic::slot_neverShowAgain ( ) [protected, virtual]

Set in scenario settings to never show this dialog again.

virtual void makVrf::DtSessionStartupDialogLogic::slot_newScenarioVR ( const std::string &  server) [protected, virtual]

Tell scenario manager to create a new scenario with the supplied server.

virtual void makVrf::DtSessionStartupDialogLogic::slot_newScenario ( ) [protected, virtual]

Tell scenario manager to create a new scenario.

virtual void makVrf::DtSessionStartupDialogLogic::slot_loadScenario ( ) [protected, virtual]

Tell the scenario manager to load an existing scenario.

Reads the sessionServerStartup file and adds the items found into the interface.

virtual void makVrf::DtSessionStartupDialogLogic::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 makVrf::DtSessionStartupDialogLogic::slot_serverIsAvailable ( const std::string &  desc,
bool  ,
const std::string &  reason 
) [protected, virtual]

Called when requestor returns with server available.

virtual QUrl makVrf::DtSessionStartupDialogLogic::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 makVrf::DtSessionStartupDialogLogic::urlFromEarthFile ( const std::string &  ) const [protected, virtual]
virtual QUrl makVrf::DtSessionStartupDialogLogic::urlFromEarthConfig ( const osgEarth::Config &  docConf) const [protected, virtual]

Member Data Documentation

std::map<std::string, QUrl> makVrf::DtSessionStartupDialogLogic::myServersNameToUrl [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)