Context state with automatic lifetime handling. More...

Public Member Functions | |
| scoped_context () | |
| ~scoped_context () | |
Public Attributes | |
| event_context * | old_context |
| event_context | new_context |
Context state with automatic lifetime handling.
Definition at line 101 of file game_events.cpp.
| scoped_context::scoped_context | ( | ) | [inline] |
Definition at line 106 of file game_events.cpp.
References new_context.
| scoped_context::~scoped_context | ( | ) | [inline] |
Definition at line 113 of file game_events.cpp.
References event_context::mutated, new_context, and old_context.
Definition at line 104 of file game_events.cpp.
Referenced by scoped_context(), and ~scoped_context().
Definition at line 103 of file game_events.cpp.
Referenced by ~scoped_context().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:14:06 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |