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

📄 streamstatushandler.hpp

📁 robocup rcssbase-11.1.0(1).zip
💻 HPP
字号:
// -*-c++-*-

/***************************************************************************
                         streamstatushandler.hpp  
                Interface for writing parser notifactions to streams
                             -------------------
    begin                : 14-MAY-2003
    copyright            : (C) 2003 by The RoboCup Soccer Server 
                           Maintenance Group.
    email                : sserver-admin@lists.sourceforge.net
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU LGPL as published by the Free Software  *
 *   Foundation; either version 2 of the License, or (at your option) any  *
 *   later version.                                                        *
 *                                                                         *
 ***************************************************************************/

#ifndef STREAMSTATUSHANDLER_HPP
#define STREAMSTATUSHANDLER_HPP

#include "../rcssbaseconfig.hpp"
#include "statushandler.hpp"
#include <iosfwd>

namespace rcss
{
	namespace conf
	{
		class StreamStatusHandler
			: public StatusHandler
		{
		public:
			RCSSBASE_API
			StreamStatusHandler();

			RCSSBASE_API
			StreamStatusHandler( std::ostream& errstrm );
		  
			RCSSBASE_API
			virtual
			~StreamStatusHandler();

			RCSSBASE_API
			virtual
			void
			parseError( const std::string& curr,
						const std::string& err,
						const std::string& name,
						int lineno );
		  
			RCSSBASE_API
			virtual
			void
			buildError( const std::string& module,
						const std::string& param,
						const std::string& err,
						const std::string& name,
						int lineno );

			RCSSBASE_API
			virtual
			void
			buildWarning( const std::string& module,
						  const std::string& param,
						  const std::string& warn,
						  const std::string& name,
						  int lineno );

			RCSSBASE_API
			virtual
			void
			creatingConfFile( const std::string& conf_name );
		  
			RCSSBASE_API
			virtual
			void
			createdConfFile( const std::string& conf_name );
		  
			RCSSBASE_API
			virtual
			void
			confCreationFailed( const std::string& conf_name,
								int error );

			RCSSBASE_API
			virtual
			void
			includeFailed( const std::string& filename,
						   const std::string& error,
						   const std::string& name,
						   int lineno );

			RCSSBASE_API
			virtual
			void
			loadFailed( const std::string& libname,
						const std::string& error,
						const std::vector< boost::filesystem::path >& avail,
						const std::string& name,
						int lineno );
		private:
			std::ostream& m_errstrm;
		};       
	}
}

#endif

⌨️ 快捷键说明

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