VR-Forces 4.3 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::DtOsgEarthServerLogic Class Reference

Adds terrain patches to the scene. More...

Public Member Functions

 DtOsgEarthServerLogic (DtDe &ig, DtOsgEarthServerInterface *iFace)
 CTOR.
virtual ~DtOsgEarthServerLogic ()
 DTOR.
virtual void setupInstances ()
 Initializes the list of available servers.
void addTerrainPatch (const std::string &serverName)
 Sets myServerFileName then calls addTerrainPatch.

Protected Member Functions

void addTerrainPatch ()
 Called when a user clicks "Connect" in the connect dialog.
void onCurrentServerChanged (const std::string &filename)
 Called when a user change the selected server in the connect dialog.
void onServerRenamed (const std::string &oldname, const std::string &newname)
 Called when a user rename a server.
void onServerAdded (const std::string &name)
 Called when a user add a server.
void onServerUpdated (const std::string &name)
 Called when a user add a server.
void onServerDeleted (const std::string &name)
 Called when a user delete a server.

Protected Attributes

DtDemyIg
DtOsgEarthServerInterfacemyInterface
std::string myServerFileName
std::string myCoordinateSystem
std::string myCoordinateSystemParams

Detailed Description

Adds terrain patches to the scene.

Constructor & Destructor Documentation

makVrv::DtOsgEarthServerLogic::DtOsgEarthServerLogic ( DtDe ig,
DtOsgEarthServerInterface iFace 
)

CTOR.

virtual makVrv::DtOsgEarthServerLogic::~DtOsgEarthServerLogic ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtOsgEarthServerLogic::setupInstances ( )
virtual

Initializes the list of available servers.

void makVrv::DtOsgEarthServerLogic::addTerrainPatch ( const std::string &  serverName)

Sets myServerFileName then calls addTerrainPatch.

void makVrv::DtOsgEarthServerLogic::addTerrainPatch ( )
protected

Called when a user clicks "Connect" in the connect dialog.

void makVrv::DtOsgEarthServerLogic::onCurrentServerChanged ( const std::string &  filename)
protected

Called when a user change the selected server in the connect dialog.

void makVrv::DtOsgEarthServerLogic::onServerRenamed ( const std::string &  oldname,
const std::string &  newname 
)
protected

Called when a user rename a server.

void makVrv::DtOsgEarthServerLogic::onServerAdded ( const std::string &  name)
protected

Called when a user add a server.

void makVrv::DtOsgEarthServerLogic::onServerUpdated ( const std::string &  name)
protected

Called when a user add a server.

void makVrv::DtOsgEarthServerLogic::onServerDeleted ( const std::string &  name)
protected

Called when a user delete a server.

Member Data Documentation

DtDe& makVrv::DtOsgEarthServerLogic::myIg
protected
DtOsgEarthServerInterface* makVrv::DtOsgEarthServerLogic::myInterface
protected
std::string makVrv::DtOsgEarthServerLogic::myServerFileName
protected
std::string makVrv::DtOsgEarthServerLogic::myCoordinateSystem
protected
std::string makVrv::DtOsgEarthServerLogic::myCoordinateSystemParams
protected

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)