VR-Exchange 2.1 API Documentation
pAggregate.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2012 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <portal/pBaseEntity.h>
13 #include <vlutil/vlString.h>
14 #include <matrix/vlTaitBryan.h>
15 
16 namespace MAKVrExchange {
17 
20  //
22  {
23 
24  public:
25 
27  virtual ~DtPortalAggregate();
28 
30  DtPortalAggregate &operator=(const DtPortalAggregate& other);
31 
32  bool operator!=(const DtPortalAggregate& other) const;
33  bool operator==(const DtPortalAggregate& other) const;
34 
36  virtual const char * objectKindName() const { return "Aggregate"; }
37 
38 
39  virtual unsigned int netSize() const;
40 
41  virtual void writeSelfToBuffer(void *buffer) const ;
42  virtual void readSelfFromBuffer(const void *buffer);
43 
44  virtual std::ostream &printDataToStream(std::ostream &str) const;
45 
49 
51  DtDEC_ATTRIBUTE(DtU32, ForceId, forceId);
52 
54  DtDEC_ATTRIBUTE(DtU32, AggregateState, aggregateState);
55 
57  DtDEC_ATTRIBUTE(DtU32, Formation, formation);
58 
61  DtDEC_ATTRIBUTE(DtString, AggregateType, aggregateType);
62 
64  DtDEC_ATTRIBUTE(DtString, EntityIdentifier, entityIdentifer);
65 
67  DtDEC_ATTRIBUTE(DtString, MarkingText, markingText);
68 
70  DtDEC_ATTRIBUTE(DtU32, MarkingCharacterSet, markingCharacterSet);
71 
73  DtDEC_ATTRIBUTE(DtVector, Dimensions, dimensions);
74 
76  DtDEC_ATTRIBUTE(std::vector<DtString>, Subaggregates, subaggregates);
77 
79  DtDEC_ATTRIBUTE(std::vector<DtString>, Entities, entities);
80 
83  DtDEC_ATTRIBUTE(DtSilentAggregateArray, SilentAggregates, silentAggregates);
84 
87  DtDEC_ATTRIBUTE(DtSilentEntityArray, SilentEntities, silentEntities);
88 
90  DtDEC_ATTRIBUTE(DtAggregateVariableDatumArray, VariableDatums, variableDatums);
91 
93 
94  public:
95 
97 
98 
100  static DtPortalMessage *create() { return new DtPortalAggregate; }
101 
102  protected:
103 
104 
105  };
106 
107 }

Document ID: Generated on Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)