update_locker Struct Reference

#include <video.hpp>

Collaboration diagram for update_locker:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 update_locker (CVideo &v, bool lock=true)
 ~update_locker ()
void unlock_update ()

Private Attributes

CVideovideo
bool unlock


Detailed Description

Definition at line 115 of file video.hpp.


Constructor & Destructor Documentation

update_locker::update_locker ( CVideo v,
bool  lock = true 
) [inline]

Definition at line 117 of file video.hpp.

References CVideo::lock_updates(), and video.

update_locker::~update_locker (  )  [inline]

Definition at line 123 of file video.hpp.

References unlock_update().


Member Function Documentation

void update_locker::unlock_update (  )  [inline]

Definition at line 127 of file video.hpp.

References CVideo::lock_updates(), unlock, and video.

Referenced by ~update_locker().


Member Data Documentation

Definition at line 135 of file video.hpp.

Referenced by unlock_update(), and update_locker().

bool update_locker::unlock [private]

Definition at line 136 of file video.hpp.

Referenced by unlock_update().


The documentation for this struct was generated from the following file:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs