gnash::as_accessors::ScopedLock Class Reference

#include <Property.h>

List of all members.

Public Member Functions

 ScopedLock (const as_accessors &na)
 ~ScopedLock ()
bool obtained () const
 Return true if the lock was obtained.


Detailed Description

For SWF6 (not higher) a setter would not be invoked while being set. This ScopedLock helps marking a Getter-Setter as being invoked in an exception-safe manner.

Constructor & Destructor Documentation

gnash::as_accessors::ScopedLock::ScopedLock ( const as_accessors na  )  [inline]

gnash::as_accessors::ScopedLock::~ScopedLock (  )  [inline]


Member Function Documentation

bool gnash::as_accessors::ScopedLock::obtained (  )  const [inline]

Return true if the lock was obtained.

If false is returned, we're being called recursively, which means we should set the underlyingValue instead of calling the setter (for SWF6, again).


The documentation for this class was generated from the following file:
Generated on Thu Mar 6 18:25:11 2008 for Gnash by  doxygen 1.5.4