VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifAggregateAs.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
12 #include <vlutil/vlList.h>
13 #include <vrfutil/rwUUID.h>
14 #include <vlpi/disEnums.h>
15 #include <vlpi/entityType.h>
16 #include <matrix/vlVector.h>
17 #include <vlpi/netStructs.h>
18 
21 
38 #include "vrfmsgs/vrfmsgsDefines.h"
40 {
41 public:
42 
45 
47  virtual ~DtIfAggregateAs();
48 
50  DtIfAggregateAs(const DtIfAggregateAs& orig);
51 
54 
56  virtual int type() const;
57 
58  virtual DtSimInterfaceContent * clone() const;
59 
61  virtual DtForceType forceType() const;
62  virtual void setForceType(DtForceType force);
63 
65  virtual const DtEntityType & entityType() const;
66  virtual void setEntityType(const DtEntityType & type);
67 
69  virtual void setPosition(const DtVector& position);
70  virtual const DtVector& position() const;
71 
73  virtual DtReal heading() const;
74  virtual void setHeading(DtReal heading);
75 
78  virtual unsigned long requestId() const;
79  virtual void setRequestId(unsigned long id);
80 
82  virtual void addSubordinate(const DtUUID& name);
83 
85  virtual void setUUID(const DtUUID&);
86  virtual const DtUUID& uuid() const;
87 
89  virtual const std::vector<DtUUID>& subordinates() const;
90  virtual std::vector<DtUUID>& subordinates();
91 
95  virtual DtAggregateState initialAggregateState() const;
96  virtual void setInitialAggregateState(DtAggregateState aggregateState);
97 
98  virtual int netRepSize() const;
99  virtual bool setFromNet(const char* contentBuffer,
100  unsigned contentSize);
101  virtual bool setToNet();
102 
103  virtual void printDataToString(DtString& str);
104 
105  static DtSimInterfaceContent* creator();
106 
109  virtual void setAddToOrbat(bool);
110  virtual bool addToOrbat() const;
111 
112 protected:
113 
114  DtForceType myForceType;
115  DtEntityType myEntityType;
117  DtReal myHeading;
118  std::vector<DtUUID> myEntitiesToAggregate;
119  DtU32 myRequestId;
123 };

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)