9 #ifndef DtFedAmbCallbackQueue1516_h
10 #define DtFedAmbCallbackQueue1516_h
17 #include <RTI/Typedefs.h>
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;
60 virtual
bool isEmpty();
68 throw (rti1516::FederateInternalError);
71 rti1516::SynchronizationFailureReason reason)
72 throw (rti1516::FederateInternalError);
76 rti1516::VariableLengthData const & theUserSuppliedTag)
77 throw (rti1516::FederateInternalError);
81 throw (rti1516::FederateInternalError);
85 throw (rti1516::UnableToPerformSave,
86 rti1516::FederateInternalError);
89 rti1516::LogicalTime const & theTime)
90 throw (rti1516::UnableToPerformSave,
91 rti1516::InvalidLogicalTime,
92 rti1516::FederateInternalError);
96 throw (rti1516::FederateInternalError);
99 throw (rti1516::FederateInternalError);
102 virtual
void federationSaveStatusResponse(
103 rti1516::FederateHandleSaveStatusPairVector const & theFederateStatusVector)
104 throw (rti1516::FederateInternalError);
108 throw (rti1516::FederateInternalError);
111 throw (rti1516::FederateInternalError);
115 throw (rti1516::FederateInternalError);
120 throw (rti1516::SpecifiedSaveLabelDoesNotExist,
121 rti1516::CouldNotInitiateRestore,
122 rti1516::FederateInternalError);
126 throw (rti1516::FederateInternalError);
129 throw (rti1516::FederateInternalError);
132 virtual
void federationRestoreStatusResponse(
133 rti1516::FederateHandleRestoreStatusPairVector const & theFederateStatusVector)
134 throw (rti1516::FederateInternalError);
142 throw (rti1516::ObjectClassNotPublished,
143 rti1516::FederateInternalError);
147 throw (rti1516::ObjectClassNotPublished,
148 rti1516::FederateInternalError);
152 throw (rti1516::InteractionClassNotPublished,
153 rti1516::FederateInternalError);
157 throw (rti1516::InteractionClassNotPublished,
158 rti1516::FederateInternalError);
165 virtual
void objectInstanceNameReservationSucceeded(std::wstring const &
166 theObjectInstanceName)
167 throw (rti1516::UnknownName,
168 rti1516::FederateInternalError);
170 virtual
void objectInstanceNameReservationFailed(std::wstring const &
171 theObjectInstanceName)
172 throw (rti1516::UnknownName,
173 rti1516::FederateInternalError);
178 std::wstring const & theObjectInstanceName)
179 throw (rti1516::CouldNotDiscover,
180 rti1516::ObjectClassNotKnown,
181 rti1516::FederateInternalError);
185 (rti1516::ObjectInstanceHandle theObject,
186 rti1516::AttributeHandleValueMap const & theAttributeValues,
187 rti1516::VariableLengthData const & theUserSuppliedTag,
189 rti1516::TransportationType theType)
190 throw (rti1516::ObjectInstanceNotKnown,
191 rti1516::AttributeNotRecognized,
192 rti1516::AttributeNotSubscribed,
193 rti1516::FederateInternalError);
196 (rti1516::ObjectInstanceHandle theObject,
197 rti1516::AttributeHandleValueMap const & theAttributeValues,
198 rti1516::VariableLengthData const & theUserSuppliedTag,
200 rti1516::TransportationType theType,
201 rti1516::RegionHandleSet const & theSentRegionHandleSet)
202 throw (rti1516::ObjectInstanceNotKnown,
203 rti1516::AttributeNotRecognized,
204 rti1516::AttributeNotSubscribed,
205 rti1516::FederateInternalError);
208 (rti1516::ObjectInstanceHandle theObject,
209 rti1516::AttributeHandleValueMap const & theAttributeValues,
210 rti1516::VariableLengthData const & theUserSuppliedTag,
212 rti1516::TransportationType theType,
213 rti1516::LogicalTime const & theTime,
215 throw (rti1516::ObjectInstanceNotKnown,
216 rti1516::AttributeNotRecognized,
217 rti1516::AttributeNotSubscribed,
218 rti1516::FederateInternalError);
221 (rti1516::ObjectInstanceHandle theObject,
222 rti1516::AttributeHandleValueMap const & theAttributeValues,
223 rti1516::VariableLengthData const & theUserSuppliedTag,
225 rti1516::TransportationType theType,
226 rti1516::LogicalTime const & theTime,
228 rti1516::RegionHandleSet const & theSentRegionHandleSet)
229 throw (rti1516::ObjectInstanceNotKnown,
230 rti1516::AttributeNotRecognized,
231 rti1516::AttributeNotSubscribed,
232 rti1516::FederateInternalError);
235 (rti1516::ObjectInstanceHandle theObject,
236 rti1516::AttributeHandleValueMap const & theAttributeValues,
237 rti1516::VariableLengthData const & theUserSuppliedTag,
239 rti1516::TransportationType theType,
240 rti1516::LogicalTime const & theTime,
242 rti1516::MessageRetractionHandle theHandle)
243 throw (rti1516::ObjectInstanceNotKnown,
244 rti1516::AttributeNotRecognized,
245 rti1516::AttributeNotSubscribed,
246 rti1516::InvalidLogicalTime,
247 rti1516::FederateInternalError);
250 (rti1516::ObjectInstanceHandle theObject,
251 rti1516::AttributeHandleValueMap const & theAttributeValues,
252 rti1516::VariableLengthData const & theUserSuppliedTag,
254 rti1516::TransportationType theType,
255 rti1516::LogicalTime const & theTime,
257 rti1516::MessageRetractionHandle theHandle,
258 rti1516::RegionHandleSet const & theSentRegionHandleSet)
259 throw (rti1516::ObjectInstanceNotKnown,
260 rti1516::AttributeNotRecognized,
261 rti1516::AttributeNotSubscribed,
262 rti1516::InvalidLogicalTime,
263 rti1516::FederateInternalError);
268 rti1516::ParameterHandleValueMap const & theParameterValues,
269 rti1516::VariableLengthData const & theUserSuppliedTag,
271 rti1516::TransportationType theType)
272 throw (rti1516::InteractionClassNotRecognized,
273 rti1516::InteractionParameterNotRecognized,
274 rti1516::InteractionClassNotSubscribed,
275 rti1516::FederateInternalError);
279 rti1516::ParameterHandleValueMap const & theParameterValues,
280 rti1516::VariableLengthData const & theUserSuppliedTag,
282 rti1516::TransportationType theType,
283 rti1516::RegionHandleSet const & theSentRegionHandleSet)
284 throw (rti1516::InteractionClassNotRecognized,
285 rti1516::InteractionParameterNotRecognized,
286 rti1516::InteractionClassNotSubscribed,
287 rti1516::FederateInternalError);
291 rti1516::ParameterHandleValueMap const & theParameterValues,
292 rti1516::VariableLengthData const & theUserSuppliedTag,
294 rti1516::TransportationType theType,
295 rti1516::LogicalTime const & theTime,
297 throw (rti1516::InteractionClassNotRecognized,
298 rti1516::InteractionParameterNotRecognized,
299 rti1516::InteractionClassNotSubscribed,
300 rti1516::FederateInternalError);
304 rti1516::ParameterHandleValueMap const & theParameterValues,
305 rti1516::VariableLengthData const & theUserSuppliedTag,
307 rti1516::TransportationType theType,
308 rti1516::LogicalTime const & theTime,
310 rti1516::RegionHandleSet const & theSentRegionHandleSet)
311 throw (rti1516::InteractionClassNotRecognized,
312 rti1516::InteractionParameterNotRecognized,
313 rti1516::InteractionClassNotSubscribed,
314 rti1516::FederateInternalError);
318 rti1516::ParameterHandleValueMap const & theParameterValues,
319 rti1516::VariableLengthData const & theUserSuppliedTag,
321 rti1516::TransportationType theType,
322 rti1516::LogicalTime const & theTime,
324 rti1516::MessageRetractionHandle theHandle)
325 throw (rti1516::InteractionClassNotRecognized,
326 rti1516::InteractionParameterNotRecognized,
327 rti1516::InteractionClassNotSubscribed,
328 rti1516::InvalidLogicalTime,
329 rti1516::FederateInternalError);
333 rti1516::ParameterHandleValueMap const & theParameterValues,
334 rti1516::VariableLengthData const & theUserSuppliedTag,
336 rti1516::TransportationType theType,
337 rti1516::LogicalTime const & theTime,
339 rti1516::MessageRetractionHandle theHandle,
340 rti1516::RegionHandleSet const & theSentRegionHandleSet)
341 throw (rti1516::InteractionClassNotRecognized,
342 rti1516::InteractionParameterNotRecognized,
343 rti1516::InteractionClassNotSubscribed,
344 rti1516::InvalidLogicalTime,
345 rti1516::FederateInternalError);
349 rti1516::VariableLengthData const & theUserSuppliedTag,
351 throw (rti1516::ObjectInstanceNotKnown,
352 rti1516::FederateInternalError);
355 rti1516::VariableLengthData const & theUserSuppliedTag,
357 rti1516::LogicalTime const & theTime,
359 throw (rti1516::ObjectInstanceNotKnown,
360 rti1516::FederateInternalError);
363 rti1516::VariableLengthData const & theUserSuppliedTag,
365 rti1516::LogicalTime const & theTime,
367 rti1516::MessageRetractionHandle theHandle)
368 throw (rti1516::ObjectInstanceNotKnown,
369 rti1516::InvalidLogicalTime,
370 rti1516::FederateInternalError);
374 (rti1516::ObjectInstanceHandle theObject,
375 rti1516::AttributeHandleSet const & theAttributes)
376 throw (rti1516::ObjectInstanceNotKnown,
377 rti1516::AttributeNotRecognized,
378 rti1516::AttributeNotSubscribed,
379 rti1516::FederateInternalError);
383 (rti1516::ObjectInstanceHandle theObject,
384 rti1516::AttributeHandleSet const & theAttributes)
385 throw (rti1516::ObjectInstanceNotKnown,
386 rti1516::AttributeNotRecognized,
387 rti1516::AttributeNotSubscribed,
388 rti1516::FederateInternalError);
392 (rti1516::ObjectInstanceHandle theObject,
393 rti1516::AttributeHandleSet const & theAttributes,
394 rti1516::VariableLengthData const & theUserSuppliedTag)
395 throw (rti1516::ObjectInstanceNotKnown,
396 rti1516::AttributeNotRecognized,
397 rti1516::AttributeNotOwned,
398 rti1516::FederateInternalError);
402 (rti1516::ObjectInstanceHandle theObject,
403 rti1516::AttributeHandleSet const & theAttributes)
404 throw (rti1516::ObjectInstanceNotKnown,
405 rti1516::AttributeNotRecognized,
406 rti1516::AttributeNotOwned,
407 rti1516::FederateInternalError);
411 (rti1516::ObjectInstanceHandle theObject,
412 rti1516::AttributeHandleSet const & theAttributes)
413 throw (rti1516::ObjectInstanceNotKnown,
414 rti1516::AttributeNotRecognized,
415 rti1516::AttributeNotOwned,
416 rti1516::FederateInternalError);
424 (rti1516::ObjectInstanceHandle theObject,
425 rti1516::AttributeHandleSet const & offeredAttributes,
426 rti1516::VariableLengthData const & theUserSuppliedTag)
427 throw (rti1516::ObjectInstanceNotKnown,
428 rti1516::AttributeNotRecognized,
429 rti1516::AttributeAlreadyOwned,
430 rti1516::AttributeNotPublished,
431 rti1516::FederateInternalError);
434 virtual
void requestDivestitureConfirmation
435 (rti1516::ObjectInstanceHandle theObject,
436 rti1516::AttributeHandleSet const & releasedAttributes)
437 throw (rti1516::ObjectInstanceNotKnown,
438 rti1516::AttributeNotRecognized,
439 rti1516::AttributeNotOwned,
440 rti1516::AttributeDivestitureWasNotRequested,
441 rti1516::FederateInternalError);
445 (rti1516::ObjectInstanceHandle theObject,
446 rti1516::AttributeHandleSet const & securedAttributes,
447 rti1516::VariableLengthData const & theUserSuppliedTag)
448 throw (rti1516::ObjectInstanceNotKnown,
449 rti1516::AttributeNotRecognized,
450 rti1516::AttributeAcquisitionWasNotRequested,
451 rti1516::AttributeAlreadyOwned,
452 rti1516::AttributeNotPublished,
453 rti1516::FederateInternalError);
457 (rti1516::ObjectInstanceHandle theObject,
458 rti1516::AttributeHandleSet const & theAttributes)
459 throw (rti1516::ObjectInstanceNotKnown,
460 rti1516::AttributeNotRecognized,
461 rti1516::AttributeAlreadyOwned,
462 rti1516::AttributeAcquisitionWasNotRequested,
463 rti1516::FederateInternalError);
467 (rti1516::ObjectInstanceHandle theObject,
468 rti1516::AttributeHandleSet const & candidateAttributes,
469 rti1516::VariableLengthData const & theUserSuppliedTag)
470 throw (rti1516::ObjectInstanceNotKnown,
471 rti1516::AttributeNotRecognized,
472 rti1516::AttributeNotOwned,
473 rti1516::FederateInternalError);
477 (rti1516::ObjectInstanceHandle theObject,
478 rti1516::AttributeHandleSet const & theAttributes)
479 throw (rti1516::ObjectInstanceNotKnown,
480 rti1516::AttributeNotRecognized,
481 rti1516::AttributeAlreadyOwned,
482 rti1516::AttributeAcquisitionWasNotCanceled,
483 rti1516::FederateInternalError);
489 throw (rti1516::ObjectInstanceNotKnown,
490 rti1516::AttributeNotRecognized,
491 rti1516::FederateInternalError);
495 throw (rti1516::ObjectInstanceNotKnown,
496 rti1516::AttributeNotRecognized,
497 rti1516::FederateInternalError);
499 virtual
void attributeIsOwnedByRTI(rti1516::ObjectInstanceHandle theObject,
501 throw (rti1516::ObjectInstanceNotKnown,
502 rti1516::AttributeNotRecognized,
503 rti1516::FederateInternalError);
511 throw (rti1516::InvalidLogicalTime,
512 rti1516::NoRequestToEnableTimeRegulationWasPending,
513 rti1516::FederateInternalError);
517 throw (rti1516::InvalidLogicalTime,
518 rti1516::NoRequestToEnableTimeConstrainedWasPending,
519 rti1516::FederateInternalError);
523 throw (rti1516::InvalidLogicalTime,
524 rti1516::JoinedFederateIsNotInTimeAdvancingState,
525 rti1516::FederateInternalError);
529 throw (rti1516::FederateInternalError);
534 virtual std::auto_ptr<rti1516::LogicalTime> copyTime(rti1516::LogicalTime const& timeValue);
542 DtFedAmbMsgQueue myFedAmbQueue;
543 bool myQueueCallback;
544 const MAKRti::DtString myName;