VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/vrfTacticalGraphicOverlayTreeInterface.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile:  $ $Revision:  $ $State:  $
00007 ******************************************************************************/
00008 
00010 
00011 #pragma once
00012 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00013 #include <vrvCore/DtUniqueID.h>
00014 #include <boost/signal.hpp>
00015 
00016 namespace makVrf
00017 {
00021    class DT_DLL_VRFGUICOREQT DtVrfTacticalGraphicOverlayTreeInterface
00022    {
00023    public:
00024 
00025       DtVrfTacticalGraphicOverlayTreeInterface();
00026 
00027       virtual ~DtVrfTacticalGraphicOverlayTreeInterface();
00028 
00030       virtual void addOverlay(const std::string& name) = 0;
00031 
00033       virtual void lockOverlay(const std::string& name, bool lock) = 0;
00034 
00036       virtual void setOverlaySelected(const std::string& name, bool flag) = 0;
00037  
00039       virtual void enableAddOverlays(bool flag) = 0;
00041       virtual void enableDeleteOverlays(bool flag) = 0;
00043       virtual void enableEditOverlays(bool flag) = 0;
00045       virtual void enableLockOverlays(bool flag) = 0;
00046    
00048       virtual void clear() = 0;
00049 
00051       virtual void updateUI() = 0;
00052       
00053       boost::signal<void ()> signal_addOverlay;
00054       boost::signal<void (const makVrv::DtUniqueID& id, const std::string& )> signal_itemMovedToOverlay;
00055       boost::signal<void (const std::string&, const std::string& )> signal_renameOverlay;      
00056       boost::signal<void (const std::string&)> signal_removeOverlay;
00057       boost::signal<void (const std::string&, bool flag)> signal_lockOverlay;
00058 
00059    };
00060 }
00061 

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)