📄 pluginmessage.hpp
字号:
/* * =========================================================================== * PRODUCTION $Log: PluginMessage.hpp,v $ * PRODUCTION Revision 1000.1 2004/04/12 18:14:45 gouriano * PRODUCTION PRODUCTION: UPGRADED [CATCHUP_003] Dev-tree R1.4 * PRODUCTION * =========================================================================== *//* $Id: PluginMessage.hpp,v 1000.1 2004/04/12 18:14:45 gouriano Exp $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" under the * terms of the United States Copyright Act. It was written as part of * the author's official duties as a United States Government employee and * thus cannot be copyrighted. This software/database is freely available * to the public for use. The National Library of Medicine and the U.S. * Government have not placed any restriction on its use or reproduction. * * Although all reasonable efforts have been taken to ensure the accuracy * and reliability of the software and data, the NLM and the U.S. * Government do not and cannot warrant the performance or results that * may be obtained by using this software or data. The NLM and the U.S. * Government disclaim all warranties, express or implied, including * warranties of performance, merchantability or fitness for any particular * purpose. * * Please cite the author in any work or product based on this material. * * =========================================================================== * * Author: ....... * * File Description: * ....... * * Remark: * This code was originally generated by application DATATOOL * using specifications from the data definition file * 'plugin.asn'. */#ifndef GUI_PLUGIN_PLUGINMESSAGE_HPP#define GUI_PLUGIN_PLUGINMESSAGE_HPP#include <corelib/ncbistre.hpp>#include <gui/utils/reporter.hpp>// generated includes#include <gui/plugin/PluginMessage_.hpp>// generated classesBEGIN_NCBI_SCOPEBEGIN_objects_SCOPE // namespace ncbi::objects::class NCBI_XGBPLUGIN_EXPORT CPluginMessage : public CPluginMessage_Base{ typedef CPluginMessage_Base Tparent;public: // constructor CPluginMessage(void); // destructor ~CPluginMessage(void); typedef unsigned int TId; TId GetId(void) const; string ToString(void) const; void SetReporter(IReporter* reporter); IReporter* SetReporter(); const IReporter* GetReporter() const;private: // Prohibit copy constructor and assignment operator CPluginMessage(const CPluginMessage& value); CPluginMessage& operator=(const CPluginMessage& value); // data TId m_Id; IReporter* m_Reporter;};/////////////////// CPluginMessage inline methodsinlineCPluginMessage::TId CPluginMessage::GetId(void) const{ return m_Id;}inlineCNcbiOstream& operator<< (const CPluginMessage& msg, CNcbiOstream& os) { os << msg.ToString(); return os;}/////////////////// end of CPluginMessage inline methodsEND_objects_SCOPE // namespace ncbi::objects::END_NCBI_SCOPE/** ===========================================================================** $Log: PluginMessage.hpp,v $* Revision 1000.1 2004/04/12 18:14:45 gouriano* PRODUCTION: UPGRADED [CATCHUP_003] Dev-tree R1.4** Revision 1.4 2004/03/31 15:24:42 dicuccio* Added IReporter member in derived class** Revision 1.3 2003/08/05 16:58:07 dicuccio* Removed mutex in PluginMessage - replace with CAtomicCounter** Revision 1.2 2003/07/15 01:58:05 ucko* Make the guard for sm_NextId a static class member, since Darwin's* shared-library linker doesn't like inline functions with static locals.** Revision 1.1 2003/07/14 11:06:23 shomrat* Initial Revision*** ===========================================================================*/#endif // GUI_PLUGIN_PLUGINMESSAGE_HPP/* Original file checksum: lines: 93, chars: 2469, CRC32: abd79101 */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -