VR-Forces 4.0.4 Class Documentation
include/vrvOsgEarthQt/DtOsgEarthServerLogic.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2007 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtOsgEarthServerLogic.h,v $ $Revision: 1.5 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 #include <vrvOsgEarthQt/vrvOsgEarthQt.h>
00015 #include <vrvCore/DtDe.h>
00016 
00017 namespace makVrv
00018 {
00019    class DtOsgEarthServerInterface;
00020 
00023    class DT_DLL_VRVOSGEARTHQT DtOsgEarthServerLogic
00024    {
00025 
00026    public:
00027 
00029       DtOsgEarthServerLogic(DtDe& ig, DtOsgEarthServerInterface* iFace);
00030    
00032       ~DtOsgEarthServerLogic();
00033 
00035       virtual void setupInstances();
00036 
00038       void addTerrainPatch(const std::string& serverName);
00039 
00040    protected:
00041 
00043       void addTerrainPatch();
00044 
00046       void onCurrentServerChanged(const std::string& filename);
00047 
00049       void onServerRenamed(const std::string& oldname, const std::string& newname);
00050 
00052       void onServerAdded(const std::string& name);
00053 
00055       void onServerUpdated(const std::string& name);
00056 
00058       void onServerDeleted(const std::string& name);
00059 
00060    protected:
00061 
00062       DtDe& myIg;
00063       DtOsgEarthServerInterface* myInterface;
00064       std::string myServerFileName;
00065       std::string myCoordinateSystem;
00066       std::string myCoordinateSystemParams;
00067 
00068    };
00069 }
00070 

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)