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);
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(
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(
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,
184 rti1516::VariableLengthData const & theUserSuppliedTag,
187 throw (rti1516::ObjectInstanceNotKnown,
188 rti1516::AttributeNotRecognized,
189 rti1516::AttributeNotSubscribed,
190 rti1516::FederateInternalError);
193 (rti1516::ObjectInstanceHandle theObject,
195 rti1516::VariableLengthData const & theUserSuppliedTag,
199 throw (rti1516::ObjectInstanceNotKnown,
200 rti1516::AttributeNotRecognized,
201 rti1516::AttributeNotSubscribed,
202 rti1516::FederateInternalError);
205 (rti1516::ObjectInstanceHandle theObject,
207 rti1516::VariableLengthData const & theUserSuppliedTag,
210 rti1516::LogicalTime const & theTime,
212 throw (rti1516::ObjectInstanceNotKnown,
213 rti1516::AttributeNotRecognized,
214 rti1516::AttributeNotSubscribed,
215 rti1516::FederateInternalError);
218 (rti1516::ObjectInstanceHandle theObject,
220 rti1516::VariableLengthData const & theUserSuppliedTag,
223 rti1516::LogicalTime const & theTime,
226 throw (rti1516::ObjectInstanceNotKnown,
227 rti1516::AttributeNotRecognized,
228 rti1516::AttributeNotSubscribed,
229 rti1516::FederateInternalError);
232 (rti1516::ObjectInstanceHandle theObject,
234 rti1516::VariableLengthData const & theUserSuppliedTag,
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,
249 rti1516::VariableLengthData const & theUserSuppliedTag,
252 rti1516::LogicalTime const & theTime,
254 rti1516::MessageRetractionHandle theHandle,
256 throw (rti1516::ObjectInstanceNotKnown,
257 rti1516::AttributeNotRecognized,
258 rti1516::AttributeNotSubscribed,
259 rti1516::InvalidLogicalTime,
260 rti1516::FederateInternalError);
266 rti1516::VariableLengthData const & theUserSuppliedTag,
269 throw (rti1516::InteractionClassNotRecognized,
270 rti1516::InteractionParameterNotRecognized,
271 rti1516::InteractionClassNotSubscribed,
272 rti1516::FederateInternalError);
277 rti1516::VariableLengthData const & theUserSuppliedTag,
281 throw (rti1516::InteractionClassNotRecognized,
282 rti1516::InteractionParameterNotRecognized,
283 rti1516::InteractionClassNotSubscribed,
284 rti1516::FederateInternalError);
289 rti1516::VariableLengthData const & theUserSuppliedTag,
292 rti1516::LogicalTime const & theTime,
294 throw (rti1516::InteractionClassNotRecognized,
295 rti1516::InteractionParameterNotRecognized,
296 rti1516::InteractionClassNotSubscribed,
297 rti1516::FederateInternalError);
302 rti1516::VariableLengthData const & theUserSuppliedTag,
305 rti1516::LogicalTime const & theTime,
308 throw (rti1516::InteractionClassNotRecognized,
309 rti1516::InteractionParameterNotRecognized,
310 rti1516::InteractionClassNotSubscribed,
311 rti1516::FederateInternalError);
316 rti1516::VariableLengthData const & theUserSuppliedTag,
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);
331 rti1516::VariableLengthData const & theUserSuppliedTag,
334 rti1516::LogicalTime const & theTime,
336 rti1516::MessageRetractionHandle theHandle,
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,
373 throw (rti1516::ObjectInstanceNotKnown,
374 rti1516::AttributeNotRecognized,
375 rti1516::AttributeNotSubscribed,
376 rti1516::FederateInternalError);
380 (rti1516::ObjectInstanceHandle theObject,
382 throw (rti1516::ObjectInstanceNotKnown,
383 rti1516::AttributeNotRecognized,
384 rti1516::AttributeNotSubscribed,
385 rti1516::FederateInternalError);
389 (rti1516::ObjectInstanceHandle theObject,
391 rti1516::VariableLengthData const & theUserSuppliedTag)
392 throw (rti1516::ObjectInstanceNotKnown,
393 rti1516::AttributeNotRecognized,
394 rti1516::AttributeNotOwned,
395 rti1516::FederateInternalError);
399 (rti1516::ObjectInstanceHandle theObject,
401 throw (rti1516::ObjectInstanceNotKnown,
402 rti1516::AttributeNotRecognized,
403 rti1516::AttributeNotOwned,
404 rti1516::FederateInternalError);
408 (rti1516::ObjectInstanceHandle theObject,
410 throw (rti1516::ObjectInstanceNotKnown,
411 rti1516::AttributeNotRecognized,
412 rti1516::AttributeNotOwned,
413 rti1516::FederateInternalError);
421 (rti1516::ObjectInstanceHandle theObject,
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,
434 throw (rti1516::ObjectInstanceNotKnown,
435 rti1516::AttributeNotRecognized,
436 rti1516::AttributeNotOwned,
437 rti1516::AttributeDivestitureWasNotRequested,
438 rti1516::FederateInternalError);
442 (rti1516::ObjectInstanceHandle theObject,
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,
456 throw (rti1516::ObjectInstanceNotKnown,
457 rti1516::AttributeNotRecognized,
458 rti1516::AttributeAlreadyOwned,
459 rti1516::AttributeAcquisitionWasNotRequested,
460 rti1516::FederateInternalError);
464 (rti1516::ObjectInstanceHandle theObject,
466 rti1516::VariableLengthData const & theUserSuppliedTag)
467 throw (rti1516::ObjectInstanceNotKnown,
468 rti1516::AttributeNotRecognized,
469 rti1516::AttributeNotOwned,
470 rti1516::FederateInternalError);
474 (rti1516::ObjectInstanceHandle theObject,
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;