VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setTacticalGraphicFormattingData.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 #pragma once
15 
16 
18 #include <readerWriter/rwInt.h>
19 #include "vrfutil/rwColor.h"
20 #include <vlpi/netStructs.h>
21 
29 {
30 
31 public:
32 
35 
39  DtReaderWriterRegistry * parentRegistry = 0);
40 
43  orig, DtReaderWriterRegistry * parentRegistry = 0);
44 
47 
48  virtual ~DtSetTacticalGraphicFormattingData() override;
49 
51  virtual const DtSetMessageType& type() const override;
52 
54  virtual DtSetDataRequest * clone(const DtString& name, DtReaderWriterRegistry* parentRegistry = 0) const override;
55 
57  virtual DtString stringRep() const override;
58 
61  virtual int netRepSize() const override;
62 
64  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize) override;
65 
67  virtual void setOverlayParent(const DtString&);
68  virtual const DtString& overlayParent() const;
69  virtual bool overlayParentSpecified() const;
70 
72  virtual void setColor(int r, int g, int b, int a);
73  virtual void setColor(const DtRwColor&);
74  virtual const DtRwColor& color() const;
75  virtual void getColor(int &r, int &g, int &b, int &a);
76  virtual bool colorSpecified() const;
77 
94  virtual void setFillStyle(int);
95  virtual int fillStyle() const;
96  virtual bool fillStyleSpecified() const;
97 
105  virtual void setPenStyle(int);
106  virtual int penStyle() const;
107  virtual bool penStyleSpecified() const;
108 
110  virtual void setLineWidth(int);
111  virtual int lineWidth() const;
112  virtual bool lineWidthSpecified() const;
113 
115  virtual void setArrowSize(int);
116  virtual int arrowSize() const;
117  virtual bool arrowSizeSpecified() const;
118 
124  virtual void setArrowHeadPlacement(int);
125  virtual int arrowHeadPlacement() const;
126  virtual bool arrowHeadPlacementSpecified() const;
127 
134  virtual void setArrowStyle(int);
135  virtual int arrowStyle() const;
136  virtual bool arrowStyleSpecified() const;
137 
140  virtual bool setToNet() override;
141 
142  static DtSetDataRequest * creator();
143 
144 protected:
153 };
virtual bool setToNet()
Sets netRep buffer to the contents of this set request. Base class does nothing and returns true...
DtRwInt myPenStyle
Definition: setTacticalGraphicFormattingData.h:147
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
virtual int netRepSize() const
DtRwInt myFillStyle
Definition: setTacticalGraphicFormattingData.h:146
DtRwInt myArrowSize
Definition: setTacticalGraphicFormattingData.h:149
DtRwString myOverlayParent
Definition: setTacticalGraphicFormattingData.h:152
DtSetDataRequest is an abstract base class from which real setDataRequests can derive. It manages the read/write capability; derived classes need only use and register read/writatble data types for derived information.
Definition: setDataRequest.h:41
Reader-Writer color specified by red, green, blue components.
Definition: rwColor.h:19
DtRwColor myColor
Definition: setTacticalGraphicFormattingData.h:145
virtual const DtSetMessageType & type() const =0
What kind of setDataRequest am I? (from radioMsgTypes.h). Returns a string representing the kind of d...
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtSetDataRequest * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this request. Returns a pointer to a newly created copy of this data request...
const DtSetDataRequest & operator=(const DtSetDataRequest &orig)
assignment operator; same as copy costructor.
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer. Base class does nothing and return...
DtRwInt myArrowStyle
Definition: setTacticalGraphicFormattingData.h:151
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
virtual DtString stringRep() const =0
Get a readable string representation of this setDataRequest. Returns a human readable string represen...
DtRwInt myLineWidth
Definition: setTacticalGraphicFormattingData.h:148
DtRwInt myArrowFrequency
Definition: setTacticalGraphicFormattingData.h:150
File: setTacticalGraphicFormattingData.h.
Definition: setTacticalGraphicFormattingData.h:28

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)