MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ambImp1516e.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2011 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #pragma once
7 
8 #ifdef DtIFSPEC1516E
9 
12 
13 #include "rtiMsConfig.h"
14 #include "ambImpBase.h"
15 #include "RIDparams.h"
16 #include "RTI/RTI1516.h"
17 
28 class DT_DLL_LRC DtRtiAmbassadorImplementor : public DtRtiAmbassadorBaseImplementor
29 {
30 public:
31 
33  typedef DtRtiAmbassadorImplementor* (*DtRtiAmbassadorImplementorCreator)
34  (rti1516e::RTIambassador* topLevelAmbPtr);
35 
36 protected:
37 
39  DtRtiAmbassadorImplementor(rti1516e::RTIambassador* topLevelAmbPtr);
40 
41 public:
42 
44  virtual ~DtRtiAmbassadorImplementor();
45 
46 private:
47 
49  DtRtiAmbassadorImplementor(DtRtiAmbassadorImplementor const& );
50 
52  DtRtiAmbassadorImplementor& operator= (DtRtiAmbassadorImplementor const& );
53 
54 public:
55 
59 
60  // !4.2
61  virtual void connect (
62  rti1516e::FederateAmbassador & federateAmbassador,
63  rti1516e::CallbackModel theCallbackModel,
64  std::wstring const & localSettingsDesignator=L"")
65  throw (rti1516e::ConnectionFailed,
66  rti1516e::InvalidLocalSettingsDesignator,
67  rti1516e::UnsupportedCallbackModel,
68  rti1516e::AlreadyConnected,
69  rti1516e::CallNotAllowedFromWithinCallback,
70  rti1516e::RTIinternalError);
71 
72  // !4.3
73  virtual void disconnect ()
74  throw (rti1516e::FederateIsExecutionMember,
75  rti1516e::CallNotAllowedFromWithinCallback,
76  rti1516e::RTIinternalError);
77 
78  // !4.5
79  virtual void createFederationExecution (
80  std::wstring const & federationExecutionName,
81  std::wstring const & fomModule,
82  std::wstring const & logicalTimeImplementationName)
83  throw (rti1516e::CouldNotCreateLogicalTimeFactory,
84  rti1516e::InconsistentFDD,
85  rti1516e::ErrorReadingFDD,
86  rti1516e::CouldNotOpenFDD,
87  rti1516e::FederationExecutionAlreadyExists,
88  rti1516e::NotConnected,
89  rti1516e::RTIinternalError);
90 
91  virtual void createFederationExecution (
92  std::wstring const & federationExecutionName,
93  std::vector<std::wstring> const & fomModules,
94  std::wstring const & logicalTimeImplementationName)
95  throw (rti1516e::CouldNotCreateLogicalTimeFactory,
96  rti1516e::InconsistentFDD,
97  rti1516e::ErrorReadingFDD,
98  rti1516e::CouldNotOpenFDD,
99  rti1516e::FederationExecutionAlreadyExists,
100  rti1516e::NotConnected,
101  rti1516e::RTIinternalError);
102 
103  virtual void createFederationExecutionWithMIM (
104  std::wstring const & federationExecutionName,
105  std::vector<std::wstring> const & fomModules,
106  std::wstring const & mimModule,
107  std::wstring const & logicalTimeImplementationName)
108  throw (rti1516e::CouldNotCreateLogicalTimeFactory,
109  rti1516e::InconsistentFDD,
110  rti1516e::ErrorReadingFDD,
111  rti1516e::CouldNotOpenFDD,
112  rti1516e::DesignatorIsHLAstandardMIM,
113  rti1516e::ErrorReadingMIM,
114  rti1516e::CouldNotOpenMIM,
115  rti1516e::FederationExecutionAlreadyExists,
116  rti1516e::NotConnected,
117  rti1516e::RTIinternalError);
118 
119  // !4.6
120  virtual void destroyFederationExecution (
121  std::wstring const & federationExecutionName)
122  throw (rti1516e::FederatesCurrentlyJoined,
123  rti1516e::FederationExecutionDoesNotExist,
124  rti1516e::NotConnected,
125  rti1516e::RTIinternalError);
126 
127  // !4.7
128  virtual void listFederationExecutions ()
129  throw (rti1516e::NotConnected,
130  rti1516e::RTIinternalError);
131 
132  // !4.9
133  virtual rti1516e::FederateHandle joinFederationExecution (
134  std::wstring const & federateType,
135  std::wstring const & federationExecutionName,
136  std::vector<std::wstring> const & additionalFomModules,
137  unsigned long flags)
138  throw (rti1516e::CouldNotCreateLogicalTimeFactory,
139  rti1516e::FederationExecutionDoesNotExist,
140  rti1516e::InconsistentFDD,
141  rti1516e::ErrorReadingFDD,
142  rti1516e::CouldNotOpenFDD,
143  rti1516e::SaveInProgress,
144  rti1516e::RestoreInProgress,
145  rti1516e::FederateAlreadyExecutionMember,
146  rti1516e::NotConnected,
147  rti1516e::CallNotAllowedFromWithinCallback,
148  rti1516e::RTIinternalError);
149 
150  virtual rti1516e::FederateHandle joinFederationExecution (
151  std::wstring const & federateName,
152  std::wstring const & federateType,
153  std::wstring const & federationExecutionName,
154  std::vector<std::wstring> const & additionalFomModules,
155  unsigned long flags)
156  throw (rti1516e::CouldNotCreateLogicalTimeFactory,
157  rti1516e::FederateNameAlreadyInUse,
158  rti1516e::FederationExecutionDoesNotExist,
159  rti1516e::InconsistentFDD,
160  rti1516e::ErrorReadingFDD,
161  rti1516e::CouldNotOpenFDD,
162  rti1516e::SaveInProgress,
163  rti1516e::RestoreInProgress,
164  rti1516e::FederateAlreadyExecutionMember,
165  rti1516e::NotConnected,
166  rti1516e::CallNotAllowedFromWithinCallback,
167  rti1516e::RTIinternalError);
168 
169  // !4.10
170  virtual void resignFederationExecution (
171  rti1516e::ResignAction resignAction)
172  throw (rti1516e::InvalidResignAction,
173  rti1516e::OwnershipAcquisitionPending,
174  rti1516e::FederateOwnsAttributes,
175  rti1516e::FederateNotExecutionMember,
176  rti1516e::NotConnected,
177  rti1516e::CallNotAllowedFromWithinCallback,
178  rti1516e::RTIinternalError);
179 
180  // !4.11
182  std::wstring const & label,
183  rti1516e::VariableLengthData const & theUserSuppliedTag)
184  throw (rti1516e::SaveInProgress,
185  rti1516e::RestoreInProgress,
186  rti1516e::FederateNotExecutionMember,
187  rti1516e::NotConnected,
188  rti1516e::RTIinternalError);
189 
191  std::wstring const & label,
192  rti1516e::VariableLengthData const & theUserSuppliedTag,
193  rti1516e::FederateHandleSet const & synchronizationSet)
194  throw (rti1516e::InvalidFederateHandle,
195  rti1516e::SaveInProgress,
196  rti1516e::RestoreInProgress,
197  rti1516e::FederateNotExecutionMember,
198  rti1516e::NotConnected,
199  rti1516e::RTIinternalError);
200 
201  // !4.14
202  virtual void synchronizationPointAchieved (
203  std::wstring const & label,
204  bool successfully)
205  throw (rti1516e::SynchronizationPointLabelNotAnnounced,
206  rti1516e::SaveInProgress,
207  rti1516e::RestoreInProgress,
208  rti1516e::FederateNotExecutionMember,
209  rti1516e::NotConnected,
210  rti1516e::RTIinternalError);
211 
212  // !4.16
213  virtual void requestFederationSave (
214  std::wstring const & label)
215  throw (rti1516e::SaveInProgress,
216  rti1516e::RestoreInProgress,
217  rti1516e::FederateNotExecutionMember,
218  rti1516e::NotConnected,
219  rti1516e::RTIinternalError);
220 
221  virtual void requestFederationSave (
222  std::wstring const & label,
223  rti1516e::LogicalTime const & theTime)
224  throw (rti1516e::LogicalTimeAlreadyPassed,
225  rti1516e::InvalidLogicalTime,
226  rti1516e::FederateUnableToUseTime,
227  rti1516e::SaveInProgress,
228  rti1516e::RestoreInProgress,
229  rti1516e::FederateNotExecutionMember,
230  rti1516e::NotConnected,
231  rti1516e::RTIinternalError);
232 
233  // !4.18
234  virtual void federateSaveBegun ()
235  throw (rti1516e::SaveNotInitiated,
236  rti1516e::RestoreInProgress,
237  rti1516e::FederateNotExecutionMember,
238  rti1516e::NotConnected,
239  rti1516e::RTIinternalError);
240 
241  // !4.19
242  virtual void federateSaveComplete ()
243  throw (rti1516e::FederateHasNotBegunSave,
244  rti1516e::RestoreInProgress,
245  rti1516e::FederateNotExecutionMember,
246  rti1516e::NotConnected,
247  rti1516e::RTIinternalError);
248 
249  virtual void federateSaveNotComplete ()
250  throw (rti1516e::FederateHasNotBegunSave,
251  rti1516e::RestoreInProgress,
252  rti1516e::FederateNotExecutionMember,
253  rti1516e::NotConnected,
254  rti1516e::RTIinternalError);
255 
256  // !4.21
257  virtual void abortFederationSave ()
258  throw (rti1516e::SaveNotInProgress,
259  rti1516e::FederateNotExecutionMember,
260  rti1516e::NotConnected,
261  rti1516e::RTIinternalError);
262 
263  // !4.22
264  virtual void queryFederationSaveStatus ()
265  throw (rti1516e::RestoreInProgress,
266  rti1516e::FederateNotExecutionMember,
267  rti1516e::NotConnected,
268  rti1516e::RTIinternalError);
269 
270  // !4.24
271  virtual void requestFederationRestore (
272  std::wstring const & label)
273  throw (rti1516e::SaveInProgress,
274  rti1516e::RestoreInProgress,
275  rti1516e::FederateNotExecutionMember,
276  rti1516e::NotConnected,
277  rti1516e::RTIinternalError);
278 
279  // !4.28
280  virtual void federateRestoreComplete ()
281  throw (rti1516e::RestoreNotRequested,
282  rti1516e::SaveInProgress,
283  rti1516e::FederateNotExecutionMember,
284  rti1516e::NotConnected,
285  rti1516e::RTIinternalError);
286 
287  virtual void federateRestoreNotComplete ()
288  throw (rti1516e::RestoreNotRequested,
289  rti1516e::SaveInProgress,
290  rti1516e::FederateNotExecutionMember,
291  rti1516e::NotConnected,
292  rti1516e::RTIinternalError);
293 
294  // !4.30
295  virtual void abortFederationRestore ()
296  throw (rti1516e::RestoreNotInProgress,
297  rti1516e::FederateNotExecutionMember,
298  rti1516e::NotConnected,
299  rti1516e::RTIinternalError);
300 
301  // !4.31
302  virtual void queryFederationRestoreStatus ()
303  throw (rti1516e::SaveInProgress,
304  rti1516e::FederateNotExecutionMember,
305  rti1516e::NotConnected,
306  rti1516e::RTIinternalError);
307 
311 
312  // !5.2
313  virtual void publishObjectClassAttributes (
314  rti1516e::ObjectClassHandle const & theClass,
315  rti1516e::AttributeHandleSet const & attributeList)
316  throw (rti1516e::AttributeNotDefined,
317  rti1516e::ObjectClassNotDefined,
318  rti1516e::SaveInProgress,
319  rti1516e::RestoreInProgress,
320  rti1516e::FederateNotExecutionMember,
321  rti1516e::NotConnected,
322  rti1516e::RTIinternalError);
323 
324  // !5.3
325  virtual void unpublishObjectClass (
326  rti1516e::ObjectClassHandle const & theClass)
327  throw (rti1516e::OwnershipAcquisitionPending,
328  rti1516e::ObjectClassNotDefined,
329  rti1516e::SaveInProgress,
330  rti1516e::RestoreInProgress,
331  rti1516e::FederateNotExecutionMember,
332  rti1516e::NotConnected,
333  rti1516e::RTIinternalError);
334 
335  virtual void unpublishObjectClassAttributes (
336  rti1516e::ObjectClassHandle const & theClass,
337  rti1516e::AttributeHandleSet const & attributeList)
338  throw (rti1516e::OwnershipAcquisitionPending,
339  rti1516e::AttributeNotDefined,
340  rti1516e::ObjectClassNotDefined,
341  rti1516e::SaveInProgress,
342  rti1516e::RestoreInProgress,
343  rti1516e::FederateNotExecutionMember,
344  rti1516e::NotConnected,
345  rti1516e::RTIinternalError);
346 
347  // !5.4
348  virtual void publishInteractionClass (
349  rti1516e::InteractionClassHandle const & theInteraction)
350  throw (rti1516e::InteractionClassNotDefined,
351  rti1516e::SaveInProgress,
352  rti1516e::RestoreInProgress,
353  rti1516e::FederateNotExecutionMember,
354  rti1516e::NotConnected,
355  rti1516e::RTIinternalError);
356 
357  // !5.5
358  virtual void unpublishInteractionClass (
359  rti1516e::InteractionClassHandle const & theInteraction)
360  throw (rti1516e::InteractionClassNotDefined,
361  rti1516e::SaveInProgress,
362  rti1516e::RestoreInProgress,
363  rti1516e::FederateNotExecutionMember,
364  rti1516e::NotConnected,
365  rti1516e::RTIinternalError);
366 
367  // !5.6
368  virtual void subscribeObjectClassAttributes (
369  rti1516e::ObjectClassHandle const & theClass,
370  rti1516e::AttributeHandleSet const & attributeList,
371  bool active,
372  std::wstring const & updateRateDesignator)
373  throw (rti1516e::AttributeNotDefined,
374  rti1516e::ObjectClassNotDefined,
375  rti1516e::InvalidUpdateRateDesignator,
376  rti1516e::SaveInProgress,
377  rti1516e::RestoreInProgress,
378  rti1516e::FederateNotExecutionMember,
379  rti1516e::NotConnected,
380  rti1516e::RTIinternalError);
381 
382  // !5.7
383  virtual void unsubscribeObjectClass (
384  rti1516e::ObjectClassHandle const & theClass)
385  throw (rti1516e::ObjectClassNotDefined,
386  rti1516e::SaveInProgress,
387  rti1516e::RestoreInProgress,
388  rti1516e::FederateNotExecutionMember,
389  rti1516e::NotConnected,
390  rti1516e::RTIinternalError);
391 
392  virtual void unsubscribeObjectClassAttributes (
393  rti1516e::ObjectClassHandle const & theClass,
394  rti1516e::AttributeHandleSet const & attributeList)
395  throw (rti1516e::AttributeNotDefined,
396  rti1516e::ObjectClassNotDefined,
397  rti1516e::SaveInProgress,
398  rti1516e::RestoreInProgress,
399  rti1516e::FederateNotExecutionMember,
400  rti1516e::NotConnected,
401  rti1516e::RTIinternalError);
402 
403  // !5.8
404  virtual void subscribeInteractionClass (
405  rti1516e::InteractionClassHandle const & theClass,
406  bool active)
407  throw (rti1516e::FederateServiceInvocationsAreBeingReportedViaMOM,
408  rti1516e::InteractionClassNotDefined,
409  rti1516e::SaveInProgress,
410  rti1516e::RestoreInProgress,
411  rti1516e::FederateNotExecutionMember,
412  rti1516e::NotConnected,
413  rti1516e::RTIinternalError);
414 
415  // !5.9
416  virtual void unsubscribeInteractionClass (
417  rti1516e::InteractionClassHandle const & theClass)
418  throw (rti1516e::InteractionClassNotDefined,
419  rti1516e::SaveInProgress,
420  rti1516e::RestoreInProgress,
421  rti1516e::FederateNotExecutionMember,
422  rti1516e::NotConnected,
423  rti1516e::RTIinternalError);
424 
428 
429  // !6.2
430  virtual void reserveObjectInstanceName (
431  std::wstring const & theObjectInstanceName)
432  throw (rti1516e::IllegalName,
433  rti1516e::SaveInProgress,
434  rti1516e::RestoreInProgress,
435  rti1516e::FederateNotExecutionMember,
436  rti1516e::NotConnected,
437  rti1516e::RTIinternalError);
438 
439  // !6.4
440  virtual void releaseObjectInstanceName (
441  std::wstring const & theObjectInstanceName)
442  throw (rti1516e::ObjectInstanceNameNotReserved,
443  rti1516e::SaveInProgress,
444  rti1516e::RestoreInProgress,
445  rti1516e::FederateNotExecutionMember,
446  rti1516e::NotConnected,
447  rti1516e::RTIinternalError);
448 
449  // !6.5
450  virtual void reserveMultipleObjectInstanceName (
451  std::set<std::wstring> const & theObjectInstanceNames)
452  throw (rti1516e::IllegalName,
453  rti1516e::NameSetWasEmpty,
454  rti1516e::SaveInProgress,
455  rti1516e::RestoreInProgress,
456  rti1516e::FederateNotExecutionMember,
457  rti1516e::NotConnected,
458  rti1516e::RTIinternalError);
459 
460  // !6.7
461  virtual void releaseMultipleObjectInstanceName (
462  std::set<std::wstring> const & theObjectInstanceNames)
463  throw (rti1516e::ObjectInstanceNameNotReserved,
464  rti1516e::SaveInProgress,
465  rti1516e::RestoreInProgress,
466  rti1516e::FederateNotExecutionMember,
467  rti1516e::NotConnected,
468  rti1516e::RTIinternalError);
469 
470  // !6.8
471  virtual rti1516e::ObjectInstanceHandle registerObjectInstance (
472  rti1516e::ObjectClassHandle const & theClass)
473  throw (rti1516e::ObjectClassNotPublished,
474  rti1516e::ObjectClassNotDefined,
475  rti1516e::SaveInProgress,
476  rti1516e::RestoreInProgress,
477  rti1516e::FederateNotExecutionMember,
478  rti1516e::NotConnected,
479  rti1516e::RTIinternalError);
480 
481  virtual rti1516e::ObjectInstanceHandle registerObjectInstance (
482  rti1516e::ObjectClassHandle const & theClass,
483  std::wstring const & theObjectInstanceName)
484  throw (rti1516e::ObjectInstanceNameInUse,
485  rti1516e::ObjectInstanceNameNotReserved,
486  rti1516e::ObjectClassNotPublished,
487  rti1516e::ObjectClassNotDefined,
488  rti1516e::SaveInProgress,
489  rti1516e::RestoreInProgress,
490  rti1516e::FederateNotExecutionMember,
491  rti1516e::NotConnected,
492  rti1516e::RTIinternalError);
493 
494  // !6.10
495  virtual void updateAttributeValues (
496  rti1516e::ObjectInstanceHandle const & theObject,
497  rti1516e::AttributeHandleValueMap const & theAttributeValues,
498  rti1516e::VariableLengthData const & theUserSuppliedTag)
499  throw (rti1516e::AttributeNotOwned,
500  rti1516e::AttributeNotDefined,
501  rti1516e::ObjectInstanceNotKnown,
502  rti1516e::SaveInProgress,
503  rti1516e::RestoreInProgress,
504  rti1516e::FederateNotExecutionMember,
505  rti1516e::NotConnected,
506  rti1516e::RTIinternalError);
507 
508  virtual rti1516e::MessageRetractionHandle updateAttributeValues (
509  rti1516e::ObjectInstanceHandle const & theObject,
510  rti1516e::AttributeHandleValueMap const & theAttributeValues,
511  rti1516e::VariableLengthData const & theUserSuppliedTag,
512  rti1516e::LogicalTime const & theTime)
513  throw (rti1516e::InvalidLogicalTime,
514  rti1516e::AttributeNotOwned,
515  rti1516e::AttributeNotDefined,
516  rti1516e::ObjectInstanceNotKnown,
517  rti1516e::SaveInProgress,
518  rti1516e::RestoreInProgress,
519  rti1516e::FederateNotExecutionMember,
520  rti1516e::NotConnected,
521  rti1516e::RTIinternalError);
522 
523  // !6.12
524  virtual void sendInteraction (
525  rti1516e::InteractionClassHandle const & theInteraction,
526  rti1516e::ParameterHandleValueMap const & theParameterValues,
527  rti1516e::VariableLengthData const & theUserSuppliedTag)
528  throw (rti1516e::InteractionClassNotPublished,
529  rti1516e::InteractionParameterNotDefined,
530  rti1516e::InteractionClassNotDefined,
531  rti1516e::SaveInProgress,
532  rti1516e::RestoreInProgress,
533  rti1516e::FederateNotExecutionMember,
534  rti1516e::NotConnected,
535  rti1516e::RTIinternalError);
536 
537  virtual rti1516e::MessageRetractionHandle sendInteraction (
538  rti1516e::InteractionClassHandle const & theInteraction,
539  rti1516e::ParameterHandleValueMap const & theParameterValues,
540  rti1516e::VariableLengthData const & theUserSuppliedTag,
541  rti1516e::LogicalTime const & theTime)
542  throw (rti1516e::InvalidLogicalTime,
543  rti1516e::InteractionClassNotPublished,
544  rti1516e::InteractionParameterNotDefined,
545  rti1516e::InteractionClassNotDefined,
546  rti1516e::SaveInProgress,
547  rti1516e::RestoreInProgress,
548  rti1516e::FederateNotExecutionMember,
549  rti1516e::NotConnected,
550  rti1516e::RTIinternalError);
551 
552  // !6.14
553  virtual void deleteObjectInstance (
554  rti1516e::ObjectInstanceHandle const & theObject,
555  rti1516e::VariableLengthData const & theUserSuppliedTag)
556  throw (rti1516e::DeletePrivilegeNotHeld,
557  rti1516e::ObjectInstanceNotKnown,
558  rti1516e::SaveInProgress,
559  rti1516e::RestoreInProgress,
560  rti1516e::FederateNotExecutionMember,
561  rti1516e::NotConnected,
562  rti1516e::RTIinternalError);
563 
564  virtual rti1516e::MessageRetractionHandle deleteObjectInstance (
565  rti1516e::ObjectInstanceHandle const & theObject,
566  rti1516e::VariableLengthData const & theUserSuppliedTag,
567  rti1516e::LogicalTime const & theTime)
568  throw (rti1516e::InvalidLogicalTime,
569  rti1516e::DeletePrivilegeNotHeld,
570  rti1516e::ObjectInstanceNotKnown,
571  rti1516e::SaveInProgress,
572  rti1516e::RestoreInProgress,
573  rti1516e::FederateNotExecutionMember,
574  rti1516e::NotConnected,
575  rti1516e::RTIinternalError);
576 
577  // !6.16
578  virtual void localDeleteObjectInstance (
579  rti1516e::ObjectInstanceHandle const & theObject)
580  throw (rti1516e::OwnershipAcquisitionPending,
581  rti1516e::FederateOwnsAttributes,
582  rti1516e::ObjectInstanceNotKnown,
583  rti1516e::SaveInProgress,
584  rti1516e::RestoreInProgress,
585  rti1516e::FederateNotExecutionMember,
586  rti1516e::NotConnected,
587  rti1516e::RTIinternalError);
588 
589  // !6.19
590  virtual void requestAttributeValueUpdate (
591  rti1516e::ObjectInstanceHandle const & theObject,
592  rti1516e::AttributeHandleSet const & theAttributes,
593  rti1516e::VariableLengthData const & theUserSuppliedTag)
594  throw (rti1516e::AttributeNotDefined,
595  rti1516e::ObjectInstanceNotKnown,
596  rti1516e::SaveInProgress,
597  rti1516e::RestoreInProgress,
598  rti1516e::FederateNotExecutionMember,
599  rti1516e::NotConnected,
600  rti1516e::RTIinternalError);
601 
602  virtual void requestAttributeValueUpdate (
603  rti1516e::ObjectClassHandle const & theClass,
604  rti1516e::AttributeHandleSet const & theAttributes,
605  rti1516e::VariableLengthData const & theUserSuppliedTag)
606  throw (rti1516e::AttributeNotDefined,
607  rti1516e::ObjectClassNotDefined,
608  rti1516e::SaveInProgress,
609  rti1516e::RestoreInProgress,
610  rti1516e::FederateNotExecutionMember,
611  rti1516e::NotConnected,
612  rti1516e::RTIinternalError);
613 
614  // !6.23
615  virtual void requestAttributeTransportationTypeChange (
616  rti1516e::ObjectInstanceHandle const & theObject,
617  rti1516e::AttributeHandleSet const & theAttributes,
618  rti1516e::TransportationType theType)
619  throw (rti1516e::AttributeAlreadyBeingChanged,
620  rti1516e::AttributeNotOwned,
621  rti1516e::AttributeNotDefined,
622  rti1516e::ObjectInstanceNotKnown,
623  rti1516e::InvalidTransportationType,
624  rti1516e::SaveInProgress,
625  rti1516e::RestoreInProgress,
626  rti1516e::FederateNotExecutionMember,
627  rti1516e::NotConnected,
628  rti1516e::RTIinternalError);
629 
630  // !6.25
631  virtual void queryAttributeTransportationType (
632  rti1516e::ObjectInstanceHandle const & theObject,
633  rti1516e::AttributeHandle const & theAttribute)
634  throw (rti1516e::AttributeNotDefined,
635  rti1516e::ObjectInstanceNotKnown,
636  rti1516e::SaveInProgress,
637  rti1516e::RestoreInProgress,
638  rti1516e::FederateNotExecutionMember,
639  rti1516e::NotConnected,
640  rti1516e::RTIinternalError);
641 
642  // !6.27
643  virtual void requestInteractionTransportationTypeChange (
644  rti1516e::InteractionClassHandle const & theClass,
645  rti1516e::TransportationType theType)
646  throw (rti1516e::InteractionClassAlreadyBeingChanged,
647  rti1516e::InteractionClassNotPublished,
648  rti1516e::InteractionClassNotDefined,
649  rti1516e::InvalidTransportationType,
650  rti1516e::SaveInProgress,
651  rti1516e::RestoreInProgress,
652  rti1516e::FederateNotExecutionMember,
653  rti1516e::NotConnected,
654  rti1516e::RTIinternalError);
655 
656  // !6.29
657  virtual void queryInteractionTransportationType (
658  rti1516e::FederateHandle const & theFederate,
659  rti1516e::InteractionClassHandle const & theInteraction)
660  throw (rti1516e::InteractionClassNotDefined,
661  rti1516e::SaveInProgress,
662  rti1516e::RestoreInProgress,
663  rti1516e::FederateNotExecutionMember,
664  rti1516e::NotConnected,
665  rti1516e::RTIinternalError);
666 
670 
671 
672  // !7.2
674  rti1516e::ObjectInstanceHandle const & theObject,
675  rti1516e::AttributeHandleSet const & theAttributes)
676  throw (rti1516e::AttributeNotOwned,
677  rti1516e::AttributeNotDefined,
678  rti1516e::ObjectInstanceNotKnown,
679  rti1516e::SaveInProgress,
680  rti1516e::RestoreInProgress,
681  rti1516e::FederateNotExecutionMember,
682  rti1516e::NotConnected,
683  rti1516e::RTIinternalError);
684 
685  // !7.3
687  rti1516e::ObjectInstanceHandle const & theObject,
688  rti1516e::AttributeHandleSet const & theAttributes,
689  rti1516e::VariableLengthData const & theUserSuppliedTag)
690  throw (rti1516e::AttributeAlreadyBeingDivested,
691  rti1516e::AttributeNotOwned,
692  rti1516e::AttributeNotDefined,
693  rti1516e::ObjectInstanceNotKnown,
694  rti1516e::SaveInProgress,
695  rti1516e::RestoreInProgress,
696  rti1516e::FederateNotExecutionMember,
697  rti1516e::NotConnected,
698  rti1516e::RTIinternalError);
699 
700  // !7.6
701  virtual void confirmDivestiture (
702  rti1516e::ObjectInstanceHandle const & theObject,
703  rti1516e::AttributeHandleSet const & confirmedAttributes,
704  rti1516e::VariableLengthData const & theUserSuppliedTag)
705  throw (rti1516e::NoAcquisitionPending,
706  rti1516e::AttributeDivestitureWasNotRequested,
707  rti1516e::AttributeNotOwned,
708  rti1516e::AttributeNotDefined,
709  rti1516e::ObjectInstanceNotKnown,
710  rti1516e::SaveInProgress,
711  rti1516e::RestoreInProgress,
712  rti1516e::FederateNotExecutionMember,
713  rti1516e::NotConnected,
714  rti1516e::RTIinternalError);
715 
716  // !7.8
717  virtual void attributeOwnershipAcquisition (
718  rti1516e::ObjectInstanceHandle const & theObject,
719  rti1516e::AttributeHandleSet const & desiredAttributes,
720  rti1516e::VariableLengthData const & theUserSuppliedTag)
721  throw (rti1516e::AttributeNotPublished,
722  rti1516e::ObjectClassNotPublished,
723  rti1516e::FederateOwnsAttributes,
724  rti1516e::AttributeNotDefined,
725  rti1516e::ObjectInstanceNotKnown,
726  rti1516e::SaveInProgress,
727  rti1516e::RestoreInProgress,
728  rti1516e::FederateNotExecutionMember,
729  rti1516e::NotConnected,
730  rti1516e::RTIinternalError);
731 
732  // !7.9
734  rti1516e::ObjectInstanceHandle const & theObject,
735  rti1516e::AttributeHandleSet const & desiredAttributes)
736  throw (rti1516e::AttributeAlreadyBeingAcquired,
737  rti1516e::AttributeNotPublished,
738  rti1516e::ObjectClassNotPublished,
739  rti1516e::FederateOwnsAttributes,
740  rti1516e::AttributeNotDefined,
741  rti1516e::ObjectInstanceNotKnown,
742  rti1516e::SaveInProgress,
743  rti1516e::RestoreInProgress,
744  rti1516e::FederateNotExecutionMember,
745  rti1516e::NotConnected,
746  rti1516e::RTIinternalError);
747 
748  // !7.12
749  virtual void attributeOwnershipReleaseDenied (
750  rti1516e::ObjectInstanceHandle const & theObject,
751  rti1516e::AttributeHandleSet const & theAttributes)
752  throw (rti1516e::AttributeNotOwned,
753  rti1516e::AttributeNotDefined,
754  rti1516e::ObjectInstanceNotKnown,
755  rti1516e::SaveInProgress,
756  rti1516e::RestoreInProgress,
757  rti1516e::FederateNotExecutionMember,
758  rti1516e::NotConnected,
759  rti1516e::RTIinternalError);
760 
761  // !7.13
762  virtual void attributeOwnershipDivestitureIfWanted (
763  rti1516e::ObjectInstanceHandle const & theObject,
764  rti1516e::AttributeHandleSet const & theAttributes,
765  rti1516e::AttributeHandleSet & theDivestedAttributes) // filled by RTI
766  throw (rti1516e::AttributeNotOwned,
767  rti1516e::AttributeNotDefined,
768  rti1516e::ObjectInstanceNotKnown,
769  rti1516e::SaveInProgress,
770  rti1516e::RestoreInProgress,
771  rti1516e::FederateNotExecutionMember,
772  rti1516e::NotConnected,
773  rti1516e::RTIinternalError);
774 
775  // !7.14
777  rti1516e::ObjectInstanceHandle const & theObject,
778  rti1516e::AttributeHandleSet const & theAttributes)
779  throw (rti1516e::AttributeDivestitureWasNotRequested,
780  rti1516e::AttributeNotOwned,
781  rti1516e::AttributeNotDefined,
782  rti1516e::ObjectInstanceNotKnown,
783  rti1516e::SaveInProgress,
784  rti1516e::RestoreInProgress,
785  rti1516e::FederateNotExecutionMember,
786  rti1516e::NotConnected,
787  rti1516e::RTIinternalError);
788 
789  // !7.15
791  rti1516e::ObjectInstanceHandle const & theObject,
792  rti1516e::AttributeHandleSet const & theAttributes)
793  throw (rti1516e::AttributeAcquisitionWasNotRequested,
794  rti1516e::AttributeAlreadyOwned,
795  rti1516e::AttributeNotDefined,
796  rti1516e::ObjectInstanceNotKnown,
797  rti1516e::SaveInProgress,
798  rti1516e::RestoreInProgress,
799  rti1516e::FederateNotExecutionMember,
800  rti1516e::NotConnected,
801  rti1516e::RTIinternalError);
802 
803  // !7.17
804  virtual void queryAttributeOwnership (
805  rti1516e::ObjectInstanceHandle const & theObject,
806  rti1516e::AttributeHandle const & theAttribute)
807  throw (rti1516e::AttributeNotDefined,
808  rti1516e::ObjectInstanceNotKnown,
809  rti1516e::SaveInProgress,
810  rti1516e::RestoreInProgress,
811  rti1516e::FederateNotExecutionMember,
812  rti1516e::NotConnected,
813  rti1516e::RTIinternalError);
814 
815  // !7.19
816  virtual bool isAttributeOwnedByFederate (
817  rti1516e::ObjectInstanceHandle const & theObject,
818  rti1516e::AttributeHandle const & theAttribute)
819  throw (rti1516e::AttributeNotDefined,
820  rti1516e::ObjectInstanceNotKnown,
821  rti1516e::SaveInProgress,
822  rti1516e::RestoreInProgress,
823  rti1516e::FederateNotExecutionMember,
824  rti1516e::NotConnected,
825  rti1516e::RTIinternalError);
826 
830 
831  // !8.2
832  virtual void enableTimeRegulation (
833  rti1516e::LogicalTimeInterval const & theLookahead)
834  throw (rti1516e::InvalidLookahead,
835  rti1516e::InTimeAdvancingState,
836  rti1516e::RequestForTimeRegulationPending,
837  rti1516e::TimeRegulationAlreadyEnabled,
838  rti1516e::SaveInProgress,
839  rti1516e::RestoreInProgress,
840  rti1516e::FederateNotExecutionMember,
841  rti1516e::NotConnected,
842  rti1516e::RTIinternalError);
843 
844  // !8.4
845  virtual void disableTimeRegulation ()
846  throw (rti1516e::TimeRegulationIsNotEnabled,
847  rti1516e::SaveInProgress,
848  rti1516e::RestoreInProgress,
849  rti1516e::FederateNotExecutionMember,
850  rti1516e::NotConnected,
851  rti1516e::RTIinternalError);
852 
853  // !8.5
854  virtual void enableTimeConstrained ()
855  throw (rti1516e::InTimeAdvancingState,
856  rti1516e::RequestForTimeConstrainedPending,
857  rti1516e::TimeConstrainedAlreadyEnabled,
858  rti1516e::SaveInProgress,
859  rti1516e::RestoreInProgress,
860  rti1516e::FederateNotExecutionMember,
861  rti1516e::NotConnected,
862  rti1516e::RTIinternalError);
863 
864  // !8.7
865  virtual void disableTimeConstrained ()
866  throw (rti1516e::TimeConstrainedIsNotEnabled,
867  rti1516e::SaveInProgress,
868  rti1516e::RestoreInProgress,
869  rti1516e::FederateNotExecutionMember,
870  rti1516e::NotConnected,
871  rti1516e::RTIinternalError);
872 
873  // !8.8
874  virtual void timeAdvanceRequest (
875  rti1516e::LogicalTime const & theTime)
876  throw (rti1516e::LogicalTimeAlreadyPassed,
877  rti1516e::InvalidLogicalTime,
878  rti1516e::InTimeAdvancingState,
879  rti1516e::RequestForTimeRegulationPending,
880  rti1516e::RequestForTimeConstrainedPending,
881  rti1516e::SaveInProgress,
882  rti1516e::RestoreInProgress,
883  rti1516e::FederateNotExecutionMember,
884  rti1516e::NotConnected,
885  rti1516e::RTIinternalError);
886 
887  // !8.9
888  virtual void timeAdvanceRequestAvailable (
889  rti1516e::LogicalTime const & theTime)
890  throw (rti1516e::LogicalTimeAlreadyPassed,
891  rti1516e::InvalidLogicalTime,
892  rti1516e::InTimeAdvancingState,
893  rti1516e::RequestForTimeRegulationPending,
894  rti1516e::RequestForTimeConstrainedPending,
895  rti1516e::SaveInProgress,
896  rti1516e::RestoreInProgress,
897  rti1516e::FederateNotExecutionMember,
898  rti1516e::NotConnected,
899  rti1516e::RTIinternalError);
900 
901  // !8.10
902  virtual void nextMessageRequest (
903  rti1516e::LogicalTime const & theTime)
904  throw (rti1516e::LogicalTimeAlreadyPassed,
905  rti1516e::InvalidLogicalTime,
906  rti1516e::InTimeAdvancingState,
907  rti1516e::RequestForTimeRegulationPending,
908  rti1516e::RequestForTimeConstrainedPending,
909  rti1516e::SaveInProgress,
910  rti1516e::RestoreInProgress,
911  rti1516e::FederateNotExecutionMember,
912  rti1516e::NotConnected,
913  rti1516e::RTIinternalError);
914 
915  // !8.11
916  virtual void nextMessageRequestAvailable (
917  rti1516e::LogicalTime const & theTime)
918  throw (rti1516e::LogicalTimeAlreadyPassed,
919  rti1516e::InvalidLogicalTime,
920  rti1516e::InTimeAdvancingState,
921  rti1516e::RequestForTimeRegulationPending,
922  rti1516e::RequestForTimeConstrainedPending,
923  rti1516e::SaveInProgress,
924  rti1516e::RestoreInProgress,
925  rti1516e::FederateNotExecutionMember,
926  rti1516e::NotConnected,
927  rti1516e::RTIinternalError);
928 
929  // !8.12
930  virtual void flushQueueRequest (
931  rti1516e::LogicalTime const & theTime)
932  throw (rti1516e::LogicalTimeAlreadyPassed,
933  rti1516e::InvalidLogicalTime,
934  rti1516e::InTimeAdvancingState,
935  rti1516e::RequestForTimeRegulationPending,
936  rti1516e::RequestForTimeConstrainedPending,
937  rti1516e::SaveInProgress,
938  rti1516e::RestoreInProgress,
939  rti1516e::FederateNotExecutionMember,
940  rti1516e::NotConnected,
941  rti1516e::RTIinternalError);
942 
943  // !8.14
944  virtual void enableAsynchronousDelivery ()
945  throw (rti1516e::AsynchronousDeliveryAlreadyEnabled,
946  rti1516e::SaveInProgress,
947  rti1516e::RestoreInProgress,
948  rti1516e::FederateNotExecutionMember,
949  rti1516e::NotConnected,
950  rti1516e::RTIinternalError);
951 
952  // !8.15
953  virtual void disableAsynchronousDelivery ()
954  throw (
955  rti1516e::AsynchronousDeliveryAlreadyDisabled,
956  rti1516e::SaveInProgress,
957  rti1516e::RestoreInProgress,
958  rti1516e::FederateNotExecutionMember,
959  rti1516e::NotConnected,
960  rti1516e::RTIinternalError);
961 
962  // !8.16
963  virtual bool queryGALT (rti1516e::LogicalTime & theTime)
964  throw (rti1516e::SaveInProgress,
965  rti1516e::RestoreInProgress,
966  rti1516e::FederateNotExecutionMember,
967  rti1516e::NotConnected,
968  rti1516e::RTIinternalError);
969 
970  // !8.17
971  virtual void queryLogicalTime (rti1516e::LogicalTime & theTime)
972  throw (rti1516e::SaveInProgress,
973  rti1516e::RestoreInProgress,
974  rti1516e::FederateNotExecutionMember,
975  rti1516e::NotConnected,
976  rti1516e::RTIinternalError);
977 
978  // !8.18
979  virtual bool queryLITS (rti1516e::LogicalTime & theTime)
980  throw (rti1516e::SaveInProgress,
981  rti1516e::RestoreInProgress,
982  rti1516e::FederateNotExecutionMember,
983  rti1516e::NotConnected,
984  rti1516e::RTIinternalError);
985 
986  // !8.19
987  virtual void modifyLookahead (
988  rti1516e::LogicalTimeInterval const & theLookahead)
989  throw (rti1516e::InvalidLookahead,
990  rti1516e::InTimeAdvancingState,
991  rti1516e::TimeRegulationIsNotEnabled,
992  rti1516e::SaveInProgress,
993  rti1516e::RestoreInProgress,
994  rti1516e::FederateNotExecutionMember,
995  rti1516e::NotConnected,
996  rti1516e::RTIinternalError);
997 
998  // !8.20
999  virtual void queryLookahead (rti1516e::LogicalTimeInterval & interval)
1000  throw (rti1516e::TimeRegulationIsNotEnabled,
1001  rti1516e::SaveInProgress,
1002  rti1516e::RestoreInProgress,
1003  rti1516e::FederateNotExecutionMember,
1004  rti1516e::NotConnected,
1005  rti1516e::RTIinternalError);
1006 
1007  // !8.21
1008  virtual void retract (
1009  rti1516e::MessageRetractionHandle const & theHandle)
1010  throw (rti1516e::MessageCanNoLongerBeRetracted,
1011  rti1516e::InvalidMessageRetractionHandle,
1012  rti1516e::TimeRegulationIsNotEnabled,
1013  rti1516e::SaveInProgress,
1014  rti1516e::RestoreInProgress,
1015  rti1516e::FederateNotExecutionMember,
1016  rti1516e::NotConnected,
1017  rti1516e::RTIinternalError);
1018 
1019  // !8.23
1020  virtual void changeAttributeOrderType (
1021  rti1516e::ObjectInstanceHandle const & theObject,
1022  rti1516e::AttributeHandleSet const & theAttributes,
1023  rti1516e::OrderType theType)
1024  throw (rti1516e::AttributeNotOwned,
1025  rti1516e::AttributeNotDefined,
1026  rti1516e::ObjectInstanceNotKnown,
1027  rti1516e::SaveInProgress,
1028  rti1516e::RestoreInProgress,
1029  rti1516e::FederateNotExecutionMember,
1030  rti1516e::NotConnected,
1031  rti1516e::RTIinternalError);
1032 
1033  // !8.24
1034  virtual void changeInteractionOrderType (
1035  rti1516e::InteractionClassHandle const & theClass,
1036  rti1516e::OrderType theType)
1037  throw (rti1516e::InteractionClassNotPublished,
1038  rti1516e::InteractionClassNotDefined,
1039  rti1516e::SaveInProgress,
1040  rti1516e::RestoreInProgress,
1041  rti1516e::FederateNotExecutionMember,
1042  rti1516e::NotConnected,
1043  rti1516e::RTIinternalError);
1044 
1048 
1049  // !9.2
1050  virtual rti1516e::RegionHandle createRegion (
1051  rti1516e::DimensionHandleSet const & theDimensions)
1052  throw (rti1516e::InvalidDimensionHandle,
1053  rti1516e::SaveInProgress,
1054  rti1516e::RestoreInProgress,
1055  rti1516e::FederateNotExecutionMember,
1056  rti1516e::NotConnected,
1057  rti1516e::RTIinternalError);
1058 
1059  // !9.3
1060  virtual void commitRegionModifications (
1061  rti1516e::RegionHandleSet const & theRegionHandleSet)
1062  throw (rti1516e::RegionNotCreatedByThisFederate,
1063  rti1516e::InvalidRegion,
1064  rti1516e::SaveInProgress,
1065  rti1516e::RestoreInProgress,
1066  rti1516e::FederateNotExecutionMember,
1067  rti1516e::NotConnected,
1068  rti1516e::RTIinternalError);
1069 
1070  // !9.4
1071  virtual void deleteRegion (
1072  rti1516e::RegionHandle const & theRegion)
1073  throw (rti1516e::RegionInUseForUpdateOrSubscription,
1074  rti1516e::RegionNotCreatedByThisFederate,
1075  rti1516e::InvalidRegion,
1076  rti1516e::SaveInProgress,
1077  rti1516e::RestoreInProgress,
1078  rti1516e::FederateNotExecutionMember,
1079  rti1516e::NotConnected,
1080  rti1516e::RTIinternalError);
1081 
1082  // !9.5
1083  virtual rti1516e::ObjectInstanceHandle registerObjectInstanceWithRegions (
1084  rti1516e::ObjectClassHandle const & theClass,
1085  rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1086  theAttributeHandleSetRegionHandleSetPairVector)
1087  throw (rti1516e::InvalidRegionContext,
1088  rti1516e::RegionNotCreatedByThisFederate,
1089  rti1516e::InvalidRegion,
1090  rti1516e::AttributeNotPublished,
1091  rti1516e::ObjectClassNotPublished,
1092  rti1516e::AttributeNotDefined,
1093  rti1516e::ObjectClassNotDefined,
1094  rti1516e::SaveInProgress,
1095  rti1516e::RestoreInProgress,
1096  rti1516e::FederateNotExecutionMember,
1097  rti1516e::NotConnected,
1098  rti1516e::RTIinternalError);
1099 
1100  virtual rti1516e::ObjectInstanceHandle registerObjectInstanceWithRegions (
1101  rti1516e::ObjectClassHandle const & theClass,
1102  rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1103  theAttributeHandleSetRegionHandleSetPairVector,
1104  std::wstring const & theObjectInstanceName)
1105  throw (rti1516e::ObjectInstanceNameInUse,
1106  rti1516e::ObjectInstanceNameNotReserved,
1107  rti1516e::InvalidRegionContext,
1108  rti1516e::RegionNotCreatedByThisFederate,
1109  rti1516e::InvalidRegion,
1110  rti1516e::AttributeNotPublished,
1111  rti1516e::ObjectClassNotPublished,
1112  rti1516e::AttributeNotDefined,
1113  rti1516e::ObjectClassNotDefined,
1114  rti1516e::SaveInProgress,
1115  rti1516e::RestoreInProgress,
1116  rti1516e::FederateNotExecutionMember,
1117  rti1516e::NotConnected,
1118  rti1516e::RTIinternalError);
1119 
1120  // !9.6
1121  virtual void associateRegionsForUpdates (
1122  rti1516e::ObjectInstanceHandle const & theObject,
1123  rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1124  theAttributeHandleSetRegionHandleSetPairVector)
1125  throw (rti1516e::InvalidRegionContext,
1126  rti1516e::RegionNotCreatedByThisFederate,
1127  rti1516e::InvalidRegion,
1128  rti1516e::AttributeNotDefined,
1129  rti1516e::ObjectInstanceNotKnown,
1130  rti1516e::SaveInProgress,
1131  rti1516e::RestoreInProgress,
1132  rti1516e::FederateNotExecutionMember,
1133  rti1516e::NotConnected,
1134  rti1516e::RTIinternalError);
1135 
1136  // !9.7
1137  virtual void unassociateRegionsForUpdates (
1138  rti1516e::ObjectInstanceHandle const & theObject,
1139  rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1140  theAttributeHandleSetRegionHandleSetPairVector)
1141  throw (rti1516e::RegionNotCreatedByThisFederate,
1142  rti1516e::InvalidRegion,
1143  rti1516e::AttributeNotDefined,
1144  rti1516e::ObjectInstanceNotKnown,
1145  rti1516e::SaveInProgress,
1146  rti1516e::RestoreInProgress,
1147  rti1516e::FederateNotExecutionMember,
1148  rti1516e::NotConnected,
1149  rti1516e::RTIinternalError);
1150 
1151  // !9.8
1152  virtual void subscribeObjectClassAttributesWithRegions (
1153  rti1516e::ObjectClassHandle const & theClass,
1154  rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1155  theAttributeHandleSetRegionHandleSetPairVector,
1156  bool active,
1157  std::wstring const & updateRateDesignator)
1158  throw (rti1516e::InvalidRegionContext,
1159  rti1516e::RegionNotCreatedByThisFederate,
1160  rti1516e::InvalidRegion,
1161  rti1516e::AttributeNotDefined,
1162  rti1516e::ObjectClassNotDefined,
1163  rti1516e::InvalidUpdateRateDesignator,
1164  rti1516e::SaveInProgress,
1165  rti1516e::RestoreInProgress,
1166  rti1516e::FederateNotExecutionMember,
1167  rti1516e::NotConnected,
1168  rti1516e::RTIinternalError);
1169 
1170 
1171  // !9.9
1172  virtual void unsubscribeObjectClassAttributesWithRegions (
1173  rti1516e::ObjectClassHandle const & theClass,
1174  rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1175  theAttributeHandleSetRegionHandleSetPairVector)
1176  throw (rti1516e::RegionNotCreatedByThisFederate,
1177  rti1516e::InvalidRegion,
1178  rti1516e::AttributeNotDefined,
1179  rti1516e::ObjectClassNotDefined,
1180  rti1516e::SaveInProgress,
1181  rti1516e::RestoreInProgress,
1182  rti1516e::FederateNotExecutionMember,
1183  rti1516e::NotConnected,
1184  rti1516e::RTIinternalError);
1185 
1186  // !9.10
1187  virtual void subscribeInteractionClassWithRegions (
1188  rti1516e::InteractionClassHandle const & theClass,
1189  rti1516e::RegionHandleSet const & theRegionHandleSet,
1190  bool active)
1191  throw (rti1516e::FederateServiceInvocationsAreBeingReportedViaMOM,
1192  rti1516e::InvalidRegionContext,
1193  rti1516e::RegionNotCreatedByThisFederate,
1194  rti1516e::InvalidRegion,
1195  rti1516e::InteractionClassNotDefined,
1196  rti1516e::SaveInProgress,
1197  rti1516e::RestoreInProgress,
1198  rti1516e::FederateNotExecutionMember,
1199  rti1516e::NotConnected,
1200  rti1516e::RTIinternalError);
1201 
1202  // !9.11
1203  virtual void unsubscribeInteractionClassWithRegions (
1204  rti1516e::InteractionClassHandle const & theClass,
1205  rti1516e::RegionHandleSet const & theRegionHandleSet)
1206  throw (rti1516e::RegionNotCreatedByThisFederate,
1207  rti1516e::InvalidRegion,
1208  rti1516e::InteractionClassNotDefined,
1209  rti1516e::SaveInProgress,
1210  rti1516e::RestoreInProgress,
1211  rti1516e::FederateNotExecutionMember,
1212  rti1516e::NotConnected,
1213  rti1516e::RTIinternalError);
1214 
1215  // !9.12
1216  virtual void sendInteractionWithRegions (
1217  rti1516e::InteractionClassHandle const & theInteraction,
1218  rti1516e::ParameterHandleValueMap const & theParameterValues,
1219  rti1516e::RegionHandleSet const & theRegionHandleSet,
1220  rti1516e::VariableLengthData const & theUserSuppliedTag)
1221  throw (rti1516e::InvalidRegionContext,
1222  rti1516e::RegionNotCreatedByThisFederate,
1223  rti1516e::InvalidRegion,
1224  rti1516e::InteractionClassNotPublished,
1225  rti1516e::InteractionParameterNotDefined,
1226  rti1516e::InteractionClassNotDefined,
1227  rti1516e::SaveInProgress,
1228  rti1516e::RestoreInProgress,
1229  rti1516e::FederateNotExecutionMember,
1230  rti1516e::NotConnected,
1231  rti1516e::RTIinternalError);
1232 
1233  virtual rti1516e::MessageRetractionHandle sendInteractionWithRegions (
1234  rti1516e::InteractionClassHandle const & theInteraction,
1235  rti1516e::ParameterHandleValueMap const & theParameterValues,
1236  rti1516e::RegionHandleSet const & theRegionHandleSet,
1237  rti1516e::VariableLengthData const & theUserSuppliedTag,
1238  rti1516e::LogicalTime const & theTime)
1239  throw (rti1516e::InvalidLogicalTime,
1240  rti1516e::InvalidRegionContext,
1241  rti1516e::RegionNotCreatedByThisFederate,
1242  rti1516e::InvalidRegion,
1243  rti1516e::InteractionClassNotPublished,
1244  rti1516e::InteractionParameterNotDefined,
1245  rti1516e::InteractionClassNotDefined,
1246  rti1516e::SaveInProgress,
1247  rti1516e::RestoreInProgress,
1248  rti1516e::FederateNotExecutionMember,
1249  rti1516e::NotConnected,
1250  rti1516e::RTIinternalError);
1251 
1252  // !9.13
1253  virtual void requestAttributeValueUpdateWithRegions (
1254  rti1516e::ObjectClassHandle const & theClass,
1255  rti1516e::AttributeHandleSetRegionHandleSetPairVector const & theSet,
1256  rti1516e::VariableLengthData const & theUserSuppliedTag)
1257  throw (rti1516e::InvalidRegionContext,
1258  rti1516e::RegionNotCreatedByThisFederate,
1259  rti1516e::InvalidRegion,
1260  rti1516e::AttributeNotDefined,
1261  rti1516e::ObjectClassNotDefined,
1262  rti1516e::SaveInProgress,
1263  rti1516e::RestoreInProgress,
1264  rti1516e::FederateNotExecutionMember,
1265  rti1516e::NotConnected,
1266  rti1516e::RTIinternalError);
1267 
1271 
1272  // !10.2
1273  virtual rti1516e::ResignAction getAutomaticResignDirective ()
1274  throw (rti1516e::FederateNotExecutionMember,
1275  rti1516e::NotConnected,
1276  rti1516e::RTIinternalError);
1277 
1278  // !10.3
1279  virtual void setAutomaticResignDirective (
1280  rti1516e::ResignAction resignAction)
1281  throw (rti1516e::InvalidResignAction,
1282  rti1516e::FederateNotExecutionMember,
1283  rti1516e::NotConnected,
1284  rti1516e::RTIinternalError);
1285 
1286  // !10.4
1287  virtual rti1516e::FederateHandle getFederateHandle (
1288  std::wstring const & theName)
1289  throw (rti1516e::NameNotFound,
1290  rti1516e::FederateNotExecutionMember,
1291  rti1516e::NotConnected,
1292  rti1516e::RTIinternalError);
1293 
1294  // !10.5
1295  virtual std::wstring getFederateName (
1296  rti1516e::FederateHandle const & theHandle)
1297  throw (rti1516e::InvalidFederateHandle,
1298  rti1516e::FederateHandleNotKnown,
1299  rti1516e::FederateNotExecutionMember,
1300  rti1516e::NotConnected,
1301  rti1516e::RTIinternalError);
1302 
1303  // !10.6
1304  virtual rti1516e::ObjectClassHandle getObjectClassHandle (
1305  std::wstring const & theName)
1306  throw (rti1516e::NameNotFound,
1307  rti1516e::FederateNotExecutionMember,
1308  rti1516e::NotConnected,
1309  rti1516e::RTIinternalError);
1310 
1311  // !10.7
1312  virtual std::wstring getObjectClassName (
1313  rti1516e::ObjectClassHandle const & theHandle)
1314  throw (rti1516e::InvalidObjectClassHandle,
1315  rti1516e::FederateNotExecutionMember,
1316  rti1516e::NotConnected,
1317  rti1516e::RTIinternalError);
1318 
1319  // !10.8
1320  virtual rti1516e::ObjectClassHandle getKnownObjectClassHandle (
1321  rti1516e::ObjectInstanceHandle const & theObject)
1322  throw (rti1516e::ObjectInstanceNotKnown,
1323  rti1516e::FederateNotExecutionMember,
1324  rti1516e::NotConnected,
1325  rti1516e::RTIinternalError);
1326 
1327  // !10.9
1328  virtual rti1516e::ObjectInstanceHandle getObjectInstanceHandle (
1329  std::wstring const & theName)
1330  throw (rti1516e::ObjectInstanceNotKnown,
1331  rti1516e::FederateNotExecutionMember,
1332  rti1516e::NotConnected,
1333  rti1516e::RTIinternalError);
1334 
1335  // !10.10
1336  virtual std::wstring getObjectInstanceName (
1337  rti1516e::ObjectInstanceHandle const & theHandle)
1338  throw (rti1516e::ObjectInstanceNotKnown,
1339  rti1516e::FederateNotExecutionMember,
1340  rti1516e::NotConnected,
1341  rti1516e::RTIinternalError);
1342 
1343  // !10.11
1344  virtual rti1516e::AttributeHandle getAttributeHandle (
1345  rti1516e::ObjectClassHandle const & whichClass,
1346  std::wstring const & theAttributeName)
1347  throw (rti1516e::NameNotFound,
1348  rti1516e::InvalidObjectClassHandle,
1349  rti1516e::FederateNotExecutionMember,
1350  rti1516e::NotConnected,
1351  rti1516e::RTIinternalError);
1352 
1353  // !10.12
1354  virtual std::wstring getAttributeName (
1355  rti1516e::ObjectClassHandle const & whichClass,
1356  rti1516e::AttributeHandle const & theHandle)
1357  throw (rti1516e::AttributeNotDefined,
1358  rti1516e::InvalidAttributeHandle,
1359  rti1516e::InvalidObjectClassHandle,
1360  rti1516e::FederateNotExecutionMember,
1361  rti1516e::NotConnected,
1362  rti1516e::RTIinternalError);
1363 
1364  // !10.13
1365  virtual double getUpdateRateValue (
1366  std::wstring const & updateRateDesignator)
1367  throw (rti1516e::InvalidUpdateRateDesignator,
1368  rti1516e::FederateNotExecutionMember,
1369  rti1516e::NotConnected,
1370  rti1516e::RTIinternalError);
1371 
1372  // !10.14
1373  virtual double getUpdateRateValueForAttribute (
1374  rti1516e::ObjectInstanceHandle const & theObject,
1375  rti1516e::AttributeHandle const & theAttribute)
1376  throw (rti1516e::ObjectInstanceNotKnown,
1377  rti1516e::AttributeNotDefined,
1378  rti1516e::FederateNotExecutionMember,
1379  rti1516e::NotConnected,
1380  rti1516e::RTIinternalError);
1381 
1382  // !10.15
1384  std::wstring const & theName)
1385  throw (rti1516e::NameNotFound,
1386  rti1516e::FederateNotExecutionMember,
1387  rti1516e::NotConnected,
1388  rti1516e::RTIinternalError);
1389 
1390  // !10.16
1391  virtual std::wstring getInteractionClassName (
1392  rti1516e::InteractionClassHandle const & theHandle)
1393  throw (rti1516e::InvalidInteractionClassHandle,
1394  rti1516e::FederateNotExecutionMember,
1395  rti1516e::NotConnected,
1396  rti1516e::RTIinternalError);
1397 
1398  // !10.17
1399  virtual rti1516e::ParameterHandle getParameterHandle (
1400  rti1516e::InteractionClassHandle const & whichClass,
1401  std::wstring const & theName)
1402  throw (rti1516e::NameNotFound,
1403  rti1516e::InvalidInteractionClassHandle,
1404  rti1516e::FederateNotExecutionMember,
1405  rti1516e::NotConnected,
1406  rti1516e::RTIinternalError);
1407 
1408  // !10.18
1409  virtual std::wstring getParameterName (
1410  rti1516e::InteractionClassHandle const & whichClass,
1411  rti1516e::ParameterHandle const & theHandle)
1412  throw (rti1516e::InteractionParameterNotDefined,
1413  rti1516e::InvalidParameterHandle,
1414  rti1516e::InvalidInteractionClassHandle,
1415  rti1516e::FederateNotExecutionMember,
1416  rti1516e::NotConnected,
1417  rti1516e::RTIinternalError);
1418 
1419  // !10.19
1420  virtual rti1516e::OrderType getOrderType (
1421  std::wstring const & orderName)
1422  throw (rti1516e::InvalidOrderName,
1423  rti1516e::FederateNotExecutionMember,
1424  rti1516e::NotConnected,
1425  rti1516e::RTIinternalError);
1426 
1427  // !10.20
1428  virtual std::wstring getOrderName (
1429  rti1516e::OrderType orderType)
1430  throw (rti1516e::InvalidOrderType,
1431  rti1516e::FederateNotExecutionMember,
1432  rti1516e::NotConnected,
1433  rti1516e::RTIinternalError);
1434 
1435  // !10.21
1436  virtual rti1516e::TransportationType getTransportationType (
1437  std::wstring const & transportationName)
1438  throw (rti1516e::InvalidTransportationName,
1439  rti1516e::FederateNotExecutionMember,
1440  rti1516e::NotConnected,
1441  rti1516e::RTIinternalError);
1442 
1443  // !10.22
1444  virtual std::wstring getTransportationName (
1445  rti1516e::TransportationType transportationType)
1446  throw (rti1516e::InvalidTransportationType,
1447  rti1516e::FederateNotExecutionMember,
1448  rti1516e::NotConnected,
1449  rti1516e::RTIinternalError);
1450 
1451  // !10.23
1452  virtual rti1516e::DimensionHandleSet getAvailableDimensionsForClassAttribute (
1453  rti1516e::ObjectClassHandle const & theClass,
1454  rti1516e::AttributeHandle const & theHandle)
1455  throw (rti1516e::AttributeNotDefined,
1456  rti1516e::InvalidAttributeHandle,
1457  rti1516e::InvalidObjectClassHandle,
1458  rti1516e::FederateNotExecutionMember,
1459  rti1516e::NotConnected,
1460  rti1516e::RTIinternalError);
1461 
1462  // !10.24
1463  virtual rti1516e::DimensionHandleSet getAvailableDimensionsForInteractionClass (
1464  rti1516e::InteractionClassHandle const & theClass)
1465  throw (rti1516e::InvalidInteractionClassHandle,
1466  rti1516e::FederateNotExecutionMember,
1467  rti1516e::NotConnected,
1468  rti1516e::RTIinternalError);
1469 
1470  // !10.25
1471  virtual rti1516e::DimensionHandle getDimensionHandle (
1472  std::wstring const & theName)
1473  throw (rti1516e::NameNotFound,
1474  rti1516e::FederateNotExecutionMember,
1475  rti1516e::NotConnected,
1476  rti1516e::RTIinternalError);
1477 
1478  // !10.26
1479  virtual std::wstring getDimensionName (
1480  rti1516e::DimensionHandle const & theHandle)
1481  throw (rti1516e::InvalidDimensionHandle,
1482  rti1516e::FederateNotExecutionMember,
1483  rti1516e::NotConnected,
1484  rti1516e::RTIinternalError);
1485 
1486  // !10.27
1487  virtual unsigned long getDimensionUpperBound (
1488  rti1516e::DimensionHandle const & theHandle)
1489  throw (rti1516e::InvalidDimensionHandle,
1490  rti1516e::FederateNotExecutionMember,
1491  rti1516e::NotConnected,
1492  rti1516e::RTIinternalError);
1493 
1494  // !10.28
1495  virtual rti1516e::DimensionHandleSet getDimensionHandleSet (
1496  rti1516e::RegionHandle const & theRegionHandle)
1497  throw (rti1516e::InvalidRegion,
1498  rti1516e::SaveInProgress,
1499  rti1516e::RestoreInProgress,
1500  rti1516e::FederateNotExecutionMember,
1501  rti1516e::NotConnected,
1502  rti1516e::RTIinternalError);
1503 
1504  // !10.29
1505  virtual rti1516e::RangeBounds getRangeBounds (
1506  rti1516e::RegionHandle const & theRegionHandle,
1507  rti1516e::DimensionHandle const & theDimensionHandle)
1508  throw (rti1516e::RegionDoesNotContainSpecifiedDimension,
1509  rti1516e::InvalidRegion,
1510  rti1516e::SaveInProgress,
1511  rti1516e::RestoreInProgress,
1512  rti1516e::FederateNotExecutionMember,
1513  rti1516e::NotConnected,
1514  rti1516e::RTIinternalError);
1515 
1516  // !10.30
1517  virtual void setRangeBounds (
1518  rti1516e::RegionHandle const & theRegionHandle,
1519  rti1516e::DimensionHandle const & theDimensionHandle,
1520  rti1516e::RangeBounds const & theRangeBounds)
1521  throw (rti1516e::InvalidRangeBound,
1522  rti1516e::RegionDoesNotContainSpecifiedDimension,
1523  rti1516e::RegionNotCreatedByThisFederate,
1524  rti1516e::InvalidRegion,
1525  rti1516e::SaveInProgress,
1526  rti1516e::RestoreInProgress,
1527  rti1516e::FederateNotExecutionMember,
1528  rti1516e::NotConnected,
1529  rti1516e::RTIinternalError);
1530 
1531  // !10.31
1532  virtual unsigned long normalizeFederateHandle (
1533  rti1516e::FederateHandle const & theFederateHandle)
1534  throw (rti1516e::InvalidFederateHandle,
1535  rti1516e::FederateNotExecutionMember,
1536  rti1516e::NotConnected,
1537  rti1516e::RTIinternalError);
1538 
1539  // !10.32
1540  virtual unsigned long normalizeServiceGroup (
1541  rti1516e::ServiceGroup theServiceGroup)
1542  throw (rti1516e::InvalidServiceGroup,
1543  rti1516e::FederateNotExecutionMember,
1544  rti1516e::NotConnected,
1545  rti1516e::RTIinternalError);
1546 
1547  // !10.33
1548  virtual void enableObjectClassRelevanceAdvisorySwitch ()
1549  throw (rti1516e::ObjectClassRelevanceAdvisorySwitchIsOn,
1550  rti1516e::SaveInProgress,
1551  rti1516e::RestoreInProgress,
1552  rti1516e::FederateNotExecutionMember,
1553  rti1516e::NotConnected,
1554  rti1516e::RTIinternalError);
1555 
1556  // !10.34
1557  virtual void disableObjectClassRelevanceAdvisorySwitch ()
1558  throw (rti1516e::ObjectClassRelevanceAdvisorySwitchIsOff,
1559  rti1516e::SaveInProgress,
1560  rti1516e::RestoreInProgress,
1561  rti1516e::FederateNotExecutionMember,
1562  rti1516e::NotConnected,
1563  rti1516e::RTIinternalError);
1564 
1565  // !10.35
1567  throw (rti1516e::AttributeRelevanceAdvisorySwitchIsOn,
1568  rti1516e::SaveInProgress,
1569  rti1516e::RestoreInProgress,
1570  rti1516e::FederateNotExecutionMember,
1571  rti1516e::NotConnected,
1572  rti1516e::RTIinternalError);
1573 
1574  // !10.36
1576  throw (rti1516e::AttributeRelevanceAdvisorySwitchIsOff,
1577  rti1516e::SaveInProgress,
1578  rti1516e::RestoreInProgress,
1579  rti1516e::FederateNotExecutionMember,
1580  rti1516e::NotConnected,
1581  rti1516e::RTIinternalError);
1582 
1583  // !10.37
1584  virtual void enableAttributeScopeAdvisorySwitch ()
1585  throw (rti1516e::AttributeScopeAdvisorySwitchIsOn,
1586  rti1516e::SaveInProgress,
1587  rti1516e::RestoreInProgress,
1588  rti1516e::FederateNotExecutionMember,
1589  rti1516e::NotConnected,
1590  rti1516e::RTIinternalError);
1591 
1592  // !10.38
1593  virtual void disableAttributeScopeAdvisorySwitch ()
1594  throw (rti1516e::AttributeScopeAdvisorySwitchIsOff,
1595  rti1516e::SaveInProgress,
1596  rti1516e::RestoreInProgress,
1597  rti1516e::FederateNotExecutionMember,
1598  rti1516e::NotConnected,
1599  rti1516e::RTIinternalError);
1600 
1601  // !10.39
1603  throw (rti1516e::InteractionRelevanceAdvisorySwitchIsOn,
1604  rti1516e::SaveInProgress,
1605  rti1516e::RestoreInProgress,
1606  rti1516e::FederateNotExecutionMember,
1607  rti1516e::NotConnected,
1608  rti1516e::RTIinternalError);
1609 
1610  // !10.40
1612  throw (rti1516e::InteractionRelevanceAdvisorySwitchIsOff,
1613  rti1516e::SaveInProgress,
1614  rti1516e::RestoreInProgress,
1615  rti1516e::FederateNotExecutionMember,
1616  rti1516e::NotConnected,
1617  rti1516e::RTIinternalError);
1618 
1619  // !10.41
1620  virtual bool evokeCallback (
1621  double approximateMinimumTimeInSeconds,
1622  bool unlockWhileWaiting=false)
1623  throw (rti1516e::CallNotAllowedFromWithinCallback,
1624  rti1516e::RTIinternalError);
1625 
1626  // !10.42
1627  virtual bool evokeMultipleCallbacks (
1628  double approximateMinimumTimeInSeconds,
1629  double approximateMaximumTimeInSeconds,
1630  bool unlockWhileWaiting=false)
1631  throw (rti1516e::CallNotAllowedFromWithinCallback,
1632  rti1516e::RTIinternalError);
1633 
1634  // !10.43
1635  virtual void enableCallbacks ()
1636  throw (rti1516e::SaveInProgress,
1637  rti1516e::RestoreInProgress,
1638  rti1516e::RTIinternalError);
1639 
1640  // !10.44
1641  virtual void disableCallbacks ()
1642  throw (rti1516e::SaveInProgress,
1643  rti1516e::RestoreInProgress,
1644  rti1516e::RTIinternalError);
1645 
1646  // API-specific services
1647 
1649  virtual std::auto_ptr<rti1516e::LogicalTimeFactory> getTimeFactory () const
1650  throw (rti1516e::FederateNotExecutionMember,
1651  rti1516e::NotConnected,
1652  rti1516e::RTIinternalError);
1653 
1655  virtual rti1516e::FederateHandle decodeFederateHandle (
1656  rti1516e::VariableLengthData const & encodedValue) const
1657  throw (rti1516e::CouldNotDecode,
1658  rti1516e::FederateNotExecutionMember,
1659  rti1516e::NotConnected,
1660  rti1516e::RTIinternalError);
1661 
1662  virtual rti1516e::ObjectClassHandle decodeObjectClassHandle (
1663  rti1516e::VariableLengthData const & encodedValue) const
1664  throw (rti1516e::CouldNotDecode,
1665  rti1516e::FederateNotExecutionMember,
1666  rti1516e::NotConnected,
1667  rti1516e::RTIinternalError);
1668 
1669  virtual rti1516e::InteractionClassHandle decodeInteractionClassHandle (
1670  rti1516e::VariableLengthData const & encodedValue) const
1671  throw (rti1516e::CouldNotDecode,
1672  rti1516e::FederateNotExecutionMember,
1673  rti1516e::NotConnected,
1674  rti1516e::RTIinternalError);
1675 
1676  virtual rti1516e::ObjectInstanceHandle decodeObjectInstanceHandle (
1677  rti1516e::VariableLengthData const & encodedValue) const
1678  throw (rti1516e::CouldNotDecode,
1679  rti1516e::FederateNotExecutionMember,
1680  rti1516e::NotConnected,
1681  rti1516e::RTIinternalError);
1682 
1683  virtual rti1516e::AttributeHandle decodeAttributeHandle (
1684  rti1516e::VariableLengthData const & encodedValue) const
1685  throw (rti1516e::CouldNotDecode,
1686  rti1516e::FederateNotExecutionMember,
1687  rti1516e::NotConnected,
1688  rti1516e::RTIinternalError);
1689 
1690  virtual rti1516e::ParameterHandle decodeParameterHandle (
1691  rti1516e::VariableLengthData const & encodedValue) const
1692  throw (rti1516e::CouldNotDecode,
1693  rti1516e::FederateNotExecutionMember,
1694  rti1516e::NotConnected,
1695  rti1516e::RTIinternalError);
1696 
1697  virtual rti1516e::DimensionHandle decodeDimensionHandle (
1698  rti1516e::VariableLengthData const & encodedValue) const
1699  throw (rti1516e::CouldNotDecode,
1700  rti1516e::FederateNotExecutionMember,
1701  rti1516e::NotConnected,
1702  rti1516e::RTIinternalError);
1703 
1704  virtual rti1516e::MessageRetractionHandle decodeMessageRetractionHandle (
1705  rti1516e::VariableLengthData const & encodedValue) const
1706  throw (rti1516e::CouldNotDecode,
1707  rti1516e::FederateNotExecutionMember,
1708  rti1516e::NotConnected,
1709  rti1516e::RTIinternalError);
1710 
1711  virtual rti1516e::RegionHandle decodeRegionHandle (
1712  rti1516e::VariableLengthData const & encodedValue) const
1713  throw (rti1516e::CouldNotDecode,
1714  rti1516e::FederateNotExecutionMember,
1715  rti1516e::NotConnected,
1716  rti1516e::RTIinternalError);
1717 
1718 
1719  //---------------------------------------------------------
1721  //---------------------------------------------------------
1722 
1723 public:
1724 
1728  static DtRtiAmbassadorImplementor* create(rti1516e::RTIambassador* topLevelAmbPtr);
1729 
1733  static void setCreatorFunction(DtRtiAmbassadorImplementorCreator creator);
1734 
1735 protected:
1736 
1738  virtual void throwInternalError(const MAKRti::DtString & errorMessage) const;
1739 
1741  virtual void throwNotConnected(const MAKRti::DtString & errorMessage) const;
1742 
1744  virtual void throwNotJoined(const MAKRti::DtString & errorMessage) const;
1745 
1746 protected:
1747 
1749  rti1516e::RTIambassador* myTopLevelAmb;
1750 
1752  bool myCallbacksEnabled;
1753 
1755  DtRIDParameters::DtAsynchronousIOModeEnum myInitialProcModel;
1756 
1760  bool myThrowCallNotAllowedFromWithinCallback;
1761 
1762 protected:
1763 
1765  static DtRtiAmbassadorImplementorCreator theCreator;
1766 
1767 };
1768 
1769 #endif

Document ID: Generated on Mon Mar 21 09:41:37 EDT 2016 from SVN revision 163228
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)