VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDrawControlObject.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MaK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
7 
11 
14 
15 #include <vl/environmentProcessPublisher.h>
16 
17 namespace vrvControlToolkit
18 {
19 
36  {
37  public:
38 
42  {
43  public:
44 
47 
50 
52 #if DtDIS
53  virtual DtEnvironmentProcessPublisher* create(DtExerciseConn*, const DtObjectId& id) = 0;
54 #else
55  virtual DtEnvironmentProcessPublisher* create(DtExerciseConn*, const char* name) = 0;
56 #endif
57 
58  };
59 
68  DtDrawControlObject(DtExerciseConn* exConn, unsigned id, const DtString& objName);
69 
71  virtual ~DtDrawControlObject();
72 
73  private:
79 
83 
86  DtDrawControlObject& operator=(const DtDrawControlObject& rhs);
87 
88 
89  public:
93  virtual unsigned id() const;
94 
101  virtual void setId( unsigned id );
102 
103  virtual const DtGlobalObjectDesignator& globalId() const;
104 
105  virtual void setVisible(bool yesNo);
106 
107  virtual bool visible() const;
108 
109  virtual bool flashing() const;
110 
111  virtual void setFlashing(bool yesNo);
112 
113  virtual const DtVdcColor& color() const;
114 
115  virtual void setColor(const DtVdcColor& color);
116 
117  virtual void setRemoteGraphicSet(const std::string& setName);
118 
123  virtual void update() = 0;
124 
125  static void setPublisherCreator(DtEnvironmentProcessPublisherCreator* creator);
126 
127  protected:
128  unsigned myId;
130  bool myVisible;
132 
134  };
135 
136 }
DtEnvironmentProcessPublisherCreator()
CTOR.
Definition: DtDrawControlObject.h:46
unsigned myId
Definition: DtDrawControlObject.h:128
Creator for creating the environment process publisher for a draw control object. ...
Definition: DtDrawControlObject.h:41
bool myVisible
Definition: DtDrawControlObject.h:130
DtEnvironmentProcessPublisher * myPublisher
Definition: DtDrawControlObject.h:129
DtVdcColor myEmptyColor
Definition: DtDrawControlObject.h:131
virtual ~DtEnvironmentProcessPublisherCreator()
Virtual DTOR.
Definition: DtDrawControlObject.h:49
DtVdcColor represents colors for Draw Control Objects.
Definition: DtVdcColor.h:21
DtDrawControlObject is the base class from which all Draw Control Objects are derived.
Definition: DtDrawControlObject.h:35
#define DT_DLL_VRVDRAWCONTROL
Definition: vrvDrawControl.h:15
static DtEnvironmentProcessPublisherCreator * thePublisherCreator
Definition: DtDrawControlObject.h:133
DtVdcColor.h contains the class definition for DtVdcColor, which is used to represent colors for all ...

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)