MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fedAmbWrap.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: fedAmbWrap.h,v $ $Revision: 1.12 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtFedAmbWrapper_H_
13 #define DtFedAmbWrapper_H_
14 
15 #ifdef DtIFSPEC13
16 
17 #include "rtiMsConfig.h"
18 
19 #ifdef DtIFSPEC13DLC
20 #include "NullFederateAmbassador13.h"
21 #define RTI rti13
22 #else
23 #include "NullFederateAmbassador.hh"
24 #endif
25 
26 class DtFedAmbWrapper;
27 
28 typedef DtFedAmbWrapper* (*DtFedAmbWrapperCreator)
29  (RTI::FederateAmbassador* fedAmb);
30 
37 
38 #ifdef DtIFSPEC13DLC
39 class DT_DLL_LRC DtFedAmbWrapper : public rti13::NullFederateAmbassador
40 #else
41 class DT_DLL_LRC DtFedAmbWrapper : public NullFederateAmbassador
42 #endif
43 {
44 public:
45  DtFedAmbWrapper(RTI::FederateAmbassador* fedAmb);
46 
47  virtual ~DtFedAmbWrapper() throw (RTI::FederateInternalError);
48 
49  virtual RTI::FederateAmbassador* fedAmb();
50  virtual void setFedAmb(RTI::FederateAmbassador* f);
51 
52 protected:
53  RTI::FederateAmbassador* myFedAmb;
54 
55 public:
56 
58 
59 
61  const char *label)
62  throw (
63  RTI::FederateInternalError);
64 
66  const char *label)
67  throw (
68  RTI::FederateInternalError);
69 
70  virtual void announceSynchronizationPoint (
71  const char *label,
72  const char *tag)
73  throw (
74  RTI::FederateInternalError);
75 
76  virtual void federationSynchronized (
77  const char *label)
78  throw (
79  RTI::FederateInternalError);
80 
81  virtual void initiateFederateSave (
82  const char *label)
83  throw (
84  RTI::UnableToPerformSave,
85  RTI::FederateInternalError);
86 
87  virtual void federationSaved ()
88  throw (
89  RTI::FederateInternalError);
90 
91  virtual void federationNotSaved ()
92  throw (
93  RTI::FederateInternalError);
94 
95  virtual void requestFederationRestoreSucceeded (
96  const char *label)
97  throw (
98  RTI::FederateInternalError);
99 
100  virtual void requestFederationRestoreFailed (
101  const char *label,
102  const char *reason)
103  throw (
104  RTI::FederateInternalError);
105 
106  virtual void federationRestoreBegun ()
107  throw (
108  RTI::FederateInternalError);
109 
110  virtual void initiateFederateRestore (
111  const char *label,
112  RTI::FederateHandle handle)
113  throw (
114  RTI::SpecifiedSaveLabelDoesNotExist,
115  RTI::CouldNotRestore,
116  RTI::FederateInternalError);
117 
118  virtual void federationRestored ()
119  throw (
120  RTI::FederateInternalError);
121 
122  virtual void federationNotRestored ()
123  throw (
124  RTI::FederateInternalError);
125 
127 
129 
130 
131  virtual void startRegistrationForObjectClass (
132  RTI::ObjectClassHandle theClass)
133  throw (
134  RTI::ObjectClassNotPublished,
135  RTI::FederateInternalError);
136 
137  virtual void stopRegistrationForObjectClass (
138  RTI::ObjectClassHandle theClass)
139  throw (
140  RTI::ObjectClassNotPublished,
141  RTI::FederateInternalError);
142 
143  virtual void turnInteractionsOn (
144  RTI::InteractionClassHandle theHandle)
145  throw (
146  RTI::InteractionClassNotPublished,
147  RTI::FederateInternalError);
148 
149  virtual void turnInteractionsOff (
150  RTI::InteractionClassHandle theHandle)
151  throw (
152  RTI::InteractionClassNotPublished,
153  RTI::FederateInternalError);
154 
156 
158 
159 
160  virtual void discoverObjectInstance (
161  RTI::ObjectHandle theObject,
162  RTI::ObjectClassHandle theObjectClass,
163  const char* theObjectName)
164  throw (
165  RTI::CouldNotDiscover,
166  RTI::ObjectClassNotKnown,
167  RTI::FederateInternalError);
168 
169  virtual void reflectAttributeValues (
170  RTI::ObjectHandle theObject,
171  const RTI::AttributeHandleValuePairSet& theAttributes,
172  const RTI::FedTime& theTime,
173  const char *theTag,
174  RTI::EventRetractionHandle theHandle)
175  throw (
176  RTI::ObjectNotKnown,
177  RTI::AttributeNotKnown,
178  RTI::FederateOwnsAttributes,
179  RTI::InvalidFederationTime,
180  RTI::FederateInternalError);
181 
182  virtual void reflectAttributeValues (
183  RTI::ObjectHandle theObject,
184  const RTI::AttributeHandleValuePairSet& theAttributes,
185  const char *theTag)
186  throw (
187  RTI::ObjectNotKnown,
188  RTI::AttributeNotKnown,
189  RTI::FederateOwnsAttributes,
190  RTI::FederateInternalError);
191 
192  virtual void receiveInteraction (
193  RTI::InteractionClassHandle theInteraction,
194  const RTI::ParameterHandleValuePairSet& theParameters,
195  const RTI::FedTime& theTime,
196  const char *theTag,
197  RTI::EventRetractionHandle theHandle)
198  throw (
199  RTI::InteractionClassNotKnown,
200  RTI::InteractionParameterNotKnown,
201  RTI::InvalidFederationTime,
202  RTI::FederateInternalError);
203 
204  virtual void receiveInteraction (
205  RTI::InteractionClassHandle theInteraction,
206  const RTI::ParameterHandleValuePairSet& theParameters,
207  const char *theTag)
208  throw (
209  RTI::InteractionClassNotKnown,
210  RTI::InteractionParameterNotKnown,
211  RTI::FederateInternalError);
212 
213  virtual void removeObjectInstance (
214  RTI::ObjectHandle theObject,
215  const RTI::FedTime& theTime,
216  const char *theTag,
217  RTI::EventRetractionHandle theHandle)
218  throw (
219  RTI::ObjectNotKnown,
220  RTI::InvalidFederationTime,
221  RTI::FederateInternalError);
222 
223  virtual void removeObjectInstance (
224  RTI::ObjectHandle theObject,
225  const char *theTag)
226  throw (
227  RTI::ObjectNotKnown,
228  RTI::FederateInternalError);
229 
230  virtual void attributesInScope (
231  RTI::ObjectHandle theObject,
232  const RTI::AttributeHandleSet& theAttributes)
233  throw (
234  RTI::ObjectNotKnown,
235  RTI::AttributeNotKnown,
236  RTI::FederateInternalError);
237 
238  virtual void attributesOutOfScope (
239  RTI::ObjectHandle theObject,
240  const RTI::AttributeHandleSet& theAttributes)
241  throw (
242  RTI::ObjectNotKnown,
243  RTI::AttributeNotKnown,
244  RTI::FederateInternalError);
245 
246  virtual void provideAttributeValueUpdate (
247  RTI::ObjectHandle theObject,
248  const RTI::AttributeHandleSet& theAttributes)
249  throw (
250  RTI::ObjectNotKnown,
251  RTI::AttributeNotKnown,
252  RTI::AttributeNotOwned,
253  RTI::FederateInternalError);
254 
255  virtual void turnUpdatesOnForObjectInstance (
256  RTI::ObjectHandle theObject,
257  const RTI::AttributeHandleSet& theAttributes)
258  throw (
259  RTI::ObjectNotKnown,
260  RTI::AttributeNotOwned,
261  RTI::FederateInternalError);
262 
263  virtual void turnUpdatesOffForObjectInstance (
264  RTI::ObjectHandle theObject,
265  const RTI::AttributeHandleSet& theAttributes)
266  throw (
267  RTI::ObjectNotKnown,
268  RTI::AttributeNotOwned,
269  RTI::FederateInternalError);
270 
272 
274 
275 
277  RTI::ObjectHandle theObject,
278  const RTI::AttributeHandleSet& offeredAttributes,
279  const char *theTag)
280  throw (
281  RTI::ObjectNotKnown,
282  RTI::AttributeNotKnown,
283  RTI::AttributeAlreadyOwned,
284  RTI::AttributeNotPublished,
285  RTI::FederateInternalError);
286 
288  RTI::ObjectHandle theObject,
289  const RTI::AttributeHandleSet& releasedAttributes)
290  throw (
291  RTI::ObjectNotKnown,
292  RTI::AttributeNotKnown,
293  RTI::AttributeNotOwned,
294  RTI::AttributeDivestitureWasNotRequested,
295  RTI::FederateInternalError);
296 
298  RTI::ObjectHandle theObject,
299  const RTI::AttributeHandleSet& securedAttributes)
300  throw (
301  RTI::ObjectNotKnown,
302  RTI::AttributeNotKnown,
303  RTI::AttributeAcquisitionWasNotRequested,
304  RTI::AttributeAlreadyOwned,
305  RTI::AttributeNotPublished,
306  RTI::FederateInternalError);
307 
308  virtual void attributeOwnershipUnavailable (
309  RTI::ObjectHandle theObject,
310  const RTI::AttributeHandleSet& theAttributes)
311  throw (
312  RTI::ObjectNotKnown,
313  RTI::AttributeNotKnown,
314  RTI::AttributeAlreadyOwned,
315  RTI::AttributeAcquisitionWasNotRequested,
316  RTI::FederateInternalError);
317 
318  virtual void requestAttributeOwnershipRelease (
319  RTI::ObjectHandle theObject,
320  const RTI::AttributeHandleSet& candidateAttributes,
321  const char *theTag)
322  throw (
323  RTI::ObjectNotKnown,
324  RTI::AttributeNotKnown,
325  RTI::AttributeNotOwned,
326  RTI::FederateInternalError);
327 
329  RTI::ObjectHandle theObject,
330  const RTI::AttributeHandleSet& theAttributes)
331  throw (
332  RTI::ObjectNotKnown,
333  RTI::AttributeNotKnown,
334  RTI::AttributeAlreadyOwned,
335  RTI::AttributeAcquisitionWasNotCanceled,
336  RTI::FederateInternalError);
337 
338  virtual void informAttributeOwnership (
339  RTI::ObjectHandle theObject,
340  RTI::AttributeHandle theAttribute,
341  RTI::FederateHandle theOwner)
342  throw (
343  RTI::ObjectNotKnown,
344  RTI::AttributeNotKnown,
345  RTI::FederateInternalError);
346 
347  virtual void attributeIsNotOwned (
348  RTI::ObjectHandle theObject,
349  RTI::AttributeHandle theAttribute)
350  throw (
351  RTI::ObjectNotKnown,
352  RTI::AttributeNotKnown,
353  RTI::FederateInternalError);
354 
355  virtual void attributeOwnedByRTI (
356  RTI::ObjectHandle theObject,
357  RTI::AttributeHandle theAttribute)
358  throw (
359  RTI::ObjectNotKnown,
360  RTI::AttributeNotKnown,
361  RTI::FederateInternalError);
362 
364 
366 
367 
368  virtual void timeRegulationEnabled (
369  const RTI::FedTime& theFederateTime)
370  throw (
371  RTI::InvalidFederationTime,
372  RTI::EnableTimeRegulationWasNotPending,
373  RTI::FederateInternalError);
374 
375  virtual void timeConstrainedEnabled (
376  const RTI::FedTime& theFederateTime)
377  throw (
378  RTI::InvalidFederationTime,
379  RTI::EnableTimeConstrainedWasNotPending,
380  RTI::FederateInternalError);
381 
382  virtual void timeAdvanceGrant (
383  const RTI::FedTime& theTime)
384  throw (
385  RTI::InvalidFederationTime,
386  RTI::TimeAdvanceWasNotInProgress,
387  RTI::FederateInternalError);
388 
389  virtual void requestRetraction (
390  RTI::EventRetractionHandle theHandle)
391  throw (
392  RTI::EventNotKnown,
393  RTI::FederateInternalError);
394 
396 };
397 
398 inline DtFedAmbWrapper::DtFedAmbWrapper(RTI::FederateAmbassador* fedAmb)
399  : NullFederateAmbassador()
400  , myFedAmb(fedAmb)
401 {
402 }
403 
404 inline DtFedAmbWrapper::~DtFedAmbWrapper()
405  throw (RTI::FederateInternalError)
406 {
407 }
408 
409 inline RTI::FederateAmbassador* DtFedAmbWrapper::fedAmb()
410 {
411  return myFedAmb;
412 }
413 
414 inline void DtFedAmbWrapper::setFedAmb(RTI::FederateAmbassador* f)
415 {
416  myFedAmb = f;
417 }
418 
420  const char *label)
421  throw (
422  RTI::FederateInternalError)
423 {
424  if (myFedAmb)
425  {
426  myFedAmb->synchronizationPointRegistrationSucceeded(label);
427  }
428 }
429 
431  const char *label)
432  throw (
433  RTI::FederateInternalError)
434 {
435  if (myFedAmb)
436  {
437  myFedAmb-> synchronizationPointRegistrationFailed(label);
438  }
439 }
440 
442  const char *label,
443  const char *tag)
444  throw (
445  RTI::FederateInternalError)
446 {
447  if (myFedAmb)
448  {
449  myFedAmb-> announceSynchronizationPoint(label, tag);
450  }
451 }
452 
454  const char *label)
455  throw (
456  RTI::FederateInternalError)
457 {
458  if (myFedAmb)
459  {
460  myFedAmb-> federationSynchronized(label);
461  }
462 }
463 
465  const char *label)
466  throw (
467  RTI::UnableToPerformSave,
468  RTI::FederateInternalError)
469 {
470  if (myFedAmb)
471  {
472  myFedAmb-> initiateFederateSave(label);
473  }
474 }
475 
476 inline void DtFedAmbWrapper::federationSaved ()
477  throw (
478  RTI::FederateInternalError)
479 {
480  if (myFedAmb)
481  {
482  myFedAmb-> federationSaved();
483  }
484 }
485 
487  throw (
488  RTI::FederateInternalError)
489 {
490  if (myFedAmb)
491  {
492  myFedAmb-> federationNotSaved();
493  }
494 }
495 
497  const char *label)
498  throw (
499  RTI::FederateInternalError)
500 {
501  if (myFedAmb)
502  {
503  myFedAmb-> requestFederationRestoreSucceeded(label);
504  }
505 }
506 
508  const char *label, const char *reason)
509  throw (
510  RTI::FederateInternalError)
511 {
512  if (myFedAmb)
513  {
514  myFedAmb-> requestFederationRestoreFailed(label, reason);
515  }
516 }
517 
519  throw (
520  RTI::FederateInternalError)
521 {
522  if (myFedAmb)
523  {
524  myFedAmb-> federationRestoreBegun();
525  }
526 }
527 
529  const char *label, RTI::FederateHandle handle)
530  throw (
531  RTI::SpecifiedSaveLabelDoesNotExist,
532  RTI::CouldNotRestore,
533  RTI::FederateInternalError)
534 {
535  if (myFedAmb)
536  {
537  myFedAmb-> initiateFederateRestore(label, handle);
538  }
539 }
540 
541 
543  throw (
544  RTI::FederateInternalError)
545 {
546  if (myFedAmb)
547  {
548  myFedAmb-> federationRestored();
549  }
550 }
551 
553  throw (
554  RTI::FederateInternalError)
555 {
556  if (myFedAmb)
557  {
558  myFedAmb-> federationNotRestored();
559  }
560 }
561 
563  RTI::ObjectClassHandle theClass)
564  throw (
565  RTI::ObjectClassNotPublished,
566  RTI::FederateInternalError)
567 {
568  if (myFedAmb)
569  {
570  myFedAmb-> startRegistrationForObjectClass(theClass);
571  }
572 }
573 
575  RTI::ObjectClassHandle theClass)
576  throw (
577  RTI::ObjectClassNotPublished,
578  RTI::FederateInternalError)
579 {
580  if (myFedAmb)
581  {
582  myFedAmb-> stopRegistrationForObjectClass(theClass);
583  }
584 }
585 
587  RTI::InteractionClassHandle theHandle)
588  throw (
589  RTI::InteractionClassNotPublished,
590  RTI::FederateInternalError)
591 {
592  if (myFedAmb)
593  {
594  myFedAmb-> turnInteractionsOn(theHandle);
595  }
596 }
597 
598 
600  RTI::InteractionClassHandle theHandle)
601  throw (
602  RTI::InteractionClassNotPublished,
603  RTI::FederateInternalError)
604 {
605  if (myFedAmb)
606  {
607  myFedAmb-> turnInteractionsOff(theHandle);
608  }
609 }
610 
611 
613  RTI::ObjectHandle theObject,
614  RTI::ObjectClassHandle theObjectClass,
615  const char * theObjectName)
616  throw (
617  RTI::CouldNotDiscover,
618  RTI::ObjectClassNotKnown,
619  RTI::FederateInternalError)
620 {
621  if (myFedAmb)
622  {
623  myFedAmb-> discoverObjectInstance(
624  theObject, theObjectClass, theObjectName);
625  }
626 }
627 
628 
630  RTI::ObjectHandle theObject,
631  const RTI::AttributeHandleValuePairSet& theAttributes,
632  const RTI::FedTime& theTime,
633  const char *theTag,
634  RTI::EventRetractionHandle theHandle)
635  throw (
636  RTI::ObjectNotKnown,
637  RTI::AttributeNotKnown,
638  RTI::FederateOwnsAttributes,
639  RTI::InvalidFederationTime,
640  RTI::FederateInternalError)
641 {
642  if (myFedAmb)
643  {
644  myFedAmb-> reflectAttributeValues(
645  theObject, theAttributes, theTime, theTag, theHandle);
646  }
647 }
648 
650  RTI::ObjectHandle theObject,
651  const RTI::AttributeHandleValuePairSet& theAttributes,
652  const char* theTag)
653  throw (
654  RTI::ObjectNotKnown,
655  RTI::AttributeNotKnown,
656  RTI::FederateOwnsAttributes,
657  RTI::FederateInternalError)
658 {
659  if (myFedAmb)
660  {
661  myFedAmb-> reflectAttributeValues(theObject, theAttributes, theTag);
662  }
663 }
664 
665 
667  RTI::InteractionClassHandle theInteraction,
668  const RTI::ParameterHandleValuePairSet& theParameters,
669  const RTI::FedTime& theTime,
670  const char *theTag,
671  RTI::EventRetractionHandle theHandle)
672  throw (
673  RTI::InteractionClassNotKnown,
674  RTI::InteractionParameterNotKnown,
675  RTI::InvalidFederationTime,
676  RTI::FederateInternalError)
677 {
678  if (myFedAmb)
679  {
680  myFedAmb-> receiveInteraction(
681  theInteraction, theParameters, theTime, theTag, theHandle);
682  }
683 }
684 
686  RTI::InteractionClassHandle theInteraction,
687  const RTI::ParameterHandleValuePairSet& theParameters,
688  const char *theTag)
689  throw (
690  RTI::InteractionClassNotKnown,
691  RTI::InteractionParameterNotKnown,
692  RTI::FederateInternalError)
693 {
694  if (myFedAmb)
695  {
696  myFedAmb-> receiveInteraction(theInteraction, theParameters, theTag);
697  }
698 }
699 
700 
702  RTI::ObjectHandle theObject,
703  const RTI::FedTime& theTime,
704  const char *theTag,
705  RTI::EventRetractionHandle theHandle)
706  throw (
707  RTI::ObjectNotKnown,
708  RTI::InvalidFederationTime,
709  RTI::FederateInternalError)
710 {
711  if (myFedAmb)
712  {
713  myFedAmb-> removeObjectInstance(
714  theObject, theTime, theTag, theHandle);
715  }
716 }
717 
719  RTI::ObjectHandle theObject, const char *theTag)
720  throw (
721  RTI::ObjectNotKnown,
722  RTI::FederateInternalError)
723 {
724  if (myFedAmb)
725  {
726  myFedAmb-> removeObjectInstance(theObject, theTag);
727  }
728 }
729 
730 
732  RTI::ObjectHandle theObject,
733  const RTI::AttributeHandleSet& theAttributes)
734  throw (
735  RTI::ObjectNotKnown,
736  RTI::AttributeNotKnown,
737  RTI::FederateInternalError)
738 {
739  if (myFedAmb)
740  {
741  myFedAmb-> attributesInScope(
742  theObject, theAttributes);
743  }
744 }
745 
746 
748  RTI::ObjectHandle theObject,
749  const RTI::AttributeHandleSet& theAttributes)
750  throw (
751  RTI::ObjectNotKnown,
752  RTI::AttributeNotKnown,
753  RTI::FederateInternalError)
754 {
755  if (myFedAmb)
756  {
757  myFedAmb-> attributesOutOfScope(
758  theObject, theAttributes);
759  }
760 }
761 
762 
764  RTI::ObjectHandle theObject,
765  const RTI::AttributeHandleSet& theAttributes)
766  throw (
767  RTI::ObjectNotKnown,
768  RTI::AttributeNotKnown,
769  RTI::AttributeNotOwned,
770  RTI::FederateInternalError)
771 {
772  if (myFedAmb)
773  {
774  myFedAmb-> provideAttributeValueUpdate(
775  theObject, theAttributes);
776  }
777 }
778 
779 
781  RTI::ObjectHandle theObject,
782  const RTI::AttributeHandleSet& theAttributes)
783  throw (
784  RTI::ObjectNotKnown,
785  RTI::AttributeNotOwned,
786  RTI::FederateInternalError)
787 {
788  if (myFedAmb)
789  {
790  myFedAmb-> turnUpdatesOnForObjectInstance(
791  theObject, theAttributes);
792  }
793 }
794 
795 
797  RTI::ObjectHandle theObject,
798  const RTI::AttributeHandleSet& theAttributes)
799  throw (
800  RTI::ObjectNotKnown,
801  RTI::AttributeNotOwned,
802  RTI::FederateInternalError)
803 {
804  if (myFedAmb)
805  {
807  theObject, theAttributes);
808  }
809 }
810 
812  RTI::ObjectHandle theObject,
813  const RTI::AttributeHandleSet& offeredAttributes,
814  const char *theTag)
815  throw (
816  RTI::ObjectNotKnown,
817  RTI::AttributeNotKnown,
818  RTI::AttributeAlreadyOwned,
819  RTI::AttributeNotPublished,
820  RTI::FederateInternalError)
821 {
822  if (myFedAmb)
823  {
825  theObject, offeredAttributes, theTag);
826  }
827 }
828 
830  RTI::ObjectHandle theObject,
831  const RTI::AttributeHandleSet& releasedAttributes)
832  throw (
833  RTI::ObjectNotKnown,
834  RTI::AttributeNotKnown,
835  RTI::AttributeNotOwned,
836  RTI::AttributeDivestitureWasNotRequested,
837  RTI::FederateInternalError)
838 {
839  if (myFedAmb)
840  {
842  theObject, releasedAttributes);
843  }
844 }
845 
846 
848  RTI::ObjectHandle theObject,
849  const RTI::AttributeHandleSet& securedAttributes)
850  throw (
851  RTI::ObjectNotKnown,
852  RTI::AttributeNotKnown,
853  RTI::AttributeAcquisitionWasNotRequested,
854  RTI::AttributeAlreadyOwned,
855  RTI::AttributeNotPublished,
856  RTI::FederateInternalError)
857 {
858  if (myFedAmb)
859  {
861  theObject, securedAttributes);
862  }
863 }
864 
865 
867  RTI::ObjectHandle theObject,
868  const RTI::AttributeHandleSet& theAttributes)
869  throw (
870  RTI::ObjectNotKnown,
871  RTI::AttributeNotKnown,
872  RTI::AttributeAlreadyOwned,
873  RTI::AttributeAcquisitionWasNotRequested,
874  RTI::FederateInternalError)
875 {
876  if (myFedAmb)
877  {
878  myFedAmb-> attributeOwnershipUnavailable(
879  theObject, theAttributes);
880  }
881 }
882 
883 
885  RTI::ObjectHandle theObject,
886  const RTI::AttributeHandleSet& candidateAttributes,
887  const char *theTag)
888  throw (
889  RTI::ObjectNotKnown,
890  RTI::AttributeNotKnown,
891  RTI::AttributeNotOwned,
892  RTI::FederateInternalError)
893 {
894  if (myFedAmb)
895  {
897  theObject, candidateAttributes, theTag);
898  }
899 }
900 
901 
903  RTI::ObjectHandle theObject,
904  const RTI::AttributeHandleSet& theAttributes)
905  throw (
906  RTI::ObjectNotKnown,
907  RTI::AttributeNotKnown,
908  RTI::AttributeAlreadyOwned,
909  RTI::AttributeAcquisitionWasNotCanceled,
910  RTI::FederateInternalError)
911 {
912  if (myFedAmb)
913  {
915  theObject, theAttributes);
916  }
917 }
918 
919 
921  RTI::ObjectHandle theObject,
922  RTI::AttributeHandle theAttribute,
923  RTI::FederateHandle theOwner)
924  throw (
925  RTI::ObjectNotKnown,
926  RTI::AttributeNotKnown,
927  RTI::FederateInternalError)
928 {
929  if (myFedAmb)
930  {
931  myFedAmb-> informAttributeOwnership(theObject, theAttribute, theOwner);
932  }
933 }
934 
936  RTI::ObjectHandle theObject,
937  RTI::AttributeHandle theAttribute)
938  throw (
939  RTI::ObjectNotKnown,
940  RTI::AttributeNotKnown,
941  RTI::FederateInternalError)
942 {
943  if (myFedAmb)
944  {
945  myFedAmb-> attributeIsNotOwned(theObject, theAttribute);
946  }
947 }
948 
950  RTI::ObjectHandle theObject,
951  RTI::AttributeHandle theAttribute)
952  throw (
953  RTI::ObjectNotKnown,
954  RTI::AttributeNotKnown,
955  RTI::FederateInternalError)
956 {
957  if (myFedAmb)
958  {
959  myFedAmb-> attributeOwnedByRTI(theObject, theAttribute);
960  }
961 }
962 
964  const RTI::FedTime& theFederateTime)
965  throw (
966  RTI::InvalidFederationTime,
967  RTI::EnableTimeRegulationWasNotPending,
968  RTI::FederateInternalError)
969 {
970  if (myFedAmb)
971  {
972  myFedAmb-> timeRegulationEnabled(theFederateTime);
973  }
974 }
975 
977  const RTI::FedTime& theFederateTime)
978  throw (
979  RTI::InvalidFederationTime,
980  RTI::EnableTimeConstrainedWasNotPending,
981  RTI::FederateInternalError)
982 {
983  if (myFedAmb)
984  {
985  myFedAmb-> timeConstrainedEnabled(theFederateTime);
986  }
987 }
988 
990  const RTI::FedTime& theTime)
991  throw (
992  RTI::InvalidFederationTime,
993  RTI::TimeAdvanceWasNotInProgress,
994  RTI::FederateInternalError)
995 {
996  if (myFedAmb)
997  {
998  myFedAmb-> timeAdvanceGrant(theTime);
999  }
1000 }
1001 
1003  RTI::EventRetractionHandle theHandle)
1004  throw (
1005  RTI::EventNotKnown,
1006  RTI::FederateInternalError)
1007 {
1008  if (myFedAmb)
1009  {
1010  myFedAmb-> requestRetraction(theHandle);
1011  }
1012 }
1013 
1014 #endif
1015 #endif
1016 
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 attributeOwnershipDivestitureNotification(ObjectHandle theObject, const AttributeHandleSet &releasedAttributes)=0
7.5
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
virtual void synchronizationPointRegistrationFailed(const char *label)=0
supplied C4)
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 attributeOwnedByRTI(ObjectHandle theObject, AttributeHandle theAttribute)=0
supplied C1
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.
virtual void initiateFederateSave(const char *label)=0
4.12
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
virtual void federationSynchronized(const char *label)=0
4.10
virtual void discoverObjectInstance(ObjectHandle theObject, ObjectClassHandle theObjectClass, const char *theObjectName)=0
! Object Management Services //!
virtual void requestFederationRestoreSucceeded(const char *label)=0
4.17
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
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:155
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 //!
virtual void turnInteractionsOn(InteractionClassHandle theHandle)=0
5.12

Document ID: Generated on Wed Jul 8 16:20:32 EDT 2026 from SVN revision 291616
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)