9 #ifndef DtFedAmbCallbackQueue1516_h
10 #define DtFedAmbCallbackQueue1516_h
17 #include <RTI/Typedefs.h>
22 class DtFedAmbCallback;
24 typedef std::queue<DtRtiMsg*> DtFedAmbMsgQueue;
37 virtual ~DtCallbackQueue() throw ();
41 DtCallbackQueue(DtCallbackQueue const& orig);
43 DtCallbackQueue& operator = (DtCallbackQueue const& orig);
48 virtual
void enableQueue();
51 virtual
void disableQueue();
54 MAKRti::DtString const& name() const;
65 throw (rti1516::FederateInternalError);
68 rti1516::SynchronizationFailureReason reason)
69 throw (rti1516::FederateInternalError);
73 rti1516::VariableLengthData const & theUserSuppliedTag)
74 throw (rti1516::FederateInternalError);
78 throw (rti1516::FederateInternalError);
82 throw (rti1516::UnableToPerformSave,
83 rti1516::FederateInternalError);
86 rti1516::LogicalTime const & theTime)
87 throw (rti1516::UnableToPerformSave,
88 rti1516::InvalidLogicalTime,
89 rti1516::FederateInternalError);
93 throw (rti1516::FederateInternalError);
96 throw (rti1516::FederateInternalError);
99 virtual
void federationSaveStatusResponse(
100 rti1516::FederateHandleSaveStatusPairVector const & theFederateStatusVector)
101 throw (rti1516::FederateInternalError);
105 throw (rti1516::FederateInternalError);
108 throw (rti1516::FederateInternalError);
112 throw (rti1516::FederateInternalError);
117 throw (rti1516::SpecifiedSaveLabelDoesNotExist,
118 rti1516::CouldNotInitiateRestore,
119 rti1516::FederateInternalError);
123 throw (rti1516::FederateInternalError);
126 throw (rti1516::FederateInternalError);
129 virtual
void federationRestoreStatusResponse(
130 rti1516::FederateHandleRestoreStatusPairVector const & theFederateStatusVector)
131 throw (rti1516::FederateInternalError);
139 throw (rti1516::ObjectClassNotPublished,
140 rti1516::FederateInternalError);
144 throw (rti1516::ObjectClassNotPublished,
145 rti1516::FederateInternalError);
149 throw (rti1516::InteractionClassNotPublished,
150 rti1516::FederateInternalError);
154 throw (rti1516::InteractionClassNotPublished,
155 rti1516::FederateInternalError);
162 virtual
void objectInstanceNameReservationSucceeded(std::wstring const &
163 theObjectInstanceName)
164 throw (rti1516::UnknownName,
165 rti1516::FederateInternalError);
167 virtual
void objectInstanceNameReservationFailed(std::wstring const &
168 theObjectInstanceName)
169 throw (rti1516::UnknownName,
170 rti1516::FederateInternalError);
175 std::wstring const & theObjectInstanceName)
176 throw (rti1516::CouldNotDiscover,
177 rti1516::ObjectClassNotKnown,
178 rti1516::FederateInternalError);
182 (rti1516::ObjectInstanceHandle theObject,
183 rti1516::AttributeHandleValueMap const & theAttributeValues,
184 rti1516::VariableLengthData const & theUserSuppliedTag,
186 rti1516::TransportationType theType)
187 throw (rti1516::ObjectInstanceNotKnown,
188 rti1516::AttributeNotRecognized,
189 rti1516::AttributeNotSubscribed,
190 rti1516::FederateInternalError);
193 (rti1516::ObjectInstanceHandle theObject,
194 rti1516::AttributeHandleValueMap const & theAttributeValues,
195 rti1516::VariableLengthData const & theUserSuppliedTag,
197 rti1516::TransportationType theType,
198 rti1516::RegionHandleSet const & theSentRegionHandleSet)
199 throw (rti1516::ObjectInstanceNotKnown,
200 rti1516::AttributeNotRecognized,
201 rti1516::AttributeNotSubscribed,
202 rti1516::FederateInternalError);
205 (rti1516::ObjectInstanceHandle theObject,
206 rti1516::AttributeHandleValueMap const & theAttributeValues,
207 rti1516::VariableLengthData const & theUserSuppliedTag,
209 rti1516::TransportationType theType,
210 rti1516::LogicalTime const & theTime,
212 throw (rti1516::ObjectInstanceNotKnown,
213 rti1516::AttributeNotRecognized,
214 rti1516::AttributeNotSubscribed,
215 rti1516::FederateInternalError);
218 (rti1516::ObjectInstanceHandle theObject,
219 rti1516::AttributeHandleValueMap const & theAttributeValues,
220 rti1516::VariableLengthData const & theUserSuppliedTag,
222 rti1516::TransportationType theType,
223 rti1516::LogicalTime const & theTime,
225 rti1516::RegionHandleSet const & theSentRegionHandleSet)
226 throw (rti1516::ObjectInstanceNotKnown,
227 rti1516::AttributeNotRecognized,
228 rti1516::AttributeNotSubscribed,
229 rti1516::FederateInternalError);
232 (rti1516::ObjectInstanceHandle theObject,
233 rti1516::AttributeHandleValueMap const & theAttributeValues,
234 rti1516::VariableLengthData const & theUserSuppliedTag,
236 rti1516::TransportationType theType,
237 rti1516::LogicalTime const & theTime,
239 rti1516::MessageRetractionHandle theHandle)
240 throw (rti1516::ObjectInstanceNotKnown,
241 rti1516::AttributeNotRecognized,
242 rti1516::AttributeNotSubscribed,
243 rti1516::InvalidLogicalTime,
244 rti1516::FederateInternalError);
247 (rti1516::ObjectInstanceHandle theObject,
248 rti1516::AttributeHandleValueMap const & theAttributeValues,
249 rti1516::VariableLengthData const & theUserSuppliedTag,
251 rti1516::TransportationType theType,
252 rti1516::LogicalTime const & theTime,
254 rti1516::MessageRetractionHandle theHandle,
255 rti1516::RegionHandleSet const & theSentRegionHandleSet)
256 throw (rti1516::ObjectInstanceNotKnown,
257 rti1516::AttributeNotRecognized,
258 rti1516::AttributeNotSubscribed,
259 rti1516::InvalidLogicalTime,
260 rti1516::FederateInternalError);
265 rti1516::ParameterHandleValueMap const & theParameterValues,
266 rti1516::VariableLengthData const & theUserSuppliedTag,
268 rti1516::TransportationType theType)
269 throw (rti1516::InteractionClassNotRecognized,
270 rti1516::InteractionParameterNotRecognized,
271 rti1516::InteractionClassNotSubscribed,
272 rti1516::FederateInternalError);
276 rti1516::ParameterHandleValueMap const & theParameterValues,
277 rti1516::VariableLengthData const & theUserSuppliedTag,
279 rti1516::TransportationType theType,
280 rti1516::RegionHandleSet const & theSentRegionHandleSet)
281 throw (rti1516::InteractionClassNotRecognized,
282 rti1516::InteractionParameterNotRecognized,
283 rti1516::InteractionClassNotSubscribed,
284 rti1516::FederateInternalError);
288 rti1516::ParameterHandleValueMap const & theParameterValues,
289 rti1516::VariableLengthData const & theUserSuppliedTag,
291 rti1516::TransportationType theType,
292 rti1516::LogicalTime const & theTime,
294 throw (rti1516::InteractionClassNotRecognized,
295 rti1516::InteractionParameterNotRecognized,
296 rti1516::InteractionClassNotSubscribed,
297 rti1516::FederateInternalError);
301 rti1516::ParameterHandleValueMap const & theParameterValues,
302 rti1516::VariableLengthData const & theUserSuppliedTag,
304 rti1516::TransportationType theType,
305 rti1516::LogicalTime const & theTime,
307 rti1516::RegionHandleSet const & theSentRegionHandleSet)
308 throw (rti1516::InteractionClassNotRecognized,
309 rti1516::InteractionParameterNotRecognized,
310 rti1516::InteractionClassNotSubscribed,
311 rti1516::FederateInternalError);
315 rti1516::ParameterHandleValueMap const & theParameterValues,
316 rti1516::VariableLengthData const & theUserSuppliedTag,
318 rti1516::TransportationType theType,
319 rti1516::LogicalTime const & theTime,
321 rti1516::MessageRetractionHandle theHandle)
322 throw (rti1516::InteractionClassNotRecognized,
323 rti1516::InteractionParameterNotRecognized,
324 rti1516::InteractionClassNotSubscribed,
325 rti1516::InvalidLogicalTime,
326 rti1516::FederateInternalError);
330 rti1516::ParameterHandleValueMap const & theParameterValues,
331 rti1516::VariableLengthData const & theUserSuppliedTag,
333 rti1516::TransportationType theType,
334 rti1516::LogicalTime const & theTime,
336 rti1516::MessageRetractionHandle theHandle,
337 rti1516::RegionHandleSet const & theSentRegionHandleSet)
338 throw (rti1516::InteractionClassNotRecognized,
339 rti1516::InteractionParameterNotRecognized,
340 rti1516::InteractionClassNotSubscribed,
341 rti1516::InvalidLogicalTime,
342 rti1516::FederateInternalError);
346 rti1516::VariableLengthData const & theUserSuppliedTag,
348 throw (rti1516::ObjectInstanceNotKnown,
349 rti1516::FederateInternalError);
352 rti1516::VariableLengthData const & theUserSuppliedTag,
354 rti1516::LogicalTime const & theTime,
356 throw (rti1516::ObjectInstanceNotKnown,
357 rti1516::FederateInternalError);
360 rti1516::VariableLengthData const & theUserSuppliedTag,
362 rti1516::LogicalTime const & theTime,
364 rti1516::MessageRetractionHandle theHandle)
365 throw (rti1516::ObjectInstanceNotKnown,
366 rti1516::InvalidLogicalTime,
367 rti1516::FederateInternalError);
371 (rti1516::ObjectInstanceHandle theObject,
372 rti1516::AttributeHandleSet const & theAttributes)
373 throw (rti1516::ObjectInstanceNotKnown,
374 rti1516::AttributeNotRecognized,
375 rti1516::AttributeNotSubscribed,
376 rti1516::FederateInternalError);
380 (rti1516::ObjectInstanceHandle theObject,
381 rti1516::AttributeHandleSet const & theAttributes)
382 throw (rti1516::ObjectInstanceNotKnown,
383 rti1516::AttributeNotRecognized,
384 rti1516::AttributeNotSubscribed,
385 rti1516::FederateInternalError);
389 (rti1516::ObjectInstanceHandle theObject,
390 rti1516::AttributeHandleSet const & theAttributes,
391 rti1516::VariableLengthData const & theUserSuppliedTag)
392 throw (rti1516::ObjectInstanceNotKnown,
393 rti1516::AttributeNotRecognized,
394 rti1516::AttributeNotOwned,
395 rti1516::FederateInternalError);
399 (rti1516::ObjectInstanceHandle theObject,
400 rti1516::AttributeHandleSet const & theAttributes)
401 throw (rti1516::ObjectInstanceNotKnown,
402 rti1516::AttributeNotRecognized,
403 rti1516::AttributeNotOwned,
404 rti1516::FederateInternalError);
408 (rti1516::ObjectInstanceHandle theObject,
409 rti1516::AttributeHandleSet const & theAttributes)
410 throw (rti1516::ObjectInstanceNotKnown,
411 rti1516::AttributeNotRecognized,
412 rti1516::AttributeNotOwned,
413 rti1516::FederateInternalError);
421 (rti1516::ObjectInstanceHandle theObject,
422 rti1516::AttributeHandleSet const & offeredAttributes,
423 rti1516::VariableLengthData const & theUserSuppliedTag)
424 throw (rti1516::ObjectInstanceNotKnown,
425 rti1516::AttributeNotRecognized,
426 rti1516::AttributeAlreadyOwned,
427 rti1516::AttributeNotPublished,
428 rti1516::FederateInternalError);
431 virtual
void requestDivestitureConfirmation
432 (rti1516::ObjectInstanceHandle theObject,
433 rti1516::AttributeHandleSet const & releasedAttributes)
434 throw (rti1516::ObjectInstanceNotKnown,
435 rti1516::AttributeNotRecognized,
436 rti1516::AttributeNotOwned,
437 rti1516::AttributeDivestitureWasNotRequested,
438 rti1516::FederateInternalError);
442 (rti1516::ObjectInstanceHandle theObject,
443 rti1516::AttributeHandleSet const & securedAttributes,
444 rti1516::VariableLengthData const & theUserSuppliedTag)
445 throw (rti1516::ObjectInstanceNotKnown,
446 rti1516::AttributeNotRecognized,
447 rti1516::AttributeAcquisitionWasNotRequested,
448 rti1516::AttributeAlreadyOwned,
449 rti1516::AttributeNotPublished,
450 rti1516::FederateInternalError);
454 (rti1516::ObjectInstanceHandle theObject,
455 rti1516::AttributeHandleSet const & theAttributes)
456 throw (rti1516::ObjectInstanceNotKnown,
457 rti1516::AttributeNotRecognized,
458 rti1516::AttributeAlreadyOwned,
459 rti1516::AttributeAcquisitionWasNotRequested,
460 rti1516::FederateInternalError);
464 (rti1516::ObjectInstanceHandle theObject,
465 rti1516::AttributeHandleSet const & candidateAttributes,
466 rti1516::VariableLengthData const & theUserSuppliedTag)
467 throw (rti1516::ObjectInstanceNotKnown,
468 rti1516::AttributeNotRecognized,
469 rti1516::AttributeNotOwned,
470 rti1516::FederateInternalError);
474 (rti1516::ObjectInstanceHandle theObject,
475 rti1516::AttributeHandleSet const & theAttributes)
476 throw (rti1516::ObjectInstanceNotKnown,
477 rti1516::AttributeNotRecognized,
478 rti1516::AttributeAlreadyOwned,
479 rti1516::AttributeAcquisitionWasNotCanceled,
480 rti1516::FederateInternalError);
486 throw (rti1516::ObjectInstanceNotKnown,
487 rti1516::AttributeNotRecognized,
488 rti1516::FederateInternalError);
492 throw (rti1516::ObjectInstanceNotKnown,
493 rti1516::AttributeNotRecognized,
494 rti1516::FederateInternalError);
496 virtual
void attributeIsOwnedByRTI(rti1516::ObjectInstanceHandle theObject,
498 throw (rti1516::ObjectInstanceNotKnown,
499 rti1516::AttributeNotRecognized,
500 rti1516::FederateInternalError);
508 throw (rti1516::InvalidLogicalTime,
509 rti1516::NoRequestToEnableTimeRegulationWasPending,
510 rti1516::FederateInternalError);
514 throw (rti1516::InvalidLogicalTime,
515 rti1516::NoRequestToEnableTimeConstrainedWasPending,
516 rti1516::FederateInternalError);
520 throw (rti1516::InvalidLogicalTime,
521 rti1516::JoinedFederateIsNotInTimeAdvancingState,
522 rti1516::FederateInternalError);
526 throw (rti1516::FederateInternalError);
531 virtual std::auto_ptr<rti1516::LogicalTime> copyTime(
532 rti1516::LogicalTime const& timeValue);
537 DtFedAmbMsgQueue myFedAmbQueue;
538 bool myQueueCallback;
539 const MAKRti::DtString myName;