VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifModifyVrfObject.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
12 
49 #include "vrfmsgs/vrfmsgsDefines.h"
51 {
52 public:
53 
56 
58  virtual ~DtIfModifyVrfObject();
59 
62 
65 
67  virtual DtSimInterfaceContent * clone() const;
68 
71  virtual int type() const;
72 
73  virtual int netRepSize() const;
74  virtual bool setFromNet(const char* contentBuffer,
75  unsigned contentSize);
76  virtual bool setToNet();
77 
78  virtual void printDataToString(DtString& str);
79 
81 
83  virtual bool isNameSpecified() const;
84  virtual bool isForceTypeSpecified() const;
85  virtual bool isObjectLabelSpecified() const;
86  virtual bool isHeadingSpecified() const;
87  virtual bool isClosedFigureSpecified() const;
88  virtual bool isProjectionSpecified() const;
89  virtual bool isObjectGeometrySpecified() const;
90  virtual bool isAppearanceSpecified() const;
91  virtual bool isOverlayParentSpecified() const;
92  virtual bool isExtendedDataSpecified() const;
93  virtual bool isExtendedLabelsSpecified() const;
94  virtual bool isUserDataSpecified() const;
95 
96 public:
101 
103  virtual void setMarkingText(const DtString & objectName);
104 
106  virtual void setObjectType(const DtObjectType & objectType);
107 
109  virtual void setForceType(const DtForceType forceType);
110 
112  virtual void setObjectLabel(const DtString & objectLabel);
113 
115  virtual void setPosition(const DtVector & position);
116 
118  virtual void setOverlayParent(const DtString& overlayParent);
119 
121  virtual void setHeading(DtReal heading);
122 
125  virtual void addVertex(const DtVector & vertex);
126 
129  virtual void setProjection(bool projection);
130 
134  virtual void setClosedFigure(bool closedFigure);
135 
137  virtual void setAppearance(const DtAppearance& appearance);
138 
139  virtual void setUserData( const DtString& userData );
140  virtual void setExtendedData( const std::map<std::string, std::string>& userData );
141  virtual void setExtendedData( const DtString& keyword, const DtString& data );
142  virtual void setExtendedLabels(const std::map<int, DtString>& extendedLabels);
143 
146  virtual void setMergeExtendedData(bool);
147  virtual bool mergeExtendedData() const;
148 
151  void setStartPosition(const DtVector& position);
152  void setEndPosition(const DtVector& position);
153 
154 protected:
155 
157 
172 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
DtUUID myObjectIdentifier
Definition: ifModifyVrfObject.h:156
virtual void setExtendedLabels(const std::map< int, DtString > &extendedLabels)
Set/get the object label of the vrf object to create.
bool myNameSpecified
Definition: ifModifyVrfObject.h:158
virtual int type() const
Returns the string type of message, DtCreateVrfObjectMessageType (defined in msgTypes.h).
virtual void setExtendedData(const std::map< std::string, std::string > &)
virtual void setMarkingText(const DtString &objectName)
Set/get the object name of the vrf object to create. Note that if the object name length is &gt; 255 cha...
DtIfCreateVrfObject & operator=(const DtIfCreateVrfObject &orig)
assignment operator
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
virtual void setProjection(bool projection)
virtual void setObjectLabel(const DtString &objectLabel)
Set/get the object label of the vrf object to create.
bool myAppearanceSpecified
Definition: ifModifyVrfObject.h:167
bool myObjectGeometrySpecified
Definition: ifModifyVrfObject.h:166
virtual DtSimInterfaceContent * clone() const
Returns a newly created instance of a DtIfCreateVrfObject.
virtual void setObjectType(const DtObjectType &objectType)
Set/get the object type of the vrf object to create.
virtual bool setToNet()
bool myClosedFigureSpecified
Definition: ifModifyVrfObject.h:164
bool myExtendedDataSpecified
Definition: ifModifyVrfObject.h:169
class DtIfModifyVrfObject:
Definition: ifModifyVrfObject.h:50
virtual void addVertex(const DtVector &vertex)
Add a vertex to the end of the vertex list.
virtual int netRepSize() const
bool myObjectLabelSpecified
Definition: ifModifyVrfObject.h:161
bool myExtendedLabelsSpecified
Definition: ifModifyVrfObject.h:170
bool myForceTypeSpecified
Definition: ifModifyVrfObject.h:160
bool myProjectionSpecified
Definition: ifModifyVrfObject.h:165
bool myObjectTypeSpecified
Definition: ifModifyVrfObject.h:159
virtual void setUserData(const DtString &userData)
bool myMergeExtendedData
Definition: ifModifyVrfObject.h:171
virtual void setAppearance(const DtAppearance &appearance)
bool myHeadingSpecified
Definition: ifModifyVrfObject.h:163
virtual void setClosedFigure(bool closedFigure)
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
void setStartPosition(const DtVector &position)
These are here for back compatibility and should be removed after the next release.
virtual void setHeading(DtReal heading)
static DtSimInterfaceContent * creator()
bool myOverlayParentSpecified
Definition: ifModifyVrfObject.h:162
virtual void setForceType(const DtForceType forceType)
Set/get the force type of the vrf object to create.
bool myUserDataSpecified
Definition: ifModifyVrfObject.h:168
Definition: simInterfaceContent.h:45
virtual void setOverlayParent(const DtString &overlayParent)
Sets the overlay parent of this object.
virtual void printDataToString(DtString &str)
void setEndPosition(const DtVector &position)
virtual void setPosition(const DtVector &position)
class DtIfCreateVrfObject:
Definition: ifCreateVrfObject.h:77

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)