WordRTC  0.5.0
 全て クラス ファイル 関数 変数
Writer.hh
1 // This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
2 #ifndef __Writer_hh__
3 #define __Writer_hh__
4 
5 #ifndef __CORBA_H_EXTERNAL_GUARD__
6 #include <omniORB4/CORBA.h>
7 #endif
8 
9 #ifndef USE_stub_in_nt_dll
10 # define USE_stub_in_nt_dll_NOT_DEFINED_Writer
11 #endif
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_Writer
14 #endif
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_Writer
17 #endif
18 
19 
20 
21 
22 
23 
24 #ifdef USE_stub_in_nt_dll
25 # ifndef USE_core_stub_in_nt_dll
26 # define USE_core_stub_in_nt_dll
27 # endif
28 # ifndef USE_dyn_stub_in_nt_dll
29 # define USE_dyn_stub_in_nt_dll
30 # endif
31 #endif
32 
33 #ifdef _core_attr
34 # error "A local CPP macro _core_attr has already been defined."
35 #else
36 # ifdef USE_core_stub_in_nt_dll
37 # define _core_attr _OMNIORB_NTDLL_IMPORT
38 # else
39 # define _core_attr
40 # endif
41 #endif
42 
43 #ifdef _dyn_attr
44 # error "A local CPP macro _dyn_attr has already been defined."
45 #else
46 # ifdef USE_dyn_stub_in_nt_dll
47 # define _dyn_attr _OMNIORB_NTDLL_IMPORT
48 # else
49 # define _dyn_attr
50 # endif
51 #endif
52 
53 
54 
55 
56 
57 _CORBA_MODULE Writer
58 
59 _CORBA_MODULE_BEG
60 
61 #ifndef __Writer_mmWriter__
62 #define __Writer_mmWriter__
63 
64  class mWriter;
65  class _objref_mWriter;
66  class _impl_mWriter;
67 
69  typedef mWriter_ptr mWriterRef;
70 
72  public:
73  typedef mWriter_ptr _ptr_type;
74 
75  static _ptr_type _nil();
76  static _CORBA_Boolean is_nil(_ptr_type);
77  static void release(_ptr_type);
78  static void duplicate(_ptr_type);
79  static void marshalObjRef(_ptr_type, cdrStream&);
80  static _ptr_type unmarshalObjRef(cdrStream&);
81  };
82 
83  typedef _CORBA_ObjRef_Var<_objref_mWriter, mWriter_Helper> mWriter_var;
84  typedef _CORBA_ObjRef_OUT_arg<_objref_mWriter,mWriter_Helper > mWriter_out;
85 
86 #endif
87 
88  // interface mWriter
89  class mWriter {
90  public:
91  // Declarations for this interface type.
92  typedef mWriter_ptr _ptr_type;
93  typedef mWriter_var _var_type;
94 
95  static _ptr_type _duplicate(_ptr_type);
96  static _ptr_type _narrow(::CORBA::Object_ptr);
97  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
98 
99  static _ptr_type _nil();
100 
101  static inline void _marshalObjRef(_ptr_type, cdrStream&);
102 
103  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
104  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
105  if (o)
106  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
107  else
108  return _nil();
109  }
110 
111  static _core_attr const char* _PD_repoId;
112 
113  // Other IDL defined within this scope.
114 
115  };
116 
118  public virtual ::CORBA::Object,
119  public virtual omniObjRef
120  {
121  public:
122  ::CORBA::Float oCurrentCursorPositionX();
123  ::CORBA::Float oCurrentCursorPositionY();
124  void gotoStart(::CORBA::Boolean sel);
125  void gotoEnd(::CORBA::Boolean sel);
126  void gotoStartOfLine(::CORBA::Boolean sel);
127  void gotoEndOfLine(::CORBA::Boolean sel);
128 
129  inline _objref_mWriter() { _PR_setobj(0); } // nil
130  _objref_mWriter(omniIOR*, omniIdentity*);
131 
132  protected:
133  virtual ~_objref_mWriter();
134 
135 
136  private:
137  virtual void* _ptrToObjRef(const char*);
138 
140  _objref_mWriter& operator = (const _objref_mWriter&);
141  // not implemented
142 
143  friend class mWriter;
144  };
145 
146  class _pof_mWriter : public _OMNI_NS(proxyObjectFactory) {
147  public:
148  inline _pof_mWriter() : _OMNI_NS(proxyObjectFactory)(mWriter::_PD_repoId) {}
149  virtual ~_pof_mWriter();
150 
151  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
152  virtual _CORBA_Boolean is_a(const char*) const;
153  };
154 
156  public virtual omniServant
157  {
158  public:
159  virtual ~_impl_mWriter();
160 
161  virtual ::CORBA::Float oCurrentCursorPositionX() = 0;
162  virtual ::CORBA::Float oCurrentCursorPositionY() = 0;
163  virtual void gotoStart(::CORBA::Boolean sel) = 0;
164  virtual void gotoEnd(::CORBA::Boolean sel) = 0;
165  virtual void gotoStartOfLine(::CORBA::Boolean sel) = 0;
166  virtual void gotoEndOfLine(::CORBA::Boolean sel) = 0;
167 
168  public: // Really protected, workaround for xlC
169  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
170 
171  private:
172  virtual void* _ptrToInterface(const char*);
173  virtual const char* _mostDerivedRepoId();
174 
175  };
176 
177 
178  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_mWriter;
179 
180 _CORBA_MODULE_END
181 
182 
183 
184 _CORBA_MODULE POA_Writer
185 _CORBA_MODULE_BEG
186 
187  class mWriter :
188  public virtual Writer::_impl_mWriter,
189  public virtual ::PortableServer::ServantBase
190  {
191  public:
192  virtual ~mWriter();
193 
194  inline ::Writer::mWriter_ptr _this() {
195  return (::Writer::mWriter_ptr) _do_this(::Writer::mWriter::_PD_repoId);
196  }
197  };
198 
199 _CORBA_MODULE_END
200 
201 
202 
203 _CORBA_MODULE OBV_Writer
204 _CORBA_MODULE_BEG
205 
206 _CORBA_MODULE_END
207 
208 
209 
210 
211 
212 #undef _core_attr
213 #undef _dyn_attr
214 
215 void operator<<=(::CORBA::Any& _a, Writer::mWriter_ptr _s);
216 void operator<<=(::CORBA::Any& _a, Writer::mWriter_ptr* _s);
217 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, Writer::mWriter_ptr& _s);
218 
219 
220 
221 inline void
222 Writer::mWriter::_marshalObjRef(::Writer::mWriter_ptr obj, cdrStream& s) {
223  omniObjRef::_marshal(obj->_PR_getobj(),s);
224 }
225 
226 
227 
228 
229 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_Writer
230 # undef USE_stub_in_nt_dll
231 # undef USE_stub_in_nt_dll_NOT_DEFINED_Writer
232 #endif
233 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_Writer
234 # undef USE_core_stub_in_nt_dll
235 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_Writer
236 #endif
237 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_Writer
238 # undef USE_dyn_stub_in_nt_dll
239 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_Writer
240 #endif
241 
242 #endif // __Writer_hh__
243