![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2010 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtDrawControlObject.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 ******************************************************************************/ 00008 #pragma once 00009 00013 00014 #include <vrvDrawControl/vrvDrawControlDefines.h> 00015 #include <vrvDrawControl/DtVdcColor.h> 00016 00017 #include <vl/envProcPub.h> 00018 00019 namespace vrvControlToolkit 00020 { 00021 00037 class DT_DLL_VRVDRAWCONTROL DtDrawControlObject 00038 { 00039 public: 00044 DtDrawControlObject(DtExerciseConn* exConn, unsigned id, const DtString& objName); 00045 00047 virtual ~DtDrawControlObject(); 00048 00049 private: 00054 DtDrawControlObject(); 00055 00058 DtDrawControlObject(const DtDrawControlObject& orig); 00059 00062 DtDrawControlObject& operator=(const DtDrawControlObject& rhs); 00063 00064 00065 public: 00069 virtual unsigned id() const; 00070 00077 virtual void setId( unsigned id ); 00078 00079 virtual const DtGlobalObjectDesignator& globalId() const; 00080 00081 virtual void setVisible(bool yesNo); 00082 00083 virtual bool visible() const; 00084 00085 virtual bool flashing() const; 00086 00087 virtual void setFlashing(bool yesNo); 00088 00089 virtual const DtVdcColor& color() const; 00090 00091 virtual void setColor(const DtVdcColor& color); 00092 00093 virtual void setRemoteGraphicSet(const std::string& setName); 00094 00099 virtual void update() = 0; 00100 00101 protected: 00102 unsigned myId; 00103 DtEnvironmentProcessPublisher myPublisher; 00104 bool myVisible; 00105 DtVdcColor myEmptyColor; 00106 }; 00107 00108 }