00001
00002
00003 #ifndef _CORBA__LOCALOBJECT_H
00004 #define _CORBA__LOCALOBJECT_H
00005
00006 #include "corba/idl_types.h"
00007 #include "corba/Object.h"
00008
00009 namespace CORBA {
00010
00011 class LocalObject;
00012 typedef LocalObject* LocalObject_ptr;
00013
00015 Boolean is_nil(LocalObject_ptr);
00016
00021 class LocalObject : virtual public Object
00022 {
00023
00024 public:
00025
00027 virtual ~LocalObject();
00028
00030 virtual void _add_ref ();
00031
00036 virtual void _remove_ref ();
00037
00039 virtual ULong _refcount_value() const;
00040
00041 protected:
00042
00044 LocalObject();
00045
00046 protected:
00047
00049 ULong m_refcount;
00050 };
00051
00052
00053 }
00054
00055 #endif
00056