MAK RTIspy API Documentation for HLA 1516
hlaBounceFedAmb1516e.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2004 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: rtiSimpleFedAmb1516.h,v $ $Revision: 1.2 $ $State: Exp $
00007 *******************************************************************************/
00008 
00009 #ifndef HlaBounceFederateAmbassador_H_
00010 #define HlaBounceFederateAmbassador_H_
00011 
00012 #pragma warning(disable: 4251)
00013 #pragma warning(disable: 4786)
00014 #pragma warning(disable: 4290)
00015 
00016 #include <RTI/RTI1516.h>
00017 #include <RTI/NullFederateAmbassador.h>
00018 #include <string>
00019 #include <map>
00020 
00021 class BallController1516e;
00022 
00023 class HlaBounceFederateAmbassador : public rti1516e::NullFederateAmbassador
00024 {
00025 public:
00026 
00027    HlaBounceFederateAmbassador(BallController1516e* ballController);
00028 
00029    virtual ~HlaBounceFederateAmbassador() 
00030      throw ();
00031 
00032    virtual void objectInstanceNameReservationSucceeded(
00033       std::wstring const& theObjectInstanceName)
00034       throw (rti1516e::FederateInternalError);
00035 
00036    virtual void objectInstanceNameReservationFailed(
00037       std::wstring const& theObjectInstanceName)
00038       throw (rti1516e::FederateInternalError);
00039 
00040    virtual void discoverObjectInstance(
00041       rti1516e::ObjectInstanceHandle theObject,
00042       rti1516e::ObjectClassHandle theObjectClass,
00043       std::wstring const & theObjectInstanceName)
00044       throw (rti1516e::FederateInternalError);
00045 
00046    virtual void discoverObjectInstance (
00047       rti1516e::ObjectInstanceHandle theObject,
00048       rti1516e::ObjectClassHandle theObjectClass,
00049       std::wstring const & theObjectInstanceName,
00050       rti1516e::FederateHandle producingFederate)
00051       throw (rti1516e::FederateInternalError);
00052 
00053    virtual void reflectAttributeValues(
00054       rti1516e::ObjectInstanceHandle theObject,
00055       rti1516e::AttributeHandleValueMap const & theAttributeValues,
00056       rti1516e::VariableLengthData const & theUserSuppliedTag,
00057       rti1516e::OrderType sentOrder,
00058       rti1516e::TransportationType theType,
00059       rti1516e::SupplementalReflectInfo theReflectInfo)
00060       throw (rti1516e::FederateInternalError);
00061 
00062    virtual void reflectAttributeValues(
00063       rti1516e::ObjectInstanceHandle theObject,
00064       rti1516e::AttributeHandleValueMap const & theAttributeValues,
00065       rti1516e::VariableLengthData const & theUserSuppliedTag,
00066       rti1516e::OrderType sentOrder,
00067       rti1516e::TransportationType theType,
00068       rti1516e::LogicalTime const & theTime,
00069       rti1516e::OrderType receivedOrder,
00070       rti1516e::SupplementalReflectInfo theReflectInfo)
00071       throw (rti1516e::FederateInternalError);
00072 
00073    virtual void reflectAttributeValues(
00074       rti1516e::ObjectInstanceHandle theObject,
00075       rti1516e::AttributeHandleValueMap const & theAttributeValues,
00076       rti1516e::VariableLengthData const & theUserSuppliedTag,
00077       rti1516e::OrderType sentOrder,
00078       rti1516e::TransportationType theType,
00079       rti1516e::LogicalTime const & theTime,
00080       rti1516e::OrderType receivedOrder,
00081       rti1516e::MessageRetractionHandle theHandle,
00082       rti1516e::SupplementalReflectInfo theReflectInfo)
00083       throw (rti1516e::FederateInternalError);
00084 
00085    virtual void receiveInteraction(
00086       rti1516e::InteractionClassHandle theInteraction,
00087       rti1516e::ParameterHandleValueMap const & theParameterValues,
00088       rti1516e::VariableLengthData const & theUserSuppliedTag,
00089       rti1516e::OrderType sentOrder,
00090       rti1516e::TransportationType theType,
00091       rti1516e::SupplementalReceiveInfo theReceiveInfo)
00092       throw (rti1516e::FederateInternalError);
00093 
00094    virtual void receiveInteraction(
00095       rti1516e::InteractionClassHandle theInteraction,
00096       rti1516e::ParameterHandleValueMap const & theParameterValues,
00097       rti1516e::VariableLengthData const & theUserSuppliedTag,
00098       rti1516e::OrderType sentOrder,
00099       rti1516e::TransportationType theType,
00100       rti1516e::LogicalTime const & theTime,
00101       rti1516e::OrderType receivedOrder,
00102       rti1516e::SupplementalReceiveInfo theReceiveInfo)
00103       throw (rti1516e::FederateInternalError);
00104 
00105    virtual void receiveInteraction(
00106       rti1516e::InteractionClassHandle theInteraction,
00107       rti1516e::ParameterHandleValueMap const & theParameterValues,
00108       rti1516e::VariableLengthData const & theUserSuppliedTag,
00109       rti1516e::OrderType sentOrder,
00110       rti1516e::TransportationType theType,
00111       rti1516e::LogicalTime const & theTime,
00112       rti1516e::OrderType receivedOrder,
00113       rti1516e::MessageRetractionHandle theHandle,
00114       rti1516e::SupplementalReceiveInfo theReceiveInfo)
00115       throw (rti1516e::FederateInternalError);
00116 
00117    virtual void removeObjectInstance(
00118       rti1516e::ObjectInstanceHandle theObject,
00119       rti1516e::VariableLengthData const & theUserSuppliedTag,
00120       rti1516e::OrderType sentOrder,
00121       rti1516e::SupplementalRemoveInfo theRemoveInfo)
00122       throw (rti1516e::FederateInternalError);
00123 
00124    virtual void removeObjectInstance(
00125       rti1516e::ObjectInstanceHandle theObject,
00126       rti1516e::VariableLengthData const & theUserSuppliedTag,
00127       rti1516e::OrderType sentOrder,
00128       rti1516e::LogicalTime const & theTime,
00129       rti1516e::OrderType receivedOrder,
00130       rti1516e::SupplementalRemoveInfo theRemoveInfo)
00131       throw (rti1516e::FederateInternalError);
00132 
00133    virtual void removeObjectInstance(
00134       rti1516e::ObjectInstanceHandle theObject,
00135       rti1516e::VariableLengthData const & theUserSuppliedTag,
00136       rti1516e::OrderType sentOrder,
00137       rti1516e::LogicalTime const & theTime,
00138       rti1516e::OrderType receivedOrder,
00139       rti1516e::MessageRetractionHandle theHandle,
00140       rti1516e::SupplementalRemoveInfo theRemoveInfo)
00141       throw (rti1516e::FederateInternalError);
00142 
00143    virtual void attributesInScope(
00144       rti1516e::ObjectInstanceHandle theObject,
00145       rti1516e::AttributeHandleSet const & theAttributes)
00146       throw (rti1516e::FederateInternalError);
00147 
00148    virtual void attributesOutOfScope(
00149       rti1516e::ObjectInstanceHandle theObject,
00150       rti1516e::AttributeHandleSet const & theAttributes)
00151       throw (rti1516e::FederateInternalError);
00152 
00153    virtual void requestAttributeOwnershipRelease(
00154       rti1516e::ObjectInstanceHandle theObject,
00155       rti1516e::AttributeHandleSet const & candidateAttributes,
00156       rti1516e::VariableLengthData const & theUserSuppliedTag)
00157       throw (rti1516e::FederateInternalError);
00158    
00159    virtual void attributeOwnershipAcquisitionNotification(
00160       rti1516e::ObjectInstanceHandle theObject,
00161       rti1516e::AttributeHandleSet const & securedAttributes,
00162       rti1516e::VariableLengthData const & theUserSuppliedTag)
00163       throw (rti1516e::FederateInternalError);
00164 
00165    virtual void requestAttributeOwnershipAssumption(
00166       rti1516e::ObjectInstanceHandle theObject,
00167       rti1516e::AttributeHandleSet const & offeredAttributes,
00168       rti1516e::VariableLengthData const & theUserSuppliedTag)
00169       throw (rti1516e::FederateInternalError);
00170 
00171    virtual void requestDivestitureConfirmation(
00172       rti1516e::ObjectInstanceHandle theObject,
00173       rti1516e::AttributeHandleSet const & releasedAttributes)
00174       throw (rti1516e::FederateInternalError);
00175 
00176 protected:
00177 
00178    BallController1516e* myBallController;
00179 
00180 };
00181 
00182 #endif

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)