PlatformSpecific::ScopeLock Class Reference

#include <Platform.hpp>

List of all members.


Detailed Description

A simple scope monitoring locking object.

Usage is very basic:

            struct SomeSharedStruct
            {
                // Members here
                // Then... the lock
                volatile FastLock    lock;
             
                void someMethod() { ScopeLock(lock); someMethodThatRequiresLocking(); }
                void someMethodThatRequiresLocking();
            };


Public Member Functions

 ScopeLock (FastLock &_lock)
 ScopeLock (volatile FastLock &_lock)
 ~ScopeLock ()


Constructor & Destructor Documentation

PlatformSpecific::ScopeLock::ScopeLock ( volatile FastLock _lock  )  [inline]

PlatformSpecific::ScopeLock::ScopeLock ( FastLock _lock  )  [inline]

PlatformSpecific::ScopeLock::~ScopeLock (  )  [inline]


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

(C) An X-Ryl669 project 2007

This document describes Unlimited Zooming Interface source code. UZI stands for Unlimited Zooming Interface, and source code license is