VR-Forces 4.2 Class Documentation
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtSessionStartupDialogLogic Class Reference

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::DtDe & myDe
DtSessionStartupDialogInterfacemyInterface
makVrv::DtSignalConnectionManager myConnections
std::string myWaitingForServerResponse
DtServerAvailablemyServerAvailableRequestor
std::map< std::string, QUrl > myServersNameToUrl

Constructor & Destructor Documentation

makVrf::DtSessionStartupDialogLogic::DtSessionStartupDialogLogic ( makVrv::DtDe &  de,
DtSessionStartupDialogInterface iface 
)

CTOR.

virtual makVrf::DtSessionStartupDialogLogic::~DtSessionStartupDialogLogic ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrf::DtSessionStartupDialogLogic::slot_neverShowAgain ( )
protectedvirtual

Set in scenario settings to never show this dialog again.

virtual void makVrf::DtSessionStartupDialogLogic::slot_newScenarioVR ( const std::string &  server)
protectedvirtual

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

virtual void makVrf::DtSessionStartupDialogLogic::slot_newScenario ( )
protectedvirtual

Tell scenario manager to create a new scenario.

virtual void makVrf::DtSessionStartupDialogLogic::slot_loadScenario ( )
protectedvirtual

Tell the scenario manager to load an existing scenario.

void makVrf::DtSessionStartupDialogLogic::processSessionStartupServers ( )
protected

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

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

Called when requestor returns with server available.

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

Member Data Documentation

makVrv::DtDe& makVrf::DtSessionStartupDialogLogic::myDe
protected
DtSessionStartupDialogInterface& makVrf::DtSessionStartupDialogLogic::myInterface
protected
makVrv::DtSignalConnectionManager makVrf::DtSessionStartupDialogLogic::myConnections
protected
std::string makVrf::DtSessionStartupDialogLogic::myWaitingForServerResponse
protected
DtServerAvailable* makVrf::DtSessionStartupDialogLogic::myServerAvailableRequestor
protected
std::map<std::string, QUrl> makVrf::DtSessionStartupDialogLogic::myServersNameToUrl
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)