Public Member Functions | Public Attributes

scoped_context Struct Reference

Context state with automatic lifetime handling. More...

Collaboration diagram for scoped_context:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 scoped_context ()
 ~scoped_context ()

Public Attributes

event_contextold_context
event_context new_context

Detailed Description

Context state with automatic lifetime handling.

Definition at line 101 of file game_events.cpp.


Constructor & Destructor Documentation

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.


Member Data Documentation

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().


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

Generated by doxygen 1.7.1 on Fri May 25 2012 01:14:06 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs