VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtRemoteGraphicSetManager.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2010 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: DtRemoteGraphicSetManager.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *********************************************************************/
00011 
00012 #pragma once
00013 
00014 #include <vrvCore/vrvCore.h>
00015 #include <string>
00016 #include <map>
00017 #include <boost/signal.hpp>
00018 
00019 #include <vrvUtil/DtVirtualBaseClass.h>
00020 
00021 namespace makVrv
00022 {
00023    class DtDe;
00024 
00028    class DT_DLL_VRVCORE DtRemoteGraphicSetManager : public DtVirtualBaseClass
00029    {
00030    public:
00031       static DtRemoteGraphicSetManager& instance(DtDe& de);
00032 
00034       virtual ~DtRemoteGraphicSetManager();
00035 
00039       virtual void setRemoteGraphicSet(const std::string& name, bool onOff);
00040 
00042       virtual bool remoteGraphicSetStatus(const std::string& name) const;
00043 
00044       virtual void addRemoteGraphicSet(const std::string& name);
00045 
00046       virtual void removeRemoteGraphicSet(const std::string& name);
00047 
00048       boost::signal<void (const std::string&, bool)> signal_remoteGraphicSetChanged;
00049       boost::signal<void (const std::string&)> signal_remoteGraphicSetRemoved;
00050       boost::signal<void (const std::string&, const std::string&)> signal_attributeGroupTemplateAdded;
00051       boost::signal<void (const std::string&, const std::string&)> signal_attributeGroupTemplateRemoved;
00052       boost::signal<void (const std::string&, const std::string&, bool)> signal_attributeGroupTemplateStatusChanged;
00053 
00054    protected:
00056       DtRemoteGraphicSetManager(DtDe& de);
00057 
00058    protected:
00059       DtDe& myDe;
00060       std::map<std::string, bool> myRemoteGraphicSets;
00061    };
00062 }
00063 

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)