Lock.h

Go to the documentation of this file.
00001 #ifndef JAVA_LANG_LOCK_H
00002 #define JAVA_LANG_LOCK_H 1
00003 
00004 #ifndef JAVA_LANG_SCOPEADAPTER_H
00005 #include <java_lang/ScopeAdapter.h>
00006 #endif /* JAVA_LANG_SCOPEADAPTER_H */
00007 
00008 namespace java {
00009   namespace lang {
00010 
00020     class JAVA_LANG_SPEC Lock : public ScopeAdapter {
00021 
00022     public:
00023 
00027       virtual void enter();
00028 
00032       virtual void exit();
00033 
00037       virtual void lock() = 0;
00038 
00042       virtual void unlock() = 0;
00043 
00044     private:
00045 
00046       REGISTER_MEMBERS;
00047 
00048     };
00049 
00050   } // namespace lang
00051 } // namespace java
00052 
00053 #endif /* JAVA_LANG_LOCK_H */

Generated on Fri May 16 11:54:43 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3