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 
64  DtDrawControlObject(DtExerciseConn* exConn, unsigned id, const DtString& objName);
65 
67  virtual ~DtDrawControlObject();
68 
69  private:
75 
79 
82  DtDrawControlObject& operator=(const DtDrawControlObject& rhs);
83 
84 
85  public:
89  virtual unsigned id() const;
90 
97  virtual void setId( unsigned id );
98 
99  virtual const DtGlobalObjectDesignator& globalId() const;
100 
101  virtual void setVisible(bool yesNo);
102 
103  virtual bool visible() const;
104 
105  virtual bool flashing() const;
106 
107  virtual void setFlashing(bool yesNo);
108 
109  virtual const DtVdcColor& color() const;
110 
111  virtual void setColor(const DtVdcColor& color);
112 
113  virtual void setRemoteGraphicSet(const std::string& setName);
114 
119  virtual void update() = 0;
120 
121  static void setPublisherCreator(DtEnvironmentProcessPublisherCreator* creator);
122 
123  protected:
124  unsigned myId;
126  bool myVisible;
128 
130  };
131 
132 }
DtEnvironmentProcessPublisherCreator()
CTOR.
Definition: DtDrawControlObject.h:46
unsigned myId
Definition: DtDrawControlObject.h:124
Creator for creating the environment process publisher for a draw control object. ...
Definition: DtDrawControlObject.h:41
bool myVisible
Definition: DtDrawControlObject.h:126
DtEnvironmentProcessPublisher * myPublisher
Definition: DtDrawControlObject.h:125
DtVdcColor myEmptyColor
Definition: DtDrawControlObject.h:127
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:129
DtVdcColor.h contains the class definition for DtVdcColor, which is used to represent colors for all ...

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)