Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

java_lang_Runnable.h

00001 #ifndef xmogInc_javalangRunnable
00002 #define xmogInc_javalangRunnable
00003 
00004 #   if !defined(JMS_DECLSPEC )
00005 #       if defined(_MSC_VER)
00006 #           pragma message( "Relying on default definition of JMS_DECLSPEC " )
00007 #       endif /* defined(_MSC_VER) */
00008         // the following default definition works for all non-Windows platforms and for
00009         // executable projects on Windows where the sources are built directly into the binary
00010 #       define JMS_DECLSPEC 
00011 #   endif /* !defined(JMS_DECLSPEC ) */
00012 
00013     namespace java
00014     {
00015         namespace lang
00016         {
00017             class Runnable;
00018         }
00019     }
00020 
00021 #   include "java_lang_Object.h"
00022 
00023     // work around MFC definitions of 'new' and 'delete' that cause compilation errors
00024 #   if (XMOG_UNDEFINE_MEM_OPERATORS==1)
00025 #       if defined(new)
00026 #           undef new
00027 #       endif /* defined(new) */
00028 #       if defined(delete)
00029 #           undef delete
00030 #       endif /* defined(delete) */
00031 #   endif /* (XMOG_UNDEFINE_MEM_OPERATORS==1) */
00032 
00062     class JMS_DECLSPEC java::lang::Runnable : 
00063         public virtual ::java::lang::Object
00064     {
00065     public:
00066         enum 
00067         {
00068             xmogDefaultFlags = xmog_base::GLOBAL,
00069             xmogMajorVersion = 3,
00070             xmogMinorVersion = 2,
00071             xmogPatchVersion = 9,
00072             xmogBuildNumber = 2047
00073         };
00074 
00075     public:
00076 
00077         typedef ::xmog_java_array_template< ::java::lang::Runnable > array1D;
00078 
00079         typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::lang::Runnable > > array2D;
00080 
00082 
00099         Runnable( );
00100 
00113         Runnable( const ::java::lang::Runnable & _rhs );
00114 
00127         Runnable( jobject _local, xmog_flags f_xflags );
00128 
00141         Runnable( const ::xmog_null & _null_instance );
00142 
00153         Runnable( ::xmog_java_array * _arr, jint _index );
00154 
00168         Runnable( const ::java::lang::Runnable & _rhs, ::xmog_localenv * p_lxenv );
00169 
00181         XMOG_EXPLICIT Runnable( ::xmog_base * _delegate, bool _owns_delegate = true );
00182 
00196         Runnable( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00197 
00204         ~Runnable( );
00205 
00218         java::lang::Runnable operator =( const java::lang::Runnable & _rhs );
00219 
00234         void operator delete( void * _ptr );
00235 
00236 #       if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00252             void operator delete( void * ptr, void * loc );
00253 #       endif /* (XMOG_SUPPORTS_PLACEMENT_DELETE==1) */
00254 
00269         void * operator new( size_t _size );
00270 
00271 #       if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00289             void * operator new( size_t _size, void * _ptr );
00290 #       endif /* (XMOG_SUPPORTS_PLACEMENT_NEW==1) */
00291 
00312         static ::java::lang::Runnable dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00313 
00327         static ::xmog_java_class * get_class( );
00328 
00337         static ::xmog_java_class * get_element_class( );
00338 
00340 
00359         virtual void run( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00360 
00362 
00381         virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00383 
00384     };
00385 #endif /* xmogInc_javalangRunnable */
00386 

Generated on Fri Jun 16 10:18:56 2006 for JMS Courier for C++ by  doxygen 1.4.1