VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
switchDynamicTerrainAtPointCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfplan/simCommand.h"
12 #include "vrfplan/vrfplanDefines.h"
13 #include "readerWriter/rwVector.h"
14 #include "vrfutil/rwStringList.h"
15 #include <readerWriter/rwBoolean.h>
16 
22 {
23 public:
24 
27 
30  DtReaderWriterRegistry* parentRegistry = NULL);
31 
34  DtReaderWriterRegistry* parentRegistry = NULL);
35 
38 
41 
43 
44  virtual void setStartPoint(const DtVector& location);
45  virtual DtVector startPoint() const;
47 
49 
50  virtual void setEndPoint(const DtVector& location);
51  virtual DtVector endPoint() const;
53 
56 
57  virtual void setChangeableTypes(const DtRwStringList& changeTypes);
58  virtual const DtRwStringList& changeableTypes() const;
59  virtual void addChangeableType(const DtString& changeType);
61 
64 
65  virtual void setUnchangeableTypes(const DtRwStringList& changeTypes);
66  virtual const DtRwStringList& unchangeableTypes() const;
67  virtual void addUnchangeableType(const DtString& changeType);
69 
73  virtual bool isChangeableType(const DtString& changeType) const;
74 
77 
78  virtual void setSwitchAllOnChord(bool switchAll);
79  virtual bool switchAllOnChord() const;
81 
82  virtual const DtSimCommandMessageType& type() const;
83 
84  virtual DtSimCommand* clone(const DtString & name, DtReaderWriterRegistry* parentRegistry = 0) const;
85 
87  virtual DtString stringRep() const;
88 
90  virtual int netRepSize() const;
91 
93  virtual bool setFromNet(const char* contentBuffer,
94  unsigned contentSize);
95 
97  virtual bool setToNet();
98 
100  static DtSimCommand* creator();
101 
102 protected:
108 };
109 
110 
111 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)