23 typedef DtMomObserver* (*DtMomObserverCreator)(DtMomMgr* momMgrPtr);
25 class DtMomObserver :
public DtRtiAmbassadorObserver
30 static DtMomObserver* create(DtMomMgr* momMgrPtr);
31 static void setCreator(DtMomObserverCreator functionPtr);
35 DtMomObserver(DtMomMgr* momMgrPtr);
38 virtual ~DtMomObserver();
41 DtMomObserver(
const DtMomObserver& orig );
44 DtMomObserver& operator=(
const DtMomObserver& orig );
51 virtual unsigned long objectRegisterCount()
const;
55 virtual unsigned long objectDeleteCount()
const;
60 const char* executionName,
62 RTI::Exception* except = 0 );
65 const char* executionName,
66 RTI::Exception* except = 0 );
70 const char* executionName,
71 RTI::FederateAmbassador* federateAmbassadorReference,
73 RTI::Exception* except = 0 );
77 RTI::Exception* except = 0 );
82 RTI::Exception* except = 0 );
87 const RTI::FederateHandleSet& syncSet,
88 RTI::Exception* except = 0 );
92 RTI::Exception* except = 0 );
96 const RTI::FedTime& theTime,
97 RTI::Exception* except = 0 );
101 RTI::Exception* except = 0 );
104 RTI::Exception* except = 0 );
107 RTI::Exception* except = 0 );
110 RTI::Exception* except = 0 );
114 RTI::Exception* except = 0 );
117 RTI::Exception* except = 0 );
120 RTI::Exception* except = 0 );
128 const RTI::AttributeHandleSet& attributeList,
129 RTI::Exception* except = 0 );
133 RTI::Exception* except = 0 );
137 RTI::Exception* except = 0 );
141 RTI::Exception* except = 0 );
145 const RTI::AttributeHandleSet& attributeList,
147 RTI::Exception* except = 0 );
151 RTI::Exception* except = 0 );
156 RTI::Exception* except = 0 );
160 RTI::Exception* except = 0 );
167 const char* theObject,
169 RTI::Exception* except = 0 );
174 RTI::Exception* except = 0 );
178 const RTI::AttributeHandleValuePairSet& theAttributes,
179 const RTI::FedTime& theTime,
182 RTI::Exception* except = 0 );
186 const RTI::AttributeHandleValuePairSet& theAttributes,
188 RTI::Exception* except = 0 );
192 const RTI::ParameterHandleValuePairSet& theParameters,
193 const RTI::FedTime& theTime,
196 RTI::Exception* except = 0 );
200 const RTI::ParameterHandleValuePairSet& theParameters,
202 RTI::Exception* except = 0 );
206 const RTI::FedTime& theTime,
209 RTI::Exception* except = 0 );
214 RTI::Exception* except = 0 );
218 RTI::Exception* except = 0 );
222 const RTI::AttributeHandleSet& theAttributes,
224 RTI::Exception* except = 0 );
229 RTI::Exception* except = 0 );
233 const RTI::AttributeHandleSet& theAttributes,
234 RTI::Exception* except = 0 );
238 const RTI::AttributeHandleSet& theAttributes,
239 RTI::Exception* except = 0 );
246 const RTI::AttributeHandleSet& theAttributes,
247 RTI::Exception* except = 0 );
251 const RTI::AttributeHandleSet& theAttributes,
253 RTI::Exception* except = 0 );
257 const RTI::AttributeHandleSet& desiredAttributes,
259 RTI::Exception* except = 0 );
263 const RTI::AttributeHandleSet& desiredAttributes,
264 RTI::Exception* except = 0 );
268 const RTI::AttributeHandleSet& theAttributes,
269 RTI::AttributeHandleSet* set,
270 RTI::Exception* except = 0 );
274 const RTI::AttributeHandleSet& theAttributes,
275 RTI::Exception* except = 0 );
279 const RTI::AttributeHandleSet& theAttributes,
280 RTI::Exception* except = 0 );
285 RTI::Exception* except = 0 );
291 RTI::Exception* except = 0 );
297 const RTI::FedTime& theFederateTime,
298 const RTI::FedTime& theLookahead,
299 RTI::Exception* except = 0 );
302 RTI::Exception* except = 0 );
305 RTI::Exception* except = 0 );
308 RTI::Exception* except = 0 );
311 const RTI::FedTime& theTime,
312 RTI::Exception* except = 0 );
315 const RTI::FedTime& theTime,
316 RTI::Exception* except = 0 );
319 const RTI::FedTime& theTime,
320 RTI::Exception* except = 0 );
323 const RTI::FedTime& theTime,
324 RTI::Exception* except = 0 );
327 const RTI::FedTime& theTime,
328 RTI::Exception* except = 0 );
331 RTI::Exception* except = 0 );
334 RTI::Exception* except = 0 );
337 RTI::FedTime& theTime,
338 RTI::Exception* except = 0 );
341 RTI::FedTime& theTime,
342 RTI::Exception* except = 0 );
345 RTI::FedTime& theTime,
346 RTI::Exception* except = 0 );
349 const RTI::FedTime& theLookahead,
350 RTI::Exception* except = 0 );
353 RTI::FedTime& theTime,
354 RTI::Exception* except = 0 );
358 RTI::Exception* except = 0 );
362 const RTI::AttributeHandleSet& theAttributes,
364 RTI::Exception* except = 0 );
369 RTI::Exception* except = 0 );
378 RTI::Exception* except = 0 );
381 RTI::Region& theRegion,
382 RTI::Exception* except = 0 );
385 RTI::Region* theRegion,
386 RTI::Exception* except = 0 );
390 const char* theObject,
392 RTI::Region* theRegions[],
395 RTI::Exception* except = 0 );
400 RTI::Region* theRegions[],
403 RTI::Exception* except = 0 );
406 RTI::Region& theRegion,
408 const RTI::AttributeHandleSet& theAttributes,
409 RTI::Exception* except = 0 );
412 RTI::Region& theRegion,
414 RTI::Exception* except = 0 );
418 RTI::Region& theRegion,
419 const RTI::AttributeHandleSet& attributeList,
421 RTI::Exception* except = 0 );
425 RTI::Region& theRegion,
426 RTI::Exception* except = 0 );
430 RTI::Region& theRegion,
432 RTI::Exception* except = 0 );
436 RTI::Region& theRegion,
437 RTI::Exception* except = 0 );
441 const RTI::ParameterHandleValuePairSet& theParameters,
442 const RTI::FedTime& theTime,
444 const RTI::Region& theRegion,
446 RTI::Exception* except = 0 );
450 const RTI::ParameterHandleValuePairSet& theParameters,
452 const RTI::Region& theRegion,
453 RTI::Exception* except = 0 );
457 const RTI::AttributeHandleSet& theAttributes,
458 const RTI::Region& theRegion,
459 RTI::Exception* except = 0 );
467 RTI::Exception* except = 0 );
472 RTI::Exception* except = 0 );
478 RTI::Exception* except = 0 );
484 RTI::Exception* except = 0 );
489 RTI::Exception* except = 0 );
494 RTI::Exception* except = 0 );
500 RTI::Exception* except = 0 );
506 RTI::Exception* except = 0 );
511 RTI::Exception* except = 0 );
515 char* objectInstanceName,
516 RTI::Exception* except = 0 );
521 RTI::Exception* except = 0 );
526 RTI::Exception* except = 0 );
532 RTI::Exception* except = 0 );
538 RTI::Exception* except = 0 );
544 RTI::Exception* except = 0 );
549 RTI::Exception* except = 0 );
554 RTI::Exception* except = 0 );
559 RTI::Exception* except = 0 );
563 char* transportationName,
564 RTI::Exception* except = 0 );
569 RTI::Exception* except = 0 );
574 RTI::Exception* except = 0 );
577 RTI::Exception* except = 0 );
580 RTI::Exception* except = 0 );
583 RTI::Exception* except = 0 );
586 RTI::Exception* except = 0 );
589 RTI::Exception* except = 0 );
592 RTI::Exception* except = 0 );
595 RTI::Exception* except = 0 );
598 RTI::Exception* except = 0 );
602 RTI::Exception* except = 0 );
608 RTI::Exception* except = 0 );
613 RTI::Exception* except = 0 );
618 RTI::Exception* except = 0 );
623 virtual void observe(
const MAKRti::DtString& functionName,
624 RTI::Exception* except = 0,
625 const DtMomArgument& argument1 = theDfltMomArgument,
626 const DtMomArgument& argument2 = theDfltMomArgument,
627 const DtMomArgument& argument3 = theDfltMomArgument,
628 const DtMomArgument& argument4 = theDfltMomArgument,
629 const DtMomArgument& argument5 = theDfltMomArgument,
630 const DtMomArgument& returnArg = theDfltRetVal );
635 unsigned long myRegisterCount;
636 unsigned long myDeleteCount;
637 bool myAllowEvokeCallbackToBeObserved;
641 static const DtMomArgument theDfltMomArgument;
642 static const DtMomArgument theDfltRetVal;
643 static DtMomObserverCreator theCreator;
virtual void nextEventRequestAvailable(const FedTime &theTime)
virtual void deleteRegion(Region *theRegion)
virtual void enableInteractionRelevanceAdvisorySwitch()
virtual char * getAttributeName(AttributeHandle theHandle, ObjectClassHandle whichClass)
virtual Boolean tick(TickTime minimum, TickTime maximum)
virtual SpaceHandle getInteractionRoutingSpaceHandle(InteractionClassHandle theHandle)
Handle ObjectHandle
Definition: RTItypes13.h:116
virtual void federateSaveNotComplete()
virtual void unassociateRegionForUpdates(Region &theRegion, ObjectHandle theObject)
ULong RegionToken
Definition: RTItypes13.h:136
virtual ParameterHandle getParameterHandle(const char *theName, InteractionClassHandle whichClass)
virtual void unconditionalAttributeOwnershipDivestiture(ObjectHandle theObject, const AttributeHandleSet &theAttributes)
virtual void attributeOwnershipAcquisition(ObjectHandle theObject, const AttributeHandleSet &desiredAttributes, const char *theTag)
virtual void queryLBTS(FedTime &theTime)
virtual EventRetractionHandle sendInteraction(InteractionClassHandle theInteraction, const ParameterHandleValuePairSet &theParameters, const FedTime &theTime, const char *theTag)
virtual ObjectHandle registerObjectInstance(ObjectClassHandle theClass, const char *theObject)
virtual void unsubscribeInteractionClassWithRegion(InteractionClassHandle theClass, Region &theRegion)
virtual void requestFederationRestore(const char *label)
virtual ObjectClassHandle getObjectClass(ObjectHandle theObject)
virtual char * getObjectClassName(ObjectClassHandle theHandle)
virtual void disableTimeConstrained()
virtual void changeInteractionTransportationType(InteractionClassHandle theClass, TransportationHandle theType)
virtual SpaceHandle getRoutingSpaceHandle(const char *theName)
virtual void cancelAttributeOwnershipAcquisition(ObjectHandle theObject, const AttributeHandleSet &theAttributes)
virtual void retract(EventRetractionHandle theHandle)
virtual void flushQueueRequest(const FedTime &theTime)
virtual void disableTimeRegulation()
virtual EventRetractionHandle updateAttributeValues(ObjectHandle theObject, const AttributeHandleValuePairSet &theAttributes, const FedTime &theTime, const char *theTag)
virtual char * getRoutingSpaceName(SpaceHandle theHandle)
virtual void notifyAboutRegionModification(Region &theRegion)
virtual Region * createRegion(SpaceHandle theSpace, ULong numberOfExtents)
virtual char * getParameterName(ParameterHandle theHandle, InteractionClassHandle whichClass)
virtual void queryAttributeOwnership(ObjectHandle theObject, AttributeHandle theAttribute)
virtual void publishInteractionClass(InteractionClassHandle theInteraction)
virtual void localDeleteObjectInstance(ObjectHandle theObject)
ULong InteractionClassHandle
Definition: RTItypes13.h:106
Handle ParameterHandle
Definition: RTItypes13.h:114
Definition: baseTypes13.h:28
Double TickTime
Definition: RTItypes13.h:134
virtual DimensionHandle getDimensionHandle(const char *theName, SpaceHandle whichSpace)
virtual void disableAttributeRelevanceAdvisorySwitch()
virtual void attributeOwnershipAcquisitionIfAvailable(ObjectHandle theObject, const AttributeHandleSet &desiredAttributes)
virtual void timeAdvanceRequestAvailable(const FedTime &theTime)
virtual void requestFederationSave(const char *label, const FedTime &theTime)
virtual void modifyLookahead(const FedTime &theLookahead)
virtual Region * getRegion(RegionToken)
virtual void enableAttributeScopeAdvisorySwitch()
virtual FederateHandle joinFederationExecution(const char *yourName, const char *executionName, FederateAmbassadorPtr federateAmbassadorReference)
virtual char * getInteractionClassName(InteractionClassHandle theHandle)
virtual void requestClassAttributeValueUpdateWithRegion(ObjectClassHandle theClass, const AttributeHandleSet &theAttributes, const Region &theRegion)
virtual void negotiatedAttributeOwnershipDivestiture(ObjectHandle theObject, const AttributeHandleSet &theAttributes, const char *theTag)
Handle OrderingHandle
Definition: RTItypes13.h:126
virtual ObjectHandle getObjectInstanceHandle(const char *theName)
virtual EventRetractionHandle deleteObjectInstance(ObjectHandle theObject, const FedTime &theTime, const char *theTag)
virtual void changeAttributeTransportationType(ObjectHandle theObject, const AttributeHandleSet &theAttributes, TransportationHandle theType)
virtual void timeAdvanceRequest(const FedTime &theTime)
virtual void resignFederationExecution(ResignAction theAction)
virtual void queryFederateTime(FedTime &theTime)
virtual void enableTimeRegulation(const FedTime &theFederateTime, const FedTime &theLookahead)
virtual InteractionClassHandle getInteractionClassHandle(const char *theName)
struct EventRetractionHandle_s EventRetractionHandle
Definition: RTItypes13.h:525
virtual void changeInteractionOrderType(InteractionClassHandle theClass, OrderingHandle theType)
virtual void federateRestoreComplete()
Handle DimensionHandle
Definition: RTItypes13.h:118
virtual void unsubscribeObjectClassWithRegion(ObjectClassHandle theClass, Region &theRegion)
virtual void destroyFederationExecution(const char *executionName)
virtual SpaceHandle getAttributeRoutingSpaceHandle(AttributeHandle theHandle, ObjectClassHandle whichClass)
unsigned long ULong
Definition: baseTypes13.h:20
virtual void registerFederationSynchronizationPoint(const char *label, const char *theTag)
virtual void disableAsynchronousDelivery()
virtual void enableClassRelevanceAdvisorySwitch()
virtual void requestClassAttributeValueUpdate(ObjectClassHandle theClass, const AttributeHandleSet &theAttributes)
virtual char * getOrderingName(OrderingHandle theHandle)
virtual void unpublishObjectClass(ObjectClassHandle theClass)
virtual void unsubscribeInteractionClass(InteractionClassHandle theClass)
virtual void unsubscribeObjectClass(ObjectClassHandle theClass)
virtual OrderingHandle getOrderingHandle(const char *theName)
virtual RegionToken getRegionToken(Region *)
virtual void unpublishInteractionClass(InteractionClassHandle theInteraction)
virtual void subscribeInteractionClassWithRegion(InteractionClassHandle theClass, Region &theRegion, Boolean active=RTI_TRUE)
virtual void associateRegionForUpdates(Region &theRegion, ObjectHandle theObject, const AttributeHandleSet &theAttributes)
virtual EventRetractionHandle sendInteractionWithRegion(InteractionClassHandle theInteraction, const ParameterHandleValuePairSet &theParameters, const FedTime &theTime, const char *theTag, const Region &theRegion)
virtual void queryLookahead(FedTime &theTime)
virtual void disableInteractionRelevanceAdvisorySwitch()
virtual void federateRestoreNotComplete()
virtual void createFederationExecution(const char *executionName, const char *FED)
Boolean
Definition: baseTypes13.h:26
ResignAction
Definition: datatypes.pb.h:305
virtual void cancelNegotiatedAttributeOwnershipDivestiture(ObjectHandle theObject, const AttributeHandleSet &theAttributes)
virtual void federateSaveBegun()
ULong FederateHandle
Definition: RTItypes13.h:120
virtual char * getDimensionName(DimensionHandle theHandle, SpaceHandle whichSpace)
Handle TransportationHandle
Definition: RTItypes13.h:122
virtual char * getObjectInstanceName(ObjectHandle theHandle)
virtual ObjectHandle registerObjectInstanceWithRegion(ObjectClassHandle theClass, const char *theObject, AttributeHandle theAttributes[], Region *theRegions[], ULong theNumberOfHandles)
virtual void synchronizationPointAchieved(const char *label)
virtual AttributeHandleSet * attributeOwnershipReleaseResponse(ObjectHandle theObject, const AttributeHandleSet &theAttributes)
Long SpaceHandle
Definition: RTItypes13.h:102
virtual Boolean isAttributeOwnedByFederate(ObjectHandle theObject, AttributeHandle theAttribute)
virtual void subscribeObjectClassAttributes(ObjectClassHandle theClass, const AttributeHandleSet &attributeList, Boolean active=RTI_TRUE)
virtual void queryMinNextEventTime(FedTime &theTime)
virtual TransportationHandle getTransportationHandle(const char *theName)
virtual void disableAttributeScopeAdvisorySwitch()
virtual void subscribeInteractionClass(InteractionClassHandle theClass, Boolean active=RTI_TRUE)
virtual void changeAttributeOrderType(ObjectHandle theObject, const AttributeHandleSet &theAttributes, OrderingHandle theType)
ULong ObjectClassHandle
Definition: RTItypes13.h:104
virtual void enableTimeConstrained()
virtual void federateSaveComplete()
virtual void disableClassRelevanceAdvisorySwitch()
virtual void enableAsynchronousDelivery()
virtual AttributeHandle getAttributeHandle(const char *theName, ObjectClassHandle whichClass)
virtual char * getTransportationName(TransportationHandle theHandle)
virtual void requestObjectAttributeValueUpdate(ObjectHandle theObject, const AttributeHandleSet &theAttributes)
virtual void enableAttributeRelevanceAdvisorySwitch()
Handle AttributeHandle
Definition: RTItypes13.h:112
virtual void publishObjectClass(ObjectClassHandle theClass, const AttributeHandleSet &attributeList)
virtual void nextEventRequest(const FedTime &theTime)
virtual ObjectClassHandle getObjectClassHandle(const char *theName)
virtual void subscribeObjectClassAttributesWithRegion(ObjectClassHandle theClass, Region &theRegion, const AttributeHandleSet &attributeList, Boolean active=RTI_TRUE)