Public Member Functions | Private Attributes

game_events::event_handler Class Reference

#include <game_events.hpp>

Collaboration diagram for game_events::event_handler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 event_handler (const config &cfg, bool is_menu_item=false)
bool matches_name (const std::string &name) const
bool disabled () const
bool is_menu_item () const
void handle_event (const queued_event &event_info)
const configget_config () const

Private Attributes

bool first_time_only_
bool disabled_
bool is_menu_item_
config cfg_

Detailed Description

Definition at line 85 of file game_events.hpp.


Constructor & Destructor Documentation

game_events::event_handler::event_handler ( const config cfg,
bool  is_menu_item = false 
)

Definition at line 3273 of file game_events.cpp.


Member Function Documentation

bool game_events::event_handler::disabled (  )  const [inline]

Definition at line 92 of file game_events.hpp.

References disabled_.

Referenced by process_event().

Here is the caller graph for this function:

const config& game_events::event_handler::get_config (  )  const [inline]

Definition at line 97 of file game_events.hpp.

References cfg_.

Referenced by process_event(), and WML_HANDLER_FUNCTION().

Here is the caller graph for this function:

void game_events::event_handler::handle_event ( const queued_event event_info  ) 

Definition at line 3278 of file game_events.cpp.

References cfg_, DBG_NG, disabled_, first_time_only_, game_events::handle_event_commands(), and is_menu_item_.

Referenced by process_event().

Here is the call graph for this function:

Here is the caller graph for this function:

bool game_events::event_handler::is_menu_item (  )  const [inline]

Definition at line 93 of file game_events.hpp.

References is_menu_item_.

Referenced by commit_wmi_commands().

Here is the caller graph for this function:

bool game_events::event_handler::matches_name ( const std::string &  name  )  const

Definition at line 3314 of file game_events.cpp.

References cfg_, and gui2::event::find().

Referenced by commit_wmi_commands().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 102 of file game_events.hpp.

Referenced by get_config(), handle_event(), and matches_name().

Definition at line 100 of file game_events.hpp.

Referenced by disabled(), and handle_event().

Definition at line 99 of file game_events.hpp.

Referenced by handle_event().

Definition at line 101 of file game_events.hpp.

Referenced by handle_event(), and is_menu_item().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:20:46 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs