12 #ifndef DtMomObserver_H_
13 #define DtMomObserver_H_
23 class DtMomObserver :
public DtRtiAmbassadorObserver
28 DtMomObserver( DtMomMgr* momMgrPtr );
31 virtual ~DtMomObserver();
34 DtMomObserver(
const DtMomObserver& orig );
37 DtMomObserver& operator=(
const DtMomObserver& orig );
44 virtual unsigned long objectRegisterCount()
const;
48 virtual unsigned long objectDeleteCount()
const;
53 const char* executionName,
55 RTI::Exception* except = 0 );
58 const char* executionName,
59 RTI::Exception* except = 0 );
63 const char* executionName,
64 RTI::FederateAmbassador* federateAmbassadorReference,
66 RTI::Exception* except = 0 );
70 RTI::Exception* except = 0 );
75 RTI::Exception* except = 0 );
80 const RTI::FederateHandleSet& syncSet,
81 RTI::Exception* except = 0 );
85 RTI::Exception* except = 0 );
89 const RTI::FedTime& theTime,
90 RTI::Exception* except = 0 );
94 RTI::Exception* except = 0 );
97 RTI::Exception* except = 0 );
100 RTI::Exception* except = 0 );
103 RTI::Exception* except = 0 );
107 RTI::Exception* except = 0 );
110 RTI::Exception* except = 0 );
113 RTI::Exception* except = 0 );
121 const RTI::AttributeHandleSet& attributeList,
122 RTI::Exception* except = 0 );
126 RTI::Exception* except = 0 );
130 RTI::Exception* except = 0 );
134 RTI::Exception* except = 0 );
138 const RTI::AttributeHandleSet& attributeList,
140 RTI::Exception* except = 0 );
144 RTI::Exception* except = 0 );
149 RTI::Exception* except = 0 );
153 RTI::Exception* except = 0 );
160 const char* theObject,
162 RTI::Exception* except = 0 );
167 RTI::Exception* except = 0 );
171 const RTI::AttributeHandleValuePairSet& theAttributes,
172 const RTI::FedTime& theTime,
175 RTI::Exception* except = 0 );
179 const RTI::AttributeHandleValuePairSet& theAttributes,
181 RTI::Exception* except = 0 );
185 const RTI::ParameterHandleValuePairSet& theParameters,
186 const RTI::FedTime& theTime,
189 RTI::Exception* except = 0 );
193 const RTI::ParameterHandleValuePairSet& theParameters,
195 RTI::Exception* except = 0 );
199 const RTI::FedTime& theTime,
202 RTI::Exception* except = 0 );
207 RTI::Exception* except = 0 );
211 RTI::Exception* except = 0 );
215 const RTI::AttributeHandleSet& theAttributes,
217 RTI::Exception* except = 0 );
222 RTI::Exception* except = 0 );
226 const RTI::AttributeHandleSet& theAttributes,
227 RTI::Exception* except = 0 );
231 const RTI::AttributeHandleSet& theAttributes,
232 RTI::Exception* except = 0 );
239 const RTI::AttributeHandleSet& theAttributes,
240 RTI::Exception* except = 0 );
244 const RTI::AttributeHandleSet& theAttributes,
246 RTI::Exception* except = 0 );
250 const RTI::AttributeHandleSet& desiredAttributes,
252 RTI::Exception* except = 0 );
256 const RTI::AttributeHandleSet& desiredAttributes,
257 RTI::Exception* except = 0 );
261 const RTI::AttributeHandleSet& theAttributes,
262 RTI::AttributeHandleSet* set,
263 RTI::Exception* except = 0 );
267 const RTI::AttributeHandleSet& theAttributes,
268 RTI::Exception* except = 0 );
272 const RTI::AttributeHandleSet& theAttributes,
273 RTI::Exception* except = 0 );
278 RTI::Exception* except = 0 );
284 RTI::Exception* except = 0 );
290 const RTI::FedTime& theFederateTime,
291 const RTI::FedTime& theLookahead,
292 RTI::Exception* except = 0 );
295 RTI::Exception* except = 0 );
298 RTI::Exception* except = 0 );
301 RTI::Exception* except = 0 );
304 const RTI::FedTime& theTime,
305 RTI::Exception* except = 0 );
308 const RTI::FedTime& theTime,
309 RTI::Exception* except = 0 );
312 const RTI::FedTime& theTime,
313 RTI::Exception* except = 0 );
316 const RTI::FedTime& theTime,
317 RTI::Exception* except = 0 );
320 const RTI::FedTime& theTime,
321 RTI::Exception* except = 0 );
324 RTI::Exception* except = 0 );
327 RTI::Exception* except = 0 );
330 RTI::FedTime& theTime,
331 RTI::Exception* except = 0 );
334 RTI::FedTime& theTime,
335 RTI::Exception* except = 0 );
338 RTI::FedTime& theTime,
339 RTI::Exception* except = 0 );
342 const RTI::FedTime& theLookahead,
343 RTI::Exception* except = 0 );
346 RTI::FedTime& theTime,
347 RTI::Exception* except = 0 );
351 RTI::Exception* except = 0 );
355 const RTI::AttributeHandleSet& theAttributes,
357 RTI::Exception* except = 0 );
362 RTI::Exception* except = 0 );
371 RTI::Exception* except = 0 );
374 RTI::Region& theRegion,
375 RTI::Exception* except = 0 );
378 RTI::Region* theRegion,
379 RTI::Exception* except = 0 );
383 const char* theObject,
385 RTI::Region* theRegions[],
388 RTI::Exception* except = 0 );
393 RTI::Region* theRegions[],
396 RTI::Exception* except = 0 );
399 RTI::Region& theRegion,
401 const RTI::AttributeHandleSet& theAttributes,
402 RTI::Exception* except = 0 );
405 RTI::Region& theRegion,
407 RTI::Exception* except = 0 );
411 RTI::Region& theRegion,
412 const RTI::AttributeHandleSet& attributeList,
414 RTI::Exception* except = 0 );
418 RTI::Region& theRegion,
419 RTI::Exception* except = 0 );
423 RTI::Region& theRegion,
425 RTI::Exception* except = 0 );
429 RTI::Region& theRegion,
430 RTI::Exception* except = 0 );
434 const RTI::ParameterHandleValuePairSet& theParameters,
435 const RTI::FedTime& theTime,
437 const RTI::Region& theRegion,
439 RTI::Exception* except = 0 );
443 const RTI::ParameterHandleValuePairSet& theParameters,
445 const RTI::Region& theRegion,
446 RTI::Exception* except = 0 );
450 const RTI::AttributeHandleSet& theAttributes,
451 const RTI::Region& theRegion,
452 RTI::Exception* except = 0 );
460 RTI::Exception* except = 0 );
465 RTI::Exception* except = 0 );
471 RTI::Exception* except = 0 );
477 RTI::Exception* except = 0 );
482 RTI::Exception* except = 0 );
487 RTI::Exception* except = 0 );
493 RTI::Exception* except = 0 );
499 RTI::Exception* except = 0 );
504 RTI::Exception* except = 0 );
508 char* objectInstanceName,
509 RTI::Exception* except = 0 );
514 RTI::Exception* except = 0 );
519 RTI::Exception* except = 0 );
525 RTI::Exception* except = 0 );
531 RTI::Exception* except = 0 );
537 RTI::Exception* except = 0 );
542 RTI::Exception* except = 0 );
547 RTI::Exception* except = 0 );
552 RTI::Exception* except = 0 );
556 char* transportationName,
557 RTI::Exception* except = 0 );
562 RTI::Exception* except = 0 );
567 RTI::Exception* except = 0 );
570 RTI::Exception* except = 0 );
573 RTI::Exception* except = 0 );
576 RTI::Exception* except = 0 );
579 RTI::Exception* except = 0 );
582 RTI::Exception* except = 0 );
585 RTI::Exception* except = 0 );
588 RTI::Exception* except = 0 );
591 RTI::Exception* except = 0 );
595 RTI::Exception* except = 0 );
601 RTI::Exception* except = 0 );
606 RTI::Exception* except = 0 );
611 RTI::Exception* except = 0 );
616 virtual void observe(
const MAKRti::DtString& functionName,
617 RTI::Exception* except = 0,
618 const DtMomArgument& argument1 = theDfltMomArgument,
619 const DtMomArgument& argument2 = theDfltMomArgument,
620 const DtMomArgument& argument3 = theDfltMomArgument,
621 const DtMomArgument& argument4 = theDfltMomArgument,
622 const DtMomArgument& argument5 = theDfltMomArgument,
623 const DtMomArgument& returnArg = theDfltRetVal );
628 unsigned long myRegisterCount;
629 unsigned long myDeleteCount;
630 bool myAllowEvokeCallbackToBeObserved;
634 static const DtMomArgument theDfltMomArgument;
635 static DtMomArgument theDfltRetVal;
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)
ResignAction
Definition: RTItypes13.h:89
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
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)