5 #ifndef __CORBA_H_EXTERNAL_GUARD__ 6 #include <omniORB4/CORBA.h> 9 #ifndef USE_stub_in_nt_dll 10 # define USE_stub_in_nt_dll_NOT_DEFINED_tools 12 #ifndef USE_core_stub_in_nt_dll 13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_tools 15 #ifndef USE_dyn_stub_in_nt_dll 16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_tools 21 #ifndef __common_hh_EXTERNAL_GUARD__ 22 #define __common_hh_EXTERNAL_GUARD__ 28 #ifdef USE_stub_in_nt_dll 29 # ifndef USE_core_stub_in_nt_dll 30 # define USE_core_stub_in_nt_dll 32 # ifndef USE_dyn_stub_in_nt_dll 33 # define USE_dyn_stub_in_nt_dll 38 # error "A local CPP macro _core_attr has already been defined." 40 # ifdef USE_core_stub_in_nt_dll 41 # define _core_attr _OMNIORB_NTDLL_IMPORT 48 # error "A local CPP macro _dyn_attr has already been defined." 50 # ifdef USE_dyn_stub_in_nt_dll 51 # define _dyn_attr _OMNIORB_NTDLL_IMPORT 63 #ifndef __hpp_mTools__ 64 #define __hpp_mTools__ 76 static _ptr_type
_nil();
77 static _CORBA_Boolean
is_nil(_ptr_type);
84 typedef _CORBA_ObjRef_Var<_objref_Tools, Tools_Helper>
Tools_var;
85 typedef _CORBA_ObjRef_OUT_arg<_objref_Tools,Tools_Helper >
Tools_out;
96 static _ptr_type _duplicate(_ptr_type);
97 static _ptr_type _narrow(::CORBA::Object_ptr);
98 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
100 static _ptr_type
_nil();
102 static inline void _marshalObjRef(_ptr_type, cdrStream&);
105 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
107 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
114 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
126 public virtual ::CORBA::Object,
127 public virtual omniObjRef
131 ::CORBA::Boolean loadServerPlugin(
const char* context_,
const char* pluginName);
132 ::CORBA::Boolean createContext(
const char* context_);
133 ::CORBA::Object_ptr getServer(
const char* context_,
const char* pluginName,
const char* objectname);
134 void deleteServant(
const char*
id);
135 void deleteAllServants();
147 virtual void* _ptrToObjRef(
const char*);
161 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
162 virtual _CORBA_Boolean is_a(
const char*)
const;
166 public virtual omniServant
171 virtual ::CORBA::Boolean loadServerPlugin(
const char* context_,
const char* pluginName) = 0;
172 virtual ::CORBA::Boolean createContext(
const char* context_) = 0;
173 virtual ::CORBA::Object_ptr getServer(
const char* context_,
const char* pluginName,
const char* objectname) = 0;
174 virtual void deleteServant(
const char*
id) = 0;
175 virtual void deleteAllServants() = 0;
176 virtual void shutdown() = 0;
179 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
182 virtual void* _ptrToInterface(
const char*);
183 virtual const char* _mostDerivedRepoId();
192 _CORBA_MODULE POA_hpp
196 public virtual hpp::_impl_Tools,
197 public virtual ::PortableServer::ServantBase
211 _CORBA_MODULE OBV_hpp
227 omniObjRef::_marshal(obj->_PR_getobj(),s);
232 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_tools 233 # undef USE_stub_in_nt_dll 234 # undef USE_stub_in_nt_dll_NOT_DEFINED_tools 236 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_tools 237 # undef USE_core_stub_in_nt_dll 238 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_tools 240 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_tools 241 # undef USE_dyn_stub_in_nt_dll 242 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_tools 245 #endif // __tools_hh__
Implement CORBA interface ``Obstacle''.
Definition: basic-server.hh:35