1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236
|
// This file is generated by omniidl2- omniORB_2_8. Do not edit.
#ifndef __omniLifeCycle_hh__
#define __omniLifeCycle_hh__
#ifndef USE_omniORB_logStream
#define USE_omniORB_logStream
#endif
#ifndef __CORBA_H_EXTERNAL_GUARD__
#define __CORBA_H_EXTERNAL_GUARD__
#include <omniORB2/CORBA.h>
#endif
#ifdef USE_stub_in_nt_dll
#ifndef USE_core_stub_in_nt_dll
#define USE_core_stub_in_nt_dll
#endif
#ifndef USE_dyn_stub_in_nt_dll
#define USE_dyn_stub_in_nt_dll
#endif
#endif
#ifdef _core_attr
# error "A local CPP macro _core_attr has already been defined."
#else
# ifdef USE_core_stub_in_nt_dll
# define _core_attr _OMNIORB_NTDLL_IMPORT
# else
# define _core_attr
# endif
#endif
#ifdef _dyn_attr
# error "A local CPP macro _dyn_attr has already been defined."
#else
# ifdef USE_dyn_stub_in_nt_dll
# define _dyn_attr _OMNIORB_NTDLL_IMPORT
# else
# define _dyn_attr
# endif
#endif
#ifndef __omniLifeCycleInfo__
#define __omniLifeCycleInfo__
class omniLifeCycleInfo;
typedef omniLifeCycleInfo* omniLifeCycleInfo_ptr;
typedef omniLifeCycleInfo_ptr omniLifeCycleInfoRef;
class omniLifeCycleInfo_Helper {
public:
static omniLifeCycleInfo_ptr _nil();
static CORBA::Boolean is_nil(omniLifeCycleInfo_ptr p);
static void release(omniLifeCycleInfo_ptr p);
static void duplicate(omniLifeCycleInfo_ptr p);
static size_t NP_alignedSize(omniLifeCycleInfo_ptr obj,size_t initialoffset);
static void marshalObjRef(omniLifeCycleInfo_ptr obj,NetBufferedStream &s);
static omniLifeCycleInfo_ptr unmarshalObjRef(NetBufferedStream &s);
static void marshalObjRef(omniLifeCycleInfo_ptr obj,MemBufferedStream &s);
static omniLifeCycleInfo_ptr unmarshalObjRef(MemBufferedStream &s);
};
typedef _CORBA_ObjRef_Var<omniLifeCycleInfo,omniLifeCycleInfo_Helper> omniLifeCycleInfo_var;
typedef _CORBA_ObjRef_OUT_arg<omniLifeCycleInfo,omniLifeCycleInfo_Helper > omniLifeCycleInfo_out;
#endif
#define omniLifeCycleInfo_IntfRepoID "IDL:omniLifeCycleInfo:1.0"
class omniLifeCycleInfo : public virtual omniObject, public virtual CORBA::Object {
public:
virtual void reportMove(CORBA::Object_ptr obj) = 0;
virtual void reportRemove() = 0;
virtual CORBA::Object_ptr homeObject() = 0;
typedef omniLifeCycleInfo_var _var_type;
typedef omniLifeCycleInfo_ptr _ptr_type;
static omniLifeCycleInfo_ptr _duplicate(omniLifeCycleInfo_ptr);
static omniLifeCycleInfo_ptr _narrow(CORBA::Object_ptr);
static omniLifeCycleInfo_ptr _nil();
static inline size_t NP_alignedSize(omniLifeCycleInfo_ptr obj,size_t initialoffset) {
return CORBA::AlignedObjRef(obj,omniLifeCycleInfo_IntfRepoID,26,initialoffset);
}
static inline void marshalObjRef(omniLifeCycleInfo_ptr obj,NetBufferedStream &s) {
CORBA::MarshalObjRef(obj,omniLifeCycleInfo_IntfRepoID,26,s);
}
static inline omniLifeCycleInfo_ptr unmarshalObjRef(NetBufferedStream &s) {
CORBA::Object_ptr _obj = CORBA::UnMarshalObjRef(omniLifeCycleInfo_IntfRepoID,s);
omniLifeCycleInfo_ptr _result = omniLifeCycleInfo::_narrow(_obj);
CORBA::release(_obj);
return _result;
}
static inline void marshalObjRef(omniLifeCycleInfo_ptr obj,MemBufferedStream &s) {
CORBA::MarshalObjRef(obj,omniLifeCycleInfo_IntfRepoID,26,s);
}
static inline omniLifeCycleInfo_ptr unmarshalObjRef(MemBufferedStream &s) {
CORBA::Object_ptr _obj = CORBA::UnMarshalObjRef(omniLifeCycleInfo_IntfRepoID,s);
omniLifeCycleInfo_ptr _result = omniLifeCycleInfo::_narrow(_obj);
CORBA::release(_obj);
return _result;
}
static CORBA::Boolean _0RL_is_a(const char *base_repoId);
protected:
omniLifeCycleInfo() {
if (!is_proxy())
omniObject::PR_IRRepositoryId(omniLifeCycleInfo_IntfRepoID);
this->PR_setobj(this);
}
virtual ~omniLifeCycleInfo();
virtual void *_widenFromTheMostDerivedIntf(const char *repoId,CORBA::Boolean is_cxx_type_id=0);
private:
omniLifeCycleInfo(const omniLifeCycleInfo&);
omniLifeCycleInfo &operator=(const omniLifeCycleInfo&);
};
class _sk_omniLifeCycleInfo : public virtual omniLifeCycleInfo {
public:
_sk_omniLifeCycleInfo() {}
_sk_omniLifeCycleInfo(const omniORB::objectKey& k);
virtual ~_sk_omniLifeCycleInfo();
omniLifeCycleInfo_ptr _this() { return omniLifeCycleInfo::_duplicate(this); }
void _obj_is_ready(CORBA::BOA_ptr boa) { boa->obj_is_ready(this); }
CORBA::BOA_ptr _boa() { return CORBA::BOA::getBOA(); }
void _dispose() { _boa()->dispose(this); }
omniORB::objectKey _key();
virtual void reportMove(CORBA::Object_ptr obj) = 0;
virtual void reportRemove() = 0;
virtual CORBA::Object_ptr homeObject() = 0;
virtual CORBA::Boolean dispatch(GIOP_S &s,const char *op,CORBA::Boolean response);
protected:
virtual void *_widenFromTheMostDerivedIntf(const char *repoId,CORBA::Boolean is_cxx_type_id) {
return omniLifeCycleInfo::_widenFromTheMostDerivedIntf(repoId,is_cxx_type_id);
}
private:
_sk_omniLifeCycleInfo (const _sk_omniLifeCycleInfo&);
_sk_omniLifeCycleInfo &operator=(const _sk_omniLifeCycleInfo&);
};
class _proxy_omniLifeCycleInfo : public virtual omniLifeCycleInfo {
public:
_proxy_omniLifeCycleInfo (Rope *r,CORBA::Octet *key,size_t keysize,IOP::TaggedProfileList *profiles,CORBA::Boolean release) :
omniObject(omniLifeCycleInfo_IntfRepoID,r,key,keysize,profiles,release) {
omni::objectIsReady(this);
}
virtual ~_proxy_omniLifeCycleInfo();
virtual void reportMove(CORBA::Object_ptr obj);
virtual void reportRemove();
virtual CORBA::Object_ptr homeObject();
protected:
_proxy_omniLifeCycleInfo () {}
virtual void *_widenFromTheMostDerivedIntf(const char *repoId,CORBA::Boolean is_cxx_type) {
return omniLifeCycleInfo::_widenFromTheMostDerivedIntf(repoId,is_cxx_type);
}
private:
_proxy_omniLifeCycleInfo (const _proxy_omniLifeCycleInfo&);
_proxy_omniLifeCycleInfo &operator=(const _proxy_omniLifeCycleInfo&);
};
class _nil_omniLifeCycleInfo : public virtual omniLifeCycleInfo {
public:
_nil_omniLifeCycleInfo() : omniObject(omniObject::nilObjectManager()) { this->PR_setobj(0); }
virtual ~_nil_omniLifeCycleInfo();
void reportMove(CORBA::Object_ptr obj){
throw CORBA::BAD_OPERATION(0,CORBA::COMPLETED_NO);
#ifdef NEED_DUMMY_RETURN
// never reach here! Dummy return to keep some compilers happy.
return;
#endif
}
void reportRemove(){
throw CORBA::BAD_OPERATION(0,CORBA::COMPLETED_NO);
#ifdef NEED_DUMMY_RETURN
// never reach here! Dummy return to keep some compilers happy.
return;
#endif
}
CORBA::Object_ptr homeObject() {
throw CORBA::BAD_OPERATION(0,CORBA::COMPLETED_NO);
#ifdef NEED_DUMMY_RETURN
// never reach here! Dummy return to keep some compilers happy.
CORBA::Object_ptr _0RL_result = 0;
return _0RL_result;
#endif
}
protected:
virtual void *_widenFromTheMostDerivedIntf(const char *repoId,CORBA::Boolean is_cxx_type_id) {
return omniLifeCycleInfo::_widenFromTheMostDerivedIntf(repoId,is_cxx_type_id);
}
};
class omniLifeCycleInfo_proxyObjectFactory : public CORBA::proxyObjectFactory {
public:
omniLifeCycleInfo_proxyObjectFactory () {}
virtual ~omniLifeCycleInfo_proxyObjectFactory ();
virtual const char *irRepoId() const;
virtual CORBA::Object_ptr newProxyObject(Rope *r,CORBA::Octet *key,size_t keysize,IOP::TaggedProfileList *profiles,CORBA::Boolean release);
virtual CORBA::Boolean is_a(const char *base_repoId) const;
static omniLifeCycleInfo_ptr _nil() {
if (!__nil_omniLifeCycleInfo) {
__nil_omniLifeCycleInfo = new _nil_omniLifeCycleInfo;
}
return __nil_omniLifeCycleInfo;
}
private:
static omniLifeCycleInfo_ptr __nil_omniLifeCycleInfo;
};
_CORBA_GLOBAL_VAR _dyn_attr const CORBA::TypeCode_ptr _tc_omniLifeCycleInfo;
#undef _core_attr
#undef _dyn_attr
void operator<<=(CORBA::Any& _a, omniLifeCycleInfo_ptr _s);
void operator<<=(CORBA::Any& _a, omniLifeCycleInfo_ptr* _s);
CORBA::Boolean operator>>=(const CORBA::Any& _a, omniLifeCycleInfo_ptr& _s);
#endif // __omniLifeCycle_hh__
|