MAK RTIspy API Documentation for HLA 1.3
fedAmbPrinter1516e.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2010 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: fedAmbPrinter1516e.h,v $ $Revision: 1.0 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DtFedAmbPrinter1516e_h
00013 #define DtFedAmbPrinter1516e_h
00014 
00015 #ifdef DtIFSPEC1516E
00016 
00017 #include "rtiMsConfig.h"
00018 #include "fedAmbWrap1516e.h"
00019 
00020 class DtFederateMgr;
00021 class DtFomClassMgr;
00022 class DtObjectMgr;
00023 
00024 class DT_DLL_LRC DtFedAmbPrinter : public DtFedAmbWrapper
00025 {
00026 public:
00027 
00028     DtFedAmbPrinter(DtFederateMgr* fedMgr);
00029     virtual ~DtFedAmbPrinter() throw ();
00030 
00034 
00035     // 4.4
00036     virtual void connectionLost (
00037         std::wstring const & faultDescription)
00038         throw (
00039         FederateInternalError);
00040 
00041     // 4.8
00042     virtual void reportFederationExecutions (
00043         FederationExecutionInformationVector const &
00044         theFederationExecutionInformationList)
00045         throw (
00046         FederateInternalError);
00047 
00049     virtual
00050         void
00051         synchronizationPointRegistrationSucceeded(std::wstring const & label)
00052         throw (rti1516e::FederateInternalError);
00053 
00054     virtual
00055         void
00056         synchronizationPointRegistrationFailed(std::wstring const & label,
00057         rti1516e::SynchronizationPointFailureReason reason)
00058         throw (rti1516e::FederateInternalError);
00059 
00061     virtual
00062         void
00063         announceSynchronizationPoint(std::wstring  const & label,
00064         rti1516e::VariableLengthData const & theUserSuppliedTag)
00065         throw (rti1516e::FederateInternalError);
00066 
00068     virtual
00069         void
00070         federationSynchronized(std::wstring const & label)
00071         throw (rti1516e::FederateInternalError);
00072 
00074     virtual
00075         void
00076         initiateFederateSave(std::wstring const & label)
00077         throw (rti1516e::FederateInternalError);
00078 
00079     virtual
00080         void
00081         initiateFederateSave(std::wstring const & label,
00082         rti1516e::LogicalTime const & theTime)
00083         throw (rti1516e::FederateInternalError);
00084 
00086     virtual
00087         void
00088         federationSaved()
00089         throw (rti1516e::FederateInternalError);
00090 
00091     virtual
00092         void
00093         federationNotSaved(rti1516e::SaveFailureReason theSaveFailureReason)
00094         throw (rti1516e::FederateInternalError);
00095 
00096 
00098     virtual
00099         void
00100         federationSaveStatusResponse(
00101         rti1516e::FederateHandleSaveStatusPairVector const & theFederateStatusVector)
00102         throw (rti1516e::FederateInternalError);
00103 
00105     virtual
00106         void
00107         requestFederationRestoreSucceeded(std::wstring const & label)
00108         throw (rti1516e::FederateInternalError);
00109 
00110     virtual
00111         void
00112         requestFederationRestoreFailed(std::wstring const & label)
00113         throw (rti1516e::FederateInternalError);
00114 
00116     virtual
00117         void
00118         federationRestoreBegun()
00119         throw (rti1516e::FederateInternalError);
00120 
00122     virtual
00123         void
00124         initiateFederateRestore(std::wstring         const & label,
00125         rti1516e::FederateHandle handle)
00126         throw (rti1516e::FederateInternalError);
00127 
00129     virtual
00130         void
00131         federationRestored()
00132         throw (rti1516e::FederateInternalError);
00133 
00134     virtual
00135         void
00136         federationNotRestored(rti1516e::RestoreFailureReason theRestoreFailureReason)
00137         throw (rti1516e::FederateInternalError);
00138 
00140     virtual
00141         void
00142         federationRestoreStatusResponse(
00143         rti1516e::FederateRestoreStatusVector  const & theFederateStatusVector)
00144         throw (rti1516e::FederateInternalError);
00145 
00149 
00151     virtual
00152         void
00153         startRegistrationForObjectClass(rti1516e::ObjectClassHandle theClass)
00154         throw (rti1516e::FederateInternalError);
00155 
00157     virtual
00158         void
00159         stopRegistrationForObjectClass(rti1516e::ObjectClassHandle theClass)
00160         throw (rti1516e::FederateInternalError);
00161 
00163     virtual
00164         void
00165         turnInteractionsOn(rti1516e::InteractionClassHandle theHandle)
00166         throw (rti1516e::FederateInternalError);
00167 
00169     virtual
00170         void
00171         turnInteractionsOff(rti1516e::InteractionClassHandle theHandle)
00172         throw (rti1516e::FederateInternalError);
00173 
00177 
00179     virtual
00180         void
00181         objectInstanceNameReservationSucceeded(std::wstring const &
00182         theObjectInstanceName)
00183         throw (rti1516e::FederateInternalError);
00184 
00185     virtual
00186         void
00187         objectInstanceNameReservationFailed(std::wstring const &
00188         theObjectInstanceName)
00189         throw (rti1516e::FederateInternalError);
00190 
00191     // 6.6
00192     virtual void multipleObjectInstanceNameReservationSucceeded (
00193         std::set<std::wstring> const & theObjectInstanceNames)
00194         throw (
00195         FederateInternalError);
00196 
00197     virtual void multipleObjectInstanceNameReservationFailed (
00198         std::set<std::wstring> const & theObjectInstanceNames)
00199         throw (
00200         FederateInternalError);
00201 
00202 
00204     virtual
00205         void
00206         discoverObjectInstance(rti1516e::ObjectInstanceHandle theObject,
00207         rti1516e::ObjectClassHandle theObjectClass,
00208         std::wstring const & theObjectInstanceName)
00209         throw (rti1516e::FederateInternalError);
00210 
00211     virtual void discoverObjectInstance (
00212         ObjectInstanceHandle theObject,
00213         ObjectClassHandle theObjectClass,
00214         std::wstring const & theObjectInstanceName,
00215         FederateHandle producingFederate)
00216         throw (
00217         FederateInternalError);
00218 
00219     virtual void reflectAttributeValues (
00220         ObjectInstanceHandle theObject,
00221         AttributeHandleValueMap const & theAttributeValues,
00222         VariableLengthData const & theUserSuppliedTag,
00223         OrderType sentOrder,
00224         TransportationType theType,
00225         SupplementalReflectInfo theReflectInfo)
00226         throw (
00227         FederateInternalError);
00228 
00229     virtual void reflectAttributeValues (
00230         ObjectInstanceHandle theObject,
00231         AttributeHandleValueMap const & theAttributeValues,
00232         VariableLengthData const & theUserSuppliedTag,
00233         OrderType sentOrder,
00234         TransportationType theType,
00235         LogicalTime const & theTime,
00236         OrderType receivedOrder,
00237         SupplementalReflectInfo theReflectInfo)
00238         throw (
00239         FederateInternalError);
00240 
00241     virtual void reflectAttributeValues (
00242         ObjectInstanceHandle theObject,
00243         AttributeHandleValueMap const & theAttributeValues,
00244         VariableLengthData const & theUserSuppliedTag,
00245         OrderType sentOrder,
00246         TransportationType theType,
00247         LogicalTime const & theTime,
00248         OrderType receivedOrder,
00249         MessageRetractionHandle theHandle,
00250         SupplementalReflectInfo theReflectInfo)
00251         throw (
00252         FederateInternalError);
00253 
00254     // 6.13
00255     virtual void receiveInteraction (
00256         InteractionClassHandle theInteraction,
00257         ParameterHandleValueMap const & theParameterValues,
00258         VariableLengthData const & theUserSuppliedTag,
00259         OrderType sentOrder,
00260         TransportationType theType,
00261         SupplementalReceiveInfo theReceiveInfo)
00262         throw (
00263         FederateInternalError);
00264 
00265     virtual void receiveInteraction (
00266         InteractionClassHandle theInteraction,
00267         ParameterHandleValueMap const & theParameterValues,
00268         VariableLengthData const & theUserSuppliedTag,
00269         OrderType sentOrder,
00270         TransportationType theType,
00271         LogicalTime const & theTime,
00272         OrderType receivedOrder,
00273         SupplementalReceiveInfo theReceiveInfo)
00274         throw (
00275         FederateInternalError);
00276 
00277     virtual void receiveInteraction (
00278         InteractionClassHandle theInteraction,
00279         ParameterHandleValueMap const & theParameterValues,
00280         VariableLengthData const & theUserSuppliedTag,
00281         OrderType sentOrder,
00282         TransportationType theType,
00283         LogicalTime const & theTime,
00284         OrderType receivedOrder,
00285         MessageRetractionHandle theHandle,
00286         SupplementalReceiveInfo theReceiveInfo)
00287         throw (
00288         FederateInternalError);
00289 
00290     // 6.15
00291     virtual void removeObjectInstance (
00292         ObjectInstanceHandle theObject,
00293         VariableLengthData const & theUserSuppliedTag,
00294         OrderType sentOrder,
00295         SupplementalRemoveInfo theRemoveInfo)
00296         throw (
00297         FederateInternalError);
00298 
00299     virtual void removeObjectInstance (
00300         ObjectInstanceHandle theObject,
00301         VariableLengthData const & theUserSuppliedTag,
00302         OrderType sentOrder,
00303         LogicalTime const & theTime,
00304         OrderType receivedOrder,
00305         SupplementalRemoveInfo theRemoveInfo)
00306         throw (
00307         FederateInternalError);
00308 
00309     virtual void removeObjectInstance (
00310         ObjectInstanceHandle theObject,
00311         VariableLengthData const & theUserSuppliedTag,
00312         OrderType sentOrder,
00313         LogicalTime const & theTime,
00314         OrderType receivedOrder,
00315         MessageRetractionHandle theHandle,
00316         SupplementalRemoveInfo theRemoveInfo)
00317         throw (
00318         FederateInternalError);
00319 
00321     virtual
00322         void
00323         attributesInScope
00324         (rti1516e::ObjectInstanceHandle theObject,
00325         rti1516e::AttributeHandleSet const & theAttributes)
00326         throw (rti1516e::FederateInternalError);
00327 
00329     virtual
00330         void
00331         attributesOutOfScope
00332         (rti1516e::ObjectInstanceHandle theObject,
00333         rti1516e::AttributeHandleSet const & theAttributes)
00334         throw (rti1516e::FederateInternalError);
00335 
00337     virtual
00338         void
00339         provideAttributeValueUpdate
00340         (rti1516e::ObjectInstanceHandle theObject,
00341         rti1516e::AttributeHandleSet const & theAttributes,
00342         rti1516e::VariableLengthData const & theUserSuppliedTag)
00343         throw (rti1516e::FederateInternalError);
00344 
00346     virtual
00347         void
00348         turnUpdatesOnForObjectInstance
00349         (rti1516e::ObjectInstanceHandle theObject,
00350         rti1516e::AttributeHandleSet const & theAttributes)
00351         throw (rti1516e::FederateInternalError);
00352 
00353     virtual void turnUpdatesOnForObjectInstance (
00354         ObjectInstanceHandle theObject,
00355         AttributeHandleSet const & theAttributes,
00356         std::wstring const & updateRateDesignator)
00357         throw (
00358         FederateInternalError);
00359 
00361     virtual
00362         void
00363         turnUpdatesOffForObjectInstance
00364         (rti1516e::ObjectInstanceHandle theObject,
00365         rti1516e::AttributeHandleSet const & theAttributes)
00366         throw (rti1516e::FederateInternalError);
00367 
00368     // 6.24
00369     virtual void confirmAttributeTransportationTypeChange (
00370         ObjectInstanceHandle theObject,
00371         AttributeHandleSet theAttributes,
00372         TransportationType theTransportation)
00373         throw (
00374         FederateInternalError);
00375 
00376     // 6.26
00377     virtual void reportAttributeTransportationType (
00378         ObjectInstanceHandle theObject,
00379         AttributeHandle theAttribute,
00380         TransportationType theTransportation)
00381         throw (
00382         FederateInternalError);
00383 
00384     // 6.28
00385     virtual void confirmInteractionTransportationTypeChange (
00386         InteractionClassHandle theInteraction,
00387         TransportationType theTransportation)
00388         throw (
00389         FederateInternalError);
00390 
00391     // 6.30
00392     virtual void reportInteractionTransportationType (
00393         FederateHandle federateHandle,
00394         InteractionClassHandle theInteraction,
00395         TransportationType  theTransportation)
00396         throw (
00397         FederateInternalError);
00398 
00402 
00404     virtual
00405         void
00406         requestAttributeOwnershipAssumption
00407         (rti1516e::ObjectInstanceHandle theObject,
00408         rti1516e::AttributeHandleSet const & offeredAttributes,
00409         rti1516e::VariableLengthData const & theUserSuppliedTag)
00410         throw (rti1516e::FederateInternalError);
00411 
00413     virtual
00414         void
00415         requestDivestitureConfirmation
00416         (rti1516e::ObjectInstanceHandle theObject,
00417         rti1516e::AttributeHandleSet const & releasedAttributes)
00418         throw (rti1516e::FederateInternalError);
00419 
00421     virtual
00422         void
00423         attributeOwnershipAcquisitionNotification
00424         (rti1516e::ObjectInstanceHandle theObject,
00425         rti1516e::AttributeHandleSet const & securedAttributes,
00426         rti1516e::VariableLengthData const & theUserSuppliedTag)
00427         throw (rti1516e::FederateInternalError);
00428 
00430     virtual
00431         void
00432         attributeOwnershipUnavailable
00433         (rti1516e::ObjectInstanceHandle theObject,
00434         rti1516e::AttributeHandleSet const & theAttributes)
00435         throw (rti1516e::FederateInternalError);
00436 
00438     virtual
00439         void
00440         requestAttributeOwnershipRelease
00441         (rti1516e::ObjectInstanceHandle theObject,
00442         rti1516e::AttributeHandleSet const & candidateAttributes,
00443         rti1516e::VariableLengthData const & theUserSuppliedTag)
00444         throw (rti1516e::FederateInternalError);
00445 
00447     virtual
00448         void
00449         confirmAttributeOwnershipAcquisitionCancellation
00450         (rti1516e::ObjectInstanceHandle theObject,
00451         rti1516e::AttributeHandleSet const & theAttributes)
00452         throw (rti1516e::FederateInternalError);
00453 
00455     virtual
00456         void
00457         informAttributeOwnership(rti1516e::ObjectInstanceHandle theObject,
00458         rti1516e::AttributeHandle theAttribute,
00459         rti1516e::FederateHandle theOwner)
00460         throw (rti1516e::FederateInternalError);
00461 
00462     virtual
00463         void
00464         attributeIsNotOwned(rti1516e::ObjectInstanceHandle theObject,
00465         rti1516e::AttributeHandle theAttribute)
00466         throw (rti1516e::FederateInternalError);
00467 
00468     virtual
00469         void
00470         attributeIsOwnedByRTI(rti1516e::ObjectInstanceHandle theObject,
00471         rti1516e::AttributeHandle theAttribute)
00472         throw (rti1516e::FederateInternalError);
00473 
00477 
00479     virtual
00480         void
00481         timeRegulationEnabled(rti1516e::LogicalTime const & theFederateTime)
00482         throw (rti1516e::FederateInternalError);
00483 
00485     virtual
00486         void
00487         timeConstrainedEnabled(rti1516e::LogicalTime const & theFederateTime)
00488         throw (rti1516e::FederateInternalError);
00489 
00491     virtual
00492         void
00493         timeAdvanceGrant(rti1516e::LogicalTime const & theTime)
00494         throw (rti1516e::FederateInternalError);
00495 
00497     virtual
00498         void
00499         requestRetraction(rti1516e::MessageRetractionHandle theHandle)
00500         throw (rti1516e::FederateInternalError);
00501 
00502 protected:
00503 
00505     virtual DtFomClassMgr* fom();
00506     virtual DtObjectMgr* objMgr();
00507 
00508 protected:
00509     DtFederateMgr* myFedMgr;
00510 };
00511 
00512 #endif //! DtIFSPEC1516
00513 #endif //! DtFedAmbPrinter1516_h

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)