VR-Forces 4.0.4 Class Documentation
include/vrvVrl/DtRemoteGraphicElement.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtVrlinkRemoteGraphicElementVisualizer.h,v $ $Revision: 1.17 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 
00015 #include <vrvVrl/vrvVrl.h>
00016 
00017 #include <vrvCore/DtEnvironmentalStateListener.h>
00018 #include <vrvCore/DtUniqueID.h>
00019 
00020 #include <vrvUtil/DtSignalConnectionManager.h>
00021 
00022 #include <vrvVrl/DtVrlinkRemoteGraphicStateListener.h>
00023 
00024 #include <map>
00025 
00026 namespace makVrv
00027 {
00028    namespace DT_PROTOCOL_NAMESPACE
00029    {
00030       class DtRemoteGraphicVisualizerSet;
00031       class DtVrlinkConnection;
00032 
00033       class DL_DLL_IGCONVRLINK DtRemoteGraphicElement
00034       {
00035       public:
00036 
00037          typedef std::map<int, DtRemoteGraphicVisualizerSet*> RemoteGraphicModelSetMap;
00038         
00040         DtRemoteGraphicElement( DtVrlinkConnection&, 
00041             DtVrlinkRemoteGraphicStateListener& );
00042 
00044          virtual ~DtRemoteGraphicElement();
00045          
00046          virtual void visualize();
00047          
00050          virtual void modelSetVisualized( int modelSet, bool b );
00051          
00052          virtual const RemoteGraphicModelSetMap& modelSetMap() const
00053          {
00054             return myRemoteGraphicModelSetMap;
00055          }
00056          
00057          DtUniqueID elementID() const
00058          {
00059             return myListener.uniqueId();
00060          }
00061 
00062       protected:
00063          RemoteGraphicModelSetMap myRemoteGraphicModelSetMap;
00064          DtVrlinkConnection& mySimulation;
00065          DtVrlinkRemoteGraphicStateListener& myListener;
00066          DtElementEntry::ObjectType myObjectType;
00067          DtSignalConnectionManager  myConnections;
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)