📄 statushandler.hpp
字号:
// -*-c++-*-
/***************************************************************************
statushandler.hpp
Interface for handling parse notifications
-------------------
begin : 16-JUN-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 RCSS_CONF_STATUSHANDLER_HPP
#define RCSS_CONF_STATUSHANDLER_HPP
#include "../rcssbaseconfig.hpp"
#include <string>
#include <vector>
#include <boost/filesystem/path.hpp>
namespace rcss
{
namespace conf
{
class Builder;
class StatusHandler
{
public:
RCSSBASE_API
StatusHandler();
RCSSBASE_API
virtual
~StatusHandler();
/// called after a hander has been subscribed
RCSSBASE_API
virtual
void
handlerAdded( Builder& publisher );
/// called after a handler has been unsubscribed
RCSSBASE_API
virtual
void
handlerRemoved( Builder& publisher );
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 );
};
}
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -