⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 billardnull.hh

📁 分布式仿真 开放源码
💻 HH
字号:
// ----------------------------------------------------------------------------// CERTI - HLA RunTime Infrastructure// Copyright (C) 2002, 2003  ONERA//// This file is part of CERTI//// CERTI is free software ; you can redistribute it and/or modify// it under the terms of the GNU General Public License as published by// the Free Software Foundation ; either version 2 of the License, or// (at your option) any later version.//// CERTI is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY ; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the// GNU General Public License for more details.//// You should have received a copy of the GNU General Public License// along with this program ; if not, write to the Free Software// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA//// $Id: BillardNull.hh,v 3.2 2004/03/04 20:19:05 breholee Exp $// ----------------------------------------------------------------------------#ifndef CERTI_BILLARD_NULL_HH#define CERTI_BILLARD_NULL_HH#include "RTI.hh"class BillardNull : public FederateAmbassador{public:    void announceSynchronizationPoint(const char *label, const char *tag)        throw (FederateInternalError);    void synchronizationPointRegistrationSucceeded(const char *label)        throw (FederateInternalError);    void synchronizationPointRegistrationFailed(const char *label)        throw (FederateInternalError);    void federationSynchronized(const char *label)        throw (FederateInternalError);    void initiateFederateSave(const char *)        throw (FederateInternalError) {}    void federationSaved()        throw (FederateInternalError) {}    void requestFederationRestoreSucceeded(const char *)        throw (FederateInternalError) {}    void requestFederationRestoreFailed(const char *,                                        const char *)        throw (FederateInternalError) {}    void federationRestoreBegun()        throw (FederateInternalError) {}    void initiateFederateRestore(const char *,                                 RTI::FederateHandle)        throw (SpecifiedSaveLabelDoesNotExist,               CouldNotRestore,               FederateInternalError) {}    void federationRestored()        throw (FederateInternalError) {}    void federationNotRestored()        throw (FederateInternalError) {}    void removeObjectInstance(ObjectHandle theObject, const FedTime& theTime,                              const char *theTag,                              EventRetractionHandle theHandle)        throw (ObjectNotKnown, InvalidFederationTime, FederateInternalError);    void timeAdvanceGrant(const FedTime& theTime)        throw (InvalidFederationTime, TimeAdvanceWasNotInProgress,               FederationTimeAlreadyPassed, FederateInternalError);    void startRegistrationForObjectClass(ObjectClassHandle theClass)        throw (ObjectClassNotPublished,               FederateInternalError);    void stopRegistrationForObjectClass(ObjectClassHandle theClass)        throw (ObjectClassNotPublished,               FederateInternalError);    void turnInteractionsOn(InteractionClassHandle theHandle)        throw (InteractionClassNotPublished, FederateInternalError);    void turnInteractionsOff(InteractionClassHandle theHandle)        throw (InteractionClassNotPublished, FederateInternalError);    void discoverObjectInstance(ObjectHandle theObject,                                ObjectClassHandle theObjectClass,                                const char *theObjectName)        throw (CouldNotDiscover, ObjectClassNotKnown, InvalidFederationTime,               FederateInternalError);    void reflectAttributeValues(ObjectHandle theObject,                                const AttributeHandleValuePairSet& theAttributes,                                const FedTime& theTime, const char *theTag,                                EventRetractionHandle theHandle)        throw (ObjectNotKnown, AttributeNotKnown, InvalidFederationTime,               FederateInternalError);    void receiveInteraction(InteractionClassHandle theInteraction,                            const ParameterHandleValuePairSet& theParameters,                            const FedTime& theTime, const char *theTag,                            EventRetractionHandle theHandle)        throw (InteractionClassNotKnown, InteractionParameterNotKnown,               InvalidFederationTime, FederateInternalError);    void timeRegulationEnabled(const FedTime& theTime)        throw (InvalidFederationTime, EnableTimeRegulationWasNotPending,               FederateInternalError);    Boolean isAttributeOwnedByFederate(        ObjectHandle theObject,        AttributeHandle theAttribute)        throw (            ObjectNotKnown,            AttributeNotDefined,            FederateNotExecutionMember,            ConcurrentAccessAttempted,            SaveInProgress,            RestoreInProgress,            RTIinternalError);    void attributeIsNotOwned(        ObjectHandle theObject, // supplied C1        AttributeHandle theAttribute) // supplied C1        throw (            ObjectNotKnown,            AttributeNotKnown,            FederateInternalError);    void informAttributeOwnership(        ObjectHandle theObject, // supplied C1        AttributeHandle theAttribute, // supplied C1        FederateHandle theOwner) // supplied C1        throw (            ObjectNotKnown,            AttributeNotKnown,            FederateInternalError);    void attributeOwnershipUnavailable(        ObjectHandle theObject,        const AttributeHandleSet& offeredAttributes)        throw (            ObjectNotKnown,            AttributeNotDefined,            AttributeAlreadyOwned,            AttributeAcquisitionWasNotRequested,            FederateInternalError);    void attributeOwnershipAcquisitionNotification(        ObjectHandle theObject,        const AttributeHandleSet& securedAttributes)        throw (            ObjectNotKnown,            AttributeNotKnown,            AttributeAcquisitionWasNotRequested,            AttributeAlreadyOwned,            AttributeNotPublished,            FederateInternalError);    void requestAttributeOwnershipAssumption(        ObjectHandle theObject,        const AttributeHandleSet& offeredAttributes,        const char *theTag)        throw (            ObjectNotKnown,            AttributeNotKnown,            AttributeAlreadyOwned,            AttributeNotPublished,            FederateInternalError);    void attributeOwnershipDivestitureNotification(        ObjectHandle theObject,        const AttributeHandleSet& releasedAttributes)        throw (            ObjectNotKnown,            AttributeNotKnown,            AttributeNotOwned,            AttributeDivestitureWasNotRequested,            FederateInternalError);    void requestAttributeOwnershipRelease(        ObjectHandle theObject, // supplied C1        const AttributeHandleSet& candidateAttributes, // supplied C4        const char *theTag) // supplied C4        throw (            ObjectNotKnown,            AttributeNotKnown,            AttributeNotOwned,            FederateInternalError);    void confirmAttributeOwnershipAcquisitionCancellation(        ObjectHandle theObject, // supplied C1        const AttributeHandleSet& theAttributes) // supplied C4        throw (            ObjectNotKnown,            AttributeNotKnown,            AttributeAlreadyOwned,            AttributeAcquisitionWasNotCanceled,            FederateInternalError);};#endif // CERTI_BILLARD_NULL_HH// $Id: BillardNull.hh,v 3.2 2004/03/04 20:19:05 breholee Exp $

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -