WebLVC 1.8 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregateTypes.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2014 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <portal/addAttribute.h>
14 #include <vlpi/entityType.h>
15 #include <vlutil/vlString.h>
16 #include <vector>
17 
18 namespace MAKVrExchange
19 {
20 
24  {
25  public:
26 
29 
31  DtSilentAggregate( const DtSilentAggregate& other );
32 
34  virtual ~DtSilentAggregate();
35 
37  DtSilentAggregate& operator = ( const DtSilentAggregate& other );
38 
40  bool operator == ( const DtSilentAggregate& other ) const;
41 
44 
46  DtDEC_ATTRIBUTE( DtEntityType, EntityType, entityType );
47 
49  DtDEC_ATTRIBUTE( DtU32, NumberOfAggregates, numberOfAggregates );
50 
52 
53  };
54 
58  {
59  public:
60 
63 
65  DtSilentEntity( const DtSilentEntity& other );
66 
68  virtual ~DtSilentEntity();
69 
71  DtSilentEntity& operator = ( const DtSilentEntity& other );
72 
74  bool operator == ( const DtSilentEntity& other ) const;
75 
78 
80  DtDEC_ATTRIBUTE( DtU32, NumberOfEntities, numberOfEntities );
81 
83  DtDEC_ATTRIBUTE( DtU32, NumberOfAppearanceRecords, numberOfAppearanceRecords );
84 
86  DtDEC_ATTRIBUTE( DtU64, EntityAppearance, entityAppearance );
87 
89  DtDEC_ATTRIBUTE( DtEntityType, EntityType, entityType );
90 
92 
93  };
94 
98  {
99  public:
100 
103 
106 
108  virtual ~DtAggregateVariableDatum();
109 
111  DtAggregateVariableDatum& operator = ( const DtAggregateVariableDatum& other );
112 
114  bool operator == ( const DtAggregateVariableDatum& other ) const;
115 
118 
120  DtDEC_ATTRIBUTE( DtU32, DatumId, datumId );
121 
123  DtDEC_ATTRIBUTE( DtVariableLengthData, Datum, datum );
124 
126 
127  };
128 
129  typedef std::vector<DtAggregateVariableDatum> DtAggregateVariableDatumArray;
131  typedef std::vector<DtSilentAggregate> DtSilentAggregateArray;
132  typedef std::vector<DtSilentEntity> DtSilentEntityArray;
133 
134 }
135 
136 
137 std::ostream& operator << ( std::ostream& str, const MAKVrExchange::DtSilentAggregate& msg );
138 std::ostream& operator << ( std::ostream& str, const MAKVrExchange::DtSilentAggregateArray& msg );
139 
140 std::ostream& operator << ( std::ostream& str, const MAKVrExchange::DtAggregateVariableDatum& msg );
141 std::ostream& operator << ( std::ostream& str, const MAKVrExchange::DtAggregateVariableDatumArray& msg );
142 
143 std::ostream& operator << ( std::ostream& str, const MAKVrExchange::DtSilentEntity& msg );
144 std::ostream& operator << ( std::ostream& str, const MAKVrExchange::DtSilentEntityArray& msg );
Represents variable length byte arrays.
Definition: variableLengthData.h:24
std::vector< DtSilentEntity > DtSilentEntityArray
Definition: aggregateTypes.h:132
#define DT_DLL_LIBPORTAL
Definition: include/portal/dllExport.h:20
#define DtDEC_ATTRIBUTE(T, N, n)
A Macro to define an attribute; as well as make an accessor and mutator for that attribute.
Definition: addAttribute.h:49
Contains the DtVariableLengthData class declaration.
A container class for the SilentAggregateType.
Definition: aggregateTypes.h:23
std::vector< DtSilentAggregate > DtSilentAggregateArray
A vector of DtSilentAggregates.
Definition: aggregateTypes.h:131
std::vector< DtAggregateVariableDatum > DtAggregateVariableDatumArray
Definition: aggregateTypes.h:129
DT_DLL_LIBPORTAL std::ostream & operator<<(std::ostream &stream, const DtActiveSonarBeamData &data)
Represents variable data transmitted as part of the Aggregate Object.
Definition: aggregateTypes.h:97
Contains the DtDEC_ATTRIBUTE macros.
Represents entities which are not simulated, but rather only listed in the aggregate.
Definition: aggregateTypes.h:57

Document ID: Generated on Wed Mar 12 15:05:17 EDT 2025 from SVN revision 274272
Copyright © 2005-2025 MAK Technologies. All Rights Reserved (www.mak.com)