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;
std::vector< FederateHandleSaveStatusPair > FederateHandleSaveStatusPairVector
Definition: Typedefs.h:57
virtual void requestAttributeOwnershipRelease(ObjectHandle theObject, const AttributeHandleSet &candidateAttributes, const char *theTag)=0
7.10
virtual void attributesOutOfScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.14
virtual void informAttributeOwnership(ObjectHandle theObject, AttributeHandle theAttribute, FederateHandle theOwner)=0
7.16
virtual void initiateFederateRestore(const char *label, FederateHandle handle)=0
4.19
virtual void confirmAttributeOwnershipAcquisitionCancellation(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
7.14
virtual void startRegistrationForObjectClass(ObjectClassHandle theClass)=0
! Declaration Management Services //!
virtual void requestRetraction(EventRetractionHandle theHandle)=0
8.22
OrderType
Definition: Enums.h:13
virtual void synchronizationPointRegistrationFailed(const char *label)=0
supplied C4)
std::set< RegionHandle > RegionHandleSet
Definition: Typedefs.h:31
virtual void federationNotRestored()=0
virtual void attributesInScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.13
virtual void attributeOwnershipUnavailable(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
7.9
virtual void receiveInteraction(InteractionClassHandle theInteraction, const ParameterHandleValuePairSet &theParameters, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.7
virtual void removeObjectInstance(ObjectHandle theObject, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.9
virtual void synchronizationPointRegistrationSucceeded(const char *label)=0
RTI Parameter Passing Memory Conventions.
std::vector< FederateHandleRestoreStatusPair > FederateHandleRestoreStatusPairVector
Definition: Typedefs.h:65
Instances of DtFederateMgr process federation-level messages (such as create, destroy, join, resign, and sync points) and manages the objects responsible for handling general communication, objects, interactions, the FOM, MOM, and data distribution mmg.
Definition: fedMgr.h:88
virtual void initiateFederateSave(const char *label)=0
4.12
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:45
virtual void timeAdvanceGrant(const FedTime &theTime)=0
8.13
virtual void announceSynchronizationPoint(const char *label, const char *tag)=0
4.8
virtual void requestFederationRestoreFailed(const char *label, const char *reason)=0
supplied C4
virtual void federationNotSaved()=0
This file contains the standard RTI types that are defined in namespace rti1516.
virtual void federationSynchronized(const char *label)=0
4.10
std::map< ParameterHandle, VariableLengthData > ParameterHandleValueMap
Definition: Typedefs.h:41
SynchronizationFailureReason
Definition: Enums.h:75
virtual void discoverObjectInstance(ObjectHandle theObject, ObjectClassHandle theObjectClass, const char *theObjectName)=0
! Object Management Services //!
virtual void requestFederationRestoreSucceeded(const char *label)=0
4.17
RestoreFailureReason
Definition: Enums.h:29
virtual void attributeOwnershipAcquisitionNotification(ObjectHandle theObject, const AttributeHandleSet &securedAttributes)=0
7.6
virtual void reflectAttributeValues(ObjectHandle theObject, const AttributeHandleValuePairSet &theAttributes, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.5
std::map< AttributeHandle, VariableLengthData > AttributeHandleValueMap
Definition: Typedefs.h:36
virtual void turnInteractionsOff(InteractionClassHandle theHandle)=0
5.13
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:27
virtual void federationRestored()=0
4.21
virtual void provideAttributeValueUpdate(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.16
virtual void turnUpdatesOffForObjectInstance(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.18
virtual void requestAttributeOwnershipAssumption(ObjectHandle theObject, const AttributeHandleSet &offeredAttributes, const char *theTag)=0
! Ownership Management Services //!
virtual void turnUpdatesOnForObjectInstance(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.17
virtual void stopRegistrationForObjectClass(ObjectClassHandle theClass)=0
5.11
virtual void attributeIsNotOwned(ObjectHandle theObject, AttributeHandle theAttribute)=0
supplied C1
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
virtual void federationRestoreBegun()=0
4.18
virtual void federationSaved()=0
4.15
virtual void timeConstrainedEnabled(const FedTime &theFederateTime)=0
8.6
virtual void timeRegulationEnabled(const FedTime &theFederateTime)=0
! Time Management Services //!
A message that delivers stored callbacks generated by asynchronous thread.
Definition: fedAmbCallbackMsg.h:38
virtual void turnInteractionsOn(InteractionClassHandle theHandle)=0
5.12
TransportationType
Definition: Enums.h:84
SaveFailureReason
Definition: Enums.h:47