MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
directServerRtiAmbassador1516.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA_1516
13 #if !DtHLA_1516_EVOLVED
14 
18 
20 #include <vector>
21 
22 namespace MAKTrafficClientServerExConn
23 {
24  class DT_DLL_CSEC DtDirectServerRtiAmbassador : public DtServerRtiAmbassador
25  {
26 
27  public:
28 
31  DtDirectServerRtiAmbassador(
32  const std::vector<std::wstring>& createArguments = std::vector<std::wstring>())
33  throw (
34  BadInitializationParameter,
35  RTIinternalError);
36 
37  virtual ~DtDirectServerRtiAmbassador();
38 
39  private:
40 
42  DtDirectServerRtiAmbassador(const DtDirectServerRtiAmbassador &other);
43 
45  DtDirectServerRtiAmbassador& operator=(const DtDirectServerRtiAmbassador &other);
46 
47  public:
48 
52 
54  virtual ObjectInstanceHandle registerObjectInstance
55  (ObjectClassHandle theClass)
56  throw (
57  ObjectClassNotDefined,
58  ObjectClassNotPublished,
59  FederateNotExecutionMember,
60  SaveInProgress,
61  RestoreInProgress,
62  RTIinternalError);
63 
64  virtual ObjectInstanceHandle registerObjectInstance
65  (ObjectClassHandle theClass,
66  std::wstring const & theObjectInstanceName)
67  throw (
68  ObjectClassNotDefined,
69  ObjectClassNotPublished,
70  ObjectInstanceNameNotReserved,
71  ObjectInstanceNameInUse,
72  FederateNotExecutionMember,
73  SaveInProgress,
74  RestoreInProgress,
75  RTIinternalError);
76 
78  virtual void updateAttributeValues
79  (ObjectInstanceHandle theObject,
80  AttributeHandleValueMap const & theAttributeValues,
81  RTI::VariableLengthData const & aTag)
82  throw (
83  ObjectInstanceNotKnown,
84  AttributeNotDefined,
85  AttributeNotOwned,
86  FederateNotExecutionMember,
87  SaveInProgress,
88  RestoreInProgress,
89  RTIinternalError);
90 
91  virtual MessageRetractionHandle updateAttributeValues
92  (ObjectInstanceHandle theObject,
93  AttributeHandleValueMap const & theAttributeValues,
94  RTI::VariableLengthData const & aTag,
95  LogicalTime const & theTime)
96  throw (
97  ObjectInstanceNotKnown,
98  AttributeNotDefined,
99  AttributeNotOwned,
100  InvalidLogicalTime,
101  FederateNotExecutionMember,
102  SaveInProgress,
103  RestoreInProgress,
104  RTIinternalError);
105 
107  virtual void sendInteraction
108  (InteractionClassHandle theInteraction,
109  ParameterHandleValueMap const & theParameterValues,
110  RTI::VariableLengthData const & aTag)
111  throw (
112  InteractionClassNotPublished,
113  InteractionClassNotDefined,
114  InteractionParameterNotDefined,
115  FederateNotExecutionMember,
116  SaveInProgress,
117  RestoreInProgress,
118  RTIinternalError);
119 
120  virtual MessageRetractionHandle sendInteraction
121  (InteractionClassHandle theInteraction,
122  ParameterHandleValueMap const & theParameterValues,
123  RTI::VariableLengthData const & aTag,
124  LogicalTime const & theTime)
125  throw (
126  InteractionClassNotPublished,
127  InteractionClassNotDefined,
128  InteractionParameterNotDefined,
129  InvalidLogicalTime,
130  FederateNotExecutionMember,
131  SaveInProgress,
132  RestoreInProgress,
133  RTIinternalError);
134 
136  virtual void deleteObjectInstance
137  (ObjectInstanceHandle theObject,
138  RTI::VariableLengthData const & aTag)
139  throw (
140  DeletePrivilegeNotHeld,
141  ObjectInstanceNotKnown,
142  FederateNotExecutionMember,
143  SaveInProgress,
144  RestoreInProgress,
145  RTIinternalError);
146 
147  virtual MessageRetractionHandle deleteObjectInstance
148  (ObjectInstanceHandle theObject,
149  RTI::VariableLengthData const & aTag,
150  LogicalTime const & theTime)
151  throw (
152  DeletePrivilegeNotHeld,
153  ObjectInstanceNotKnown,
154  InvalidLogicalTime,
155  FederateNotExecutionMember,
156  SaveInProgress,
157  RestoreInProgress,
158  RTIinternalError);
159 
161  virtual void localDeleteObjectInstance
162  (ObjectInstanceHandle theObject)
163  throw (
164  ObjectInstanceNotKnown,
165  FederateOwnsAttributes,
166  OwnershipAcquisitionPending,
167  FederateNotExecutionMember,
168  SaveInProgress,
169  RestoreInProgress,
170  RTIinternalError);
171 
175 
177  virtual ObjectInstanceHandle registerObjectInstanceWithRegions
178  (ObjectClassHandle theClass,
179  AttributeHandleSetRegionHandleSetPairVector const &
180  theAttributeHandleSetRegionHandleSetPairVector)
181  throw (
182  ObjectClassNotDefined,
183  ObjectClassNotPublished,
184  AttributeNotDefined,
185  AttributeNotPublished,
186  InvalidRegion,
187  RegionNotCreatedByThisFederate,
188  InvalidRegionContext,
189  FederateNotExecutionMember,
190  SaveInProgress,
191  RestoreInProgress,
192  RTIinternalError);
193 
194  virtual ObjectInstanceHandle registerObjectInstanceWithRegions
195  (ObjectClassHandle theClass,
196  AttributeHandleSetRegionHandleSetPairVector const &
197  theAttributeHandleSetRegionHandleSetPairVector,
198  std::wstring const & theObjectInstanceName)
199  throw (
200  ObjectClassNotDefined,
201  ObjectClassNotPublished,
202  AttributeNotDefined,
203  AttributeNotPublished,
204  InvalidRegion,
205  RegionNotCreatedByThisFederate,
206  InvalidRegionContext,
207  ObjectInstanceNameNotReserved,
208  ObjectInstanceNameInUse,
209  FederateNotExecutionMember,
210  SaveInProgress,
211  RestoreInProgress,
212  RTIinternalError);
213 
215  virtual void sendInteractionWithRegions
216  (InteractionClassHandle theInteraction,
217  ParameterHandleValueMap const & theParameterValues,
218  RegionHandleSet const & theRegionHandleSet,
219  RTI::VariableLengthData const & aTag)
220  throw (
221  InteractionClassNotDefined,
222  InteractionClassNotPublished,
223  InteractionParameterNotDefined,
224  InvalidRegion,
225  RegionNotCreatedByThisFederate,
226  InvalidRegionContext,
227  FederateNotExecutionMember,
228  SaveInProgress,
229  RestoreInProgress,
230  RTIinternalError);
231 
232  virtual MessageRetractionHandle sendInteractionWithRegions
233  (InteractionClassHandle theInteraction,
234  ParameterHandleValueMap const & theParameterValues,
235  RegionHandleSet const & theRegionHandleSet,
236  RTI::VariableLengthData const & aTag,
237  LogicalTime const & theTime)
238  throw (
239  InteractionClassNotDefined,
240  InteractionClassNotPublished,
241  InteractionParameterNotDefined,
242  InvalidRegion,
243  RegionNotCreatedByThisFederate,
244  InvalidRegionContext,
245  InvalidLogicalTime,
246  FederateNotExecutionMember,
247  SaveInProgress,
248  RestoreInProgress,
249  RTIinternalError);
250 
251  public:
252 
254  static DtVrlRtiAmbassador* create(const std::vector<std::wstring>&);
255 
256  };
257 }
258 
259 #endif
260 #endif
This connection RTI Ambassador overrides RTI Ambassador calls where necessary; otherwise, just makes call on RTI Ambassador given to it.
#define DT_DLL_CSEC
Definition: clientServerExConnDllDefines.h:17

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)