Handles the current state of WML-events. More...
#include "global.hpp"
#include "pump.hpp"
#include "conditional_wml.hpp"
#include "handlers.hpp"
#include "manager.hpp"
#include "display_chat_manager.hpp"
#include "game_config.hpp"
#include "game_display.hpp"
#include "game_data.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "play_controller.hpp"
#include "scripting/game_lua_kernel.hpp"
#include "side_filter.hpp"
#include "units/unit.hpp"
#include "units/map.hpp"
#include "whiteboard/manager.hpp"
#include "variable.hpp"
#include "resources.hpp"
#include <iomanip>
#include <iostream>
Go to the source code of this file.
Classes | |
struct | game_events::context::state |
State when processing a particular flight of events or commands. More... | |
class | game_events::context::scoped |
struct | game_events::pump_impl |
Namespaces | |
game_events | |
Domain specific events. | |
game_events::context | |
Macros | |
#define | DBG_NG LOG_STREAM(debug, log_engine) |
#define | LOG_NG LOG_STREAM(info, log_engine) |
#define | ERR_NG LOG_STREAM(err, log_engine) |
#define | DBG_WML LOG_STREAM(debug, log_wml) |
#define | LOG_WML LOG_STREAM(info, log_wml) |
#define | WRN_WML LOG_STREAM(warn, log_wml) |
#define | ERR_WML LOG_STREAM(err, log_wml) |
#define | DBG_EH LOG_STREAM(debug, log_event_handler) |
Variables | |
static lg::log_domain | log_engine ("engine") |
static lg::log_domain | log_wml ("wml") |
static lg::log_domain | log_event_handler ("event_handler") |
Handles the current state of WML-events.
This includes raising and firing, as well as tracking the context for event firing.
Definition in file pump.cpp.
#define DBG_EH LOG_STREAM(debug, log_event_handler) |
Definition at line 58 of file pump.cpp.
Referenced by game_events::t_pump::operator()(), and game_events::t_pump::raise().
#define DBG_NG LOG_STREAM(debug, log_engine) |
#define DBG_WML LOG_STREAM(debug, log_wml) |
#define ERR_NG LOG_STREAM(err, log_engine) |
Definition at line 49 of file pump.cpp.
Referenced by game_events::t_pump::operator()().
#define ERR_WML LOG_STREAM(err, log_wml) |
#define LOG_NG LOG_STREAM(info, log_engine) |
#define LOG_WML LOG_STREAM(info, log_wml) |
#define WRN_WML LOG_STREAM(warn, log_wml) |
pump_impl& impl_ |
Definition at line 134 of file pump.cpp.
Referenced by game_events::t_pump::context_mutated(), game_events::t_pump::context_skip_messages(), game_events::t_pump::operator()(), game_events::t_pump::raise(), and game_events::t_pump::wml_tracking().
|
static |
|
static |
|
static |
Referenced by game_events::t_pump::put_wml_message().
size_t pumped_count_ |
std::vector<queued_event> queue_ |