9 #ifndef DtFedAmbCallbackQueue1516_h
10 #define DtFedAmbCallbackQueue1516_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);
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(
104 throw (rti1516::FederateInternalError);
108 throw (rti1516::FederateInternalError);
111 throw (rti1516::FederateInternalError);
115 throw (rti1516::FederateInternalError);
119 rti1516::FederateHandle handle)
120 throw (rti1516::SpecifiedSaveLabelDoesNotExist,
121 rti1516::CouldNotInitiateRestore,
122 rti1516::FederateInternalError);
126 throw (rti1516::FederateInternalError);
129 throw (rti1516::FederateInternalError);
132 virtual
void federationRestoreStatusResponse(
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);
177 rti1516::ObjectClassHandle theObjectClass,
178 std::wstring const & theObjectInstanceName)
179 throw (rti1516::CouldNotDiscover,
180 rti1516::ObjectClassNotKnown,
181 rti1516::FederateInternalError);
185 (rti1516::ObjectInstanceHandle theObject,
187 rti1516::VariableLengthData const & theUserSuppliedTag,
190 throw (rti1516::ObjectInstanceNotKnown,
191 rti1516::AttributeNotRecognized,
192 rti1516::AttributeNotSubscribed,
193 rti1516::FederateInternalError);
196 (rti1516::ObjectInstanceHandle theObject,
198 rti1516::VariableLengthData const & theUserSuppliedTag,
202 throw (rti1516::ObjectInstanceNotKnown,
203 rti1516::AttributeNotRecognized,
204 rti1516::AttributeNotSubscribed,
205 rti1516::FederateInternalError);
208 (rti1516::ObjectInstanceHandle theObject,
210 rti1516::VariableLengthData const & theUserSuppliedTag,
213 rti1516::LogicalTime const & theTime,
215 throw (rti1516::ObjectInstanceNotKnown,
216 rti1516::AttributeNotRecognized,
217 rti1516::AttributeNotSubscribed,
218 rti1516::FederateInternalError);
221 (rti1516::ObjectInstanceHandle theObject,
223 rti1516::VariableLengthData const & theUserSuppliedTag,
226 rti1516::LogicalTime const & theTime,
229 throw (rti1516::ObjectInstanceNotKnown,
230 rti1516::AttributeNotRecognized,
231 rti1516::AttributeNotSubscribed,
232 rti1516::FederateInternalError);
235 (rti1516::ObjectInstanceHandle theObject,
237 rti1516::VariableLengthData const & theUserSuppliedTag,
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,
252 rti1516::VariableLengthData const & theUserSuppliedTag,
255 rti1516::LogicalTime const & theTime,
257 rti1516::MessageRetractionHandle theHandle,
259 throw (rti1516::ObjectInstanceNotKnown,
260 rti1516::AttributeNotRecognized,
261 rti1516::AttributeNotSubscribed,
262 rti1516::InvalidLogicalTime,
263 rti1516::FederateInternalError);
267 (rti1516::InteractionClassHandle theInteraction,
269 rti1516::VariableLengthData const & theUserSuppliedTag,
272 throw (rti1516::InteractionClassNotRecognized,
273 rti1516::InteractionParameterNotRecognized,
274 rti1516::InteractionClassNotSubscribed,
275 rti1516::FederateInternalError);
278 (rti1516::InteractionClassHandle theInteraction,
280 rti1516::VariableLengthData const & theUserSuppliedTag,
284 throw (rti1516::InteractionClassNotRecognized,
285 rti1516::InteractionParameterNotRecognized,
286 rti1516::InteractionClassNotSubscribed,
287 rti1516::FederateInternalError);
290 (rti1516::InteractionClassHandle theInteraction,
292 rti1516::VariableLengthData const & theUserSuppliedTag,
295 rti1516::LogicalTime const & theTime,
297 throw (rti1516::InteractionClassNotRecognized,
298 rti1516::InteractionParameterNotRecognized,
299 rti1516::InteractionClassNotSubscribed,
300 rti1516::FederateInternalError);
303 (rti1516::InteractionClassHandle theInteraction,
305 rti1516::VariableLengthData const & theUserSuppliedTag,
308 rti1516::LogicalTime const & theTime,
311 throw (rti1516::InteractionClassNotRecognized,
312 rti1516::InteractionParameterNotRecognized,
313 rti1516::InteractionClassNotSubscribed,
314 rti1516::FederateInternalError);
317 (rti1516::InteractionClassHandle theInteraction,
319 rti1516::VariableLengthData const & theUserSuppliedTag,
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);
332 (rti1516::InteractionClassHandle theInteraction,
334 rti1516::VariableLengthData const & theUserSuppliedTag,
337 rti1516::LogicalTime const & theTime,
339 rti1516::MessageRetractionHandle theHandle,
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,
376 throw (rti1516::ObjectInstanceNotKnown,
377 rti1516::AttributeNotRecognized,
378 rti1516::AttributeNotSubscribed,
379 rti1516::FederateInternalError);
383 (rti1516::ObjectInstanceHandle theObject,
385 throw (rti1516::ObjectInstanceNotKnown,
386 rti1516::AttributeNotRecognized,
387 rti1516::AttributeNotSubscribed,
388 rti1516::FederateInternalError);
392 (rti1516::ObjectInstanceHandle theObject,
394 rti1516::VariableLengthData const & theUserSuppliedTag)
395 throw (rti1516::ObjectInstanceNotKnown,
396 rti1516::AttributeNotRecognized,
397 rti1516::AttributeNotOwned,
398 rti1516::FederateInternalError);
402 (rti1516::ObjectInstanceHandle theObject,
404 throw (rti1516::ObjectInstanceNotKnown,
405 rti1516::AttributeNotRecognized,
406 rti1516::AttributeNotOwned,
407 rti1516::FederateInternalError);
411 (rti1516::ObjectInstanceHandle theObject,
413 throw (rti1516::ObjectInstanceNotKnown,
414 rti1516::AttributeNotRecognized,
415 rti1516::AttributeNotOwned,
416 rti1516::FederateInternalError);
424 (rti1516::ObjectInstanceHandle theObject,
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,
437 throw (rti1516::ObjectInstanceNotKnown,
438 rti1516::AttributeNotRecognized,
439 rti1516::AttributeNotOwned,
440 rti1516::AttributeDivestitureWasNotRequested,
441 rti1516::FederateInternalError);
445 (rti1516::ObjectInstanceHandle theObject,
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,
459 throw (rti1516::ObjectInstanceNotKnown,
460 rti1516::AttributeNotRecognized,
461 rti1516::AttributeAlreadyOwned,
462 rti1516::AttributeAcquisitionWasNotRequested,
463 rti1516::FederateInternalError);
467 (rti1516::ObjectInstanceHandle theObject,
469 rti1516::VariableLengthData const & theUserSuppliedTag)
470 throw (rti1516::ObjectInstanceNotKnown,
471 rti1516::AttributeNotRecognized,
472 rti1516::AttributeNotOwned,
473 rti1516::FederateInternalError);
477 (rti1516::ObjectInstanceHandle theObject,
479 throw (rti1516::ObjectInstanceNotKnown,
480 rti1516::AttributeNotRecognized,
481 rti1516::AttributeAlreadyOwned,
482 rti1516::AttributeAcquisitionWasNotCanceled,
483 rti1516::FederateInternalError);
487 rti1516::AttributeHandle theAttribute,
488 rti1516::FederateHandle theOwner)
489 throw (rti1516::ObjectInstanceNotKnown,
490 rti1516::AttributeNotRecognized,
491 rti1516::FederateInternalError);
494 rti1516::AttributeHandle theAttribute)
495 throw (rti1516::ObjectInstanceNotKnown,
496 rti1516::AttributeNotRecognized,
497 rti1516::FederateInternalError);
499 virtual
void attributeIsOwnedByRTI(rti1516::ObjectInstanceHandle theObject,
500 rti1516::AttributeHandle theAttribute)
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;