📄 declarationmanagement.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: DeclarationManagement.hh,v 3.6 2003/07/10 15:06:49 breholee Exp $// ----------------------------------------------------------------------------#ifndef _CERTI_RTIA_DM#define _CERTI_RTIA_DM#include "FederationManagement.hh"#include "Communications.hh"#include "Files.hh"#include "baseTypes.hh"#include "RTItypes.hh"#include "RootObject.hh"#include "PrettyDebug.hh"namespace certi {namespace rtia {// Prototypes de classes existantesclass Communications ;class Queues ;class FederationManagement ;// Classe de gestion des declarations(publications et subscriptions).class DeclarationManagement{public: DeclarationManagement(Communications*, FederationManagement*, RootObject*); ~DeclarationManagement(); void publishObjectClass(ObjectClassHandle theClassHandle, AttributeHandle *attribArray, UShort attribArraySize, TypeException &e); void unpublishObjectClass(ObjectClassHandle theClassHandle, TypeException &e); void publishInteractionClass(InteractionClassHandle theInteractionHandle, TypeException &e); void unpublishInteractionClass(InteractionClassHandle theInteractionHandle, TypeException &e); void subscribeObjectClassAttribute(ObjectClassHandle theClassHandle, AttributeHandle *attribArray, UShort attribArraySize, TypeException &e); void unsubscribeObjectClassAttribute(ObjectClassHandle theClassHandle, TypeException &e); void subscribeInteractionClass(InteractionClassHandle theClassHandle, TypeException &e); void unsubscribeInteractionClass(InteractionClassHandle theClassHandle, TypeException &e); void startRegistrationForObjectClass(ObjectClassHandle theClass, TypeException &e); void stopRegistrationForObjectClass(ObjectClassHandle theClass, TypeException &e); void turnInteractionsOn(InteractionClassHandle theHandle, TypeException &e); void turnInteractionsOff(InteractionClassHandle theHandle, TypeException &e);protected: Communications *comm ; Queues *queues ; FederationManagement *fm ; RootObject *rootObject ;};}} // namespace certi/rtia#endif // _CERTI_RTIA_DM// $Id: DeclarationManagement.hh,v 3.6 2003/07/10 15:06:49 breholee Exp $
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -