Object.h File Reference

#include "beecrypt/c++/lang/CloneNotSupportedException.h"
#include "beecrypt/c++/lang/InterruptedException.h"
#include "beecrypt/c++/lang/IllegalMonitorStateException.h"
#include "beecrypt/c++/lang/RuntimeException.h"

Include dependency graph for Object.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

class  beecrypt::lang::Object
class  beecrypt::lang::Object::Object::Monitor
 This class is used to emulate Java's lock/wait/notify methods. More...
class  beecrypt::lang::Object::Object::NonfairMonitor
 A Non-fair Monitor.
class  beecrypt::lang::Object::Object::FairMonitor
struct  beecrypt::lang::Object::Object::FairMonitor::Object::FairMonitor::waiter
class  beecrypt::lang::Object::Object::Synchronizer
 This class is used to emulate Java's 'synchronized' methods. More...

Namespaces

namespace  beecrypt
namespace  beecrypt::util
 Namespace emulating java.util.
namespace  beecrypt::util::concurrent
 Namespace emulating java.util.concurrent.
namespace  beecrypt::util::concurrent::locks
 Namespace emulating java.util.concurrent.locks.
namespace  beecrypt::lang
 Namespace emulating java.lang.

Defines

#define synchronized(obj)   for (Object::Synchronizer _s(obj); _s.checkonce(); )
 Macro used to emulate Java's synchronization primitive.

Functions

void beecrypt::lang::collection_attach (Object *) throw ()
 This function is used inside a collection to indicate that the object is now attached to it.
void beecrypt::lang::collection_detach (Object *) throw ()
 This function is used inside a collection to indicate that the object has been detached to it.
void beecrypt::lang::collection_remove (Object *) throw ()
 This function is used inside a collection to detach the object, and delete it if no longer attached to any other collections.
void beecrypt::lang::collection_rcheck (Object *) throw ()
 This function checks if an object needs to be recycled: the object is deleted if no longer attached to any collection.


Detailed Description

Credit for the technique of emulating POSIX condition variables on Win32 goes to Douglas C. Schmidt and Irfan Pyarali.

See also:
http://www.cs.wustl.edu/~schmidt/win32-cv-1.html

Define Documentation

#define synchronized ( obj   )     for (Object::Synchronizer _s(obj); _s.checkonce(); )

Macro used to emulate Java's synchronization primitive.


Generated on Fri Jun 19 13:39:41 2009 for BeeCrypt C++ by  doxygen 1.5.8