プロジェクト

全般

プロフィール

MyServiceC(orb.idl無し).h

n-miyamoto, 2017/10/12 22:28

 
1
// -*- C++ -*-
2
/**
3
 * Code generated by the The ACE ORB (TAO) IDL Compiler v2.4.4
4
 * TAO and the TAO IDL Compiler have been developed by:
5
 *       Center for Distributed Object Computing
6
 *       Washington University
7
 *       St. Louis, MO
8
 *       USA
9
 *       http://www.cs.wustl.edu/~schmidt/doc-center.html
10
 * and
11
 *       Distributed Object Computing Laboratory
12
 *       University of California at Irvine
13
 *       Irvine, CA
14
 *       USA
15
 * and
16
 *       Institute for Software Integrated Systems
17
 *       Vanderbilt University
18
 *       Nashville, TN
19
 *       USA
20
 *       http://www.isis.vanderbilt.edu/
21
 *
22
 * Information about TAO is available at:
23
 *     http://www.dre.vanderbilt.edu/~schmidt/TAO.html
24
 **/
25

    
26
// TAO_IDL - Generated from
27
// be\be_codegen.cpp:149
28

    
29
#ifndef _TAO_IDL_MYSERVICEC_LSSOS1_H_
30
#define _TAO_IDL_MYSERVICEC_LSSOS1_H_
31

    
32

    
33
#include /**/ "ace/config-all.h"
34

    
35
#if !defined (ACE_LACKS_PRAGMA_ONCE)
36
# pragma once
37
#endif /* ACE_LACKS_PRAGMA_ONCE */
38

    
39

    
40
#include "tao/AnyTypeCode/AnyTypeCode_methods.h"
41
#include "tao/AnyTypeCode/Any.h"
42
#include "tao/ORB.h"
43
#include "tao/SystemException.h"
44
#include "tao/Basic_Types.h"
45
#include "tao/ORB_Constants.h"
46
#include "tao/Object.h"
47
#include "tao/Sequence_T.h"
48
#include "tao/Objref_VarOut_T.h"
49
#include "tao/Seq_Var_T.h"
50
#include "tao/Seq_Out_T.h"
51
#include "tao/Arg_Traits_T.h"
52
#include "tao/Basic_Arguments.h"
53
#include "tao/Special_Basic_Arguments.h"
54
#include "tao/Any_Insert_Policy_T.h"
55
#include "tao/Fixed_Size_Argument_T.h"
56
#include "tao/Var_Size_Argument_T.h"
57
#include "tao/Object_Argument_T.h"
58
#include "tao/UB_String_Arguments.h"
59
#include /**/ "tao/Version.h"
60
#include /**/ "tao/Versioned_Namespace.h"
61

    
62
#if TAO_MAJOR_VERSION != 2 || TAO_MINOR_VERSION != 4 || TAO_MICRO_VERSION != 4
63
#error This file should be regenerated with TAO_IDL
64
#endif
65

    
66
// TAO_IDL - Generated from
67
// be\be_visitor_root\root_ch.cpp:157
68
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
69

    
70

    
71

    
72
namespace TAO
73
{
74
  template<typename T> class Narrow_Utils;
75
}
76
TAO_END_VERSIONED_NAMESPACE_DECL
77

    
78

    
79

    
80
// TAO_IDL - Generated from
81
// be\be_visitor_module\module_ch.cpp:35
82

    
83
namespace SimpleService
84
{
85

    
86
  // TAO_IDL - Generated from
87
  // be\be_visitor_sequence\sequence_ch.cpp:99
88

    
89
#if !defined (_SIMPLESERVICE_ECHOLIST_CH_)
90
#define _SIMPLESERVICE_ECHOLIST_CH_
91

    
92
  class EchoList;
93
  typedef ::TAO_VarSeq_Var_T<EchoList> EchoList_var;
94
  typedef ::TAO_Seq_Out_T<EchoList> EchoList_out;
95
  
96

    
97
  class  EchoList
98
    : public
99
        ::TAO::unbounded_basic_string_sequence<char>
100
  {
101
  public:
102
    EchoList (void);
103
    EchoList ( ::CORBA::ULong max);
104
    EchoList (
105
      ::CORBA::ULong max,
106
      ::CORBA::ULong length,
107
      ::CORBA::Char ** buffer,
108
      ::CORBA::Boolean release = false);
109
    EchoList (const EchoList &);
110
    virtual ~EchoList (void);
111
    
112

    
113
    // TAO_IDL - Generated from
114
    // be\be_type.cpp:304
115

    
116
    
117
    typedef EchoList_var _var_type;
118
    typedef EchoList_out _out_type;
119

    
120
    static void _tao_any_destructor (void *);
121
  };
122

    
123
#endif /* end #if !defined */
124

    
125
  // TAO_IDL - Generated from
126
  // be\be_visitor_typecode\typecode_decl.cpp:34
127

    
128
  extern  ::CORBA::TypeCode_ptr const _tc_EchoList;
129

    
130
  // TAO_IDL - Generated from
131
  // be\be_visitor_sequence\sequence_ch.cpp:99
132

    
133
#if !defined (_SIMPLESERVICE_VALUELIST_CH_)
134
#define _SIMPLESERVICE_VALUELIST_CH_
135

    
136
  class ValueList;
137
  typedef ::TAO_FixedSeq_Var_T<ValueList> ValueList_var;
138
  typedef ::TAO_Seq_Out_T<ValueList> ValueList_out;
139
  
140

    
141
  class  ValueList
142
    : public
143
        ::TAO::unbounded_value_sequence< ::CORBA::Float>
144
  {
145
  public:
146
    ValueList (void);
147
    ValueList ( ::CORBA::ULong max);
148
    ValueList (
149
      ::CORBA::ULong max,
150
      ::CORBA::ULong length,
151
      ::CORBA::Float* buffer,
152
      ::CORBA::Boolean release = false);
153
    ValueList (const ValueList &);
154
    virtual ~ValueList (void);
155
    
156

    
157
    // TAO_IDL - Generated from
158
    // be\be_type.cpp:304
159

    
160
    
161
    typedef ValueList_var _var_type;
162
    typedef ValueList_out _out_type;
163

    
164
    static void _tao_any_destructor (void *);
165
  };
166

    
167
#endif /* end #if !defined */
168

    
169
  // TAO_IDL - Generated from
170
  // be\be_visitor_typecode\typecode_decl.cpp:34
171

    
172
  extern  ::CORBA::TypeCode_ptr const _tc_ValueList;
173

    
174
  // TAO_IDL - Generated from
175
  // be\be_interface.cpp:748
176

    
177
#if !defined (_SIMPLESERVICE_MYSERVICE__VAR_OUT_CH_)
178
#define _SIMPLESERVICE_MYSERVICE__VAR_OUT_CH_
179

    
180
  class MyService;
181
  typedef MyService *MyService_ptr;
182
  typedef TAO_Objref_Var_T<MyService> MyService_var;
183
  typedef TAO_Objref_Out_T<MyService> MyService_out;
184
  
185

    
186
#endif /* end #if !defined */
187

    
188
  // TAO_IDL - Generated from
189
  // be\be_visitor_interface\interface_ch.cpp:40
190

    
191
  class  MyService
192
    : public virtual ::CORBA::Object
193
  {
194
  public:
195
    friend class TAO::Narrow_Utils<MyService>;
196

    
197
    // TAO_IDL - Generated from
198
    // be\be_type.cpp:304
199

    
200
    typedef MyService_ptr _ptr_type;
201
    typedef MyService_var _var_type;
202
    typedef MyService_out _out_type;
203

    
204
    static void _tao_any_destructor (void *);
205

    
206
    // The static operations.
207
    static MyService_ptr _duplicate (MyService_ptr obj);
208

    
209
    static void _tao_release (MyService_ptr obj);
210

    
211
    static MyService_ptr _narrow (::CORBA::Object_ptr obj);
212
    static MyService_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
213
    static MyService_ptr _nil (void);
214

    
215
    virtual char * echo (
216
      const char * msg);
217

    
218
    virtual ::SimpleService::EchoList * get_echo_history (
219
      void);
220

    
221
    virtual void set_value (
222
      ::CORBA::Float value);
223

    
224
    virtual ::CORBA::Float get_value (
225
      void);
226

    
227
    virtual ::SimpleService::ValueList * get_value_history (
228
      void);
229

    
230
    // TAO_IDL - Generated from
231
    // be\be_visitor_interface\interface_ch.cpp:137
232

    
233
    virtual ::CORBA::Boolean _is_a (const char *type_id);
234
    virtual const char* _interface_repository_id (void) const;
235
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
236
  
237
  protected:
238
    // Concrete interface only.
239
    MyService (void);
240

    
241
    // Concrete non-local interface only.
242
    MyService (
243
        ::IOP::IOR *ior,
244
        TAO_ORB_Core *orb_core);
245
    
246
    // Non-local interface only.
247
    MyService (
248
        TAO_Stub *objref,
249
        ::CORBA::Boolean _tao_collocated = false,
250
        TAO_Abstract_ServantBase *servant = 0,
251
        TAO_ORB_Core *orb_core = 0);
252

    
253
    virtual ~MyService (void);
254
  
255
  private:
256
    // Private and unimplemented for concrete interfaces.
257
    MyService (const MyService &);
258

    
259
    void operator= (const MyService &);
260
  };
261

    
262
  // TAO_IDL - Generated from
263
  // be\be_visitor_typecode\typecode_decl.cpp:34
264

    
265
  extern  ::CORBA::TypeCode_ptr const _tc_MyService;
266

    
267
// TAO_IDL - Generated from
268
// be\be_visitor_module\module_ch.cpp:64
269

    
270
} // module SimpleService
271

    
272
// TAO_IDL - Generated from
273
// be\be_visitor_arg_traits.cpp:66
274

    
275
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
276

    
277

    
278
// Arg traits specializations.
279
namespace TAO
280
{
281

    
282
  // TAO_IDL - Generated from
283
  // be\be_visitor_arg_traits.cpp:683
284

    
285
  template<>
286
  class Arg_Traits< ::SimpleService::EchoList>
287
    : public
288
        Var_Size_Arg_Traits_T<
289
            ::SimpleService::EchoList,
290
            TAO::Any_Insert_Policy_Stream
291
          >
292
  {
293
  };
294

    
295
  // TAO_IDL - Generated from
296
  // be\be_visitor_arg_traits.cpp:683
297

    
298
  template<>
299
  class Arg_Traits< ::SimpleService::ValueList>
300
    : public
301
        Var_Size_Arg_Traits_T<
302
            ::SimpleService::ValueList,
303
            TAO::Any_Insert_Policy_Stream
304
          >
305
  {
306
  };
307

    
308
  // TAO_IDL - Generated from
309
  // be\be_visitor_arg_traits.cpp:145
310

    
311
#if !defined (_SIMPLESERVICE_MYSERVICE__ARG_TRAITS_)
312
#define _SIMPLESERVICE_MYSERVICE__ARG_TRAITS_
313

    
314
  template<>
315
  class  Arg_Traits< ::SimpleService::MyService>
316
    : public
317
        Object_Arg_Traits_T<
318
            ::SimpleService::MyService_ptr,
319
            ::SimpleService::MyService_var,
320
            ::SimpleService::MyService_out,
321
            TAO::Objref_Traits<SimpleService::MyService>,
322
            TAO::Any_Insert_Policy_Stream
323
          >
324
  {
325
  };
326

    
327
#endif /* end #if !defined */
328
}
329

    
330
TAO_END_VERSIONED_NAMESPACE_DECL
331

    
332

    
333

    
334
// TAO_IDL - Generated from
335
// be\be_visitor_traits.cpp:60
336

    
337
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
338

    
339
// Traits specializations.
340
namespace TAO
341
{
342

    
343
#if !defined (_SIMPLESERVICE_MYSERVICE__TRAITS_)
344
#define _SIMPLESERVICE_MYSERVICE__TRAITS_
345

    
346
  template<>
347
  struct  Objref_Traits< ::SimpleService::MyService>
348
  {
349
    static ::SimpleService::MyService_ptr duplicate (
350
        ::SimpleService::MyService_ptr p);
351
    static void release (
352
        ::SimpleService::MyService_ptr p);
353
    static ::SimpleService::MyService_ptr nil (void);
354
    static ::CORBA::Boolean marshal (
355
        const ::SimpleService::MyService_ptr p,
356
        TAO_OutputCDR & cdr);
357
  };
358

    
359
#endif /* end #if !defined */
360
}
361
TAO_END_VERSIONED_NAMESPACE_DECL
362

    
363

    
364

    
365
// TAO_IDL - Generated from
366
// be\be_visitor_sequence\any_op_ch.cpp:47
367

    
368

    
369

    
370
#if defined (ACE_ANY_OPS_USE_NAMESPACE)
371

    
372
namespace SimpleService
373
{
374
   void operator<<= ( ::CORBA::Any &, const ::SimpleService::EchoList &); // copying version
375
   void operator<<= ( ::CORBA::Any &, ::SimpleService::EchoList*); // noncopying version
376
   ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const ::SimpleService::EchoList *&);
377
}
378

    
379
#else
380

    
381

    
382
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
383

    
384
 void operator<<= ( ::CORBA::Any &, const SimpleService::EchoList &); // copying version
385
 void operator<<= ( ::CORBA::Any &, SimpleService::EchoList*); // noncopying version
386
 ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const SimpleService::EchoList *&);
387
TAO_END_VERSIONED_NAMESPACE_DECL
388

    
389

    
390

    
391
#endif
392

    
393
// TAO_IDL - Generated from
394
// be\be_visitor_sequence\any_op_ch.cpp:47
395

    
396

    
397

    
398
#if defined (ACE_ANY_OPS_USE_NAMESPACE)
399

    
400
namespace SimpleService
401
{
402
   void operator<<= ( ::CORBA::Any &, const ::SimpleService::ValueList &); // copying version
403
   void operator<<= ( ::CORBA::Any &, ::SimpleService::ValueList*); // noncopying version
404
   ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const ::SimpleService::ValueList *&);
405
}
406

    
407
#else
408

    
409

    
410
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
411

    
412
 void operator<<= ( ::CORBA::Any &, const SimpleService::ValueList &); // copying version
413
 void operator<<= ( ::CORBA::Any &, SimpleService::ValueList*); // noncopying version
414
 ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const SimpleService::ValueList *&);
415
TAO_END_VERSIONED_NAMESPACE_DECL
416

    
417

    
418

    
419
#endif
420

    
421
// TAO_IDL - Generated from
422
// be\be_visitor_interface\any_op_ch.cpp:41
423

    
424

    
425

    
426
#if defined (ACE_ANY_OPS_USE_NAMESPACE)
427

    
428
namespace SimpleService
429
{
430
   void operator<<= ( ::CORBA::Any &, MyService_ptr); // copying
431
   void operator<<= ( ::CORBA::Any &, MyService_ptr *); // non-copying
432
   ::CORBA::Boolean operator>>= (const ::CORBA::Any &, MyService_ptr &);
433
}
434

    
435
#else
436

    
437

    
438
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
439

    
440
 void operator<<= (::CORBA::Any &, SimpleService::MyService_ptr); // copying
441
 void operator<<= (::CORBA::Any &, SimpleService::MyService_ptr *); // non-copying
442
 ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SimpleService::MyService_ptr &);
443
TAO_END_VERSIONED_NAMESPACE_DECL
444

    
445

    
446

    
447
#endif
448

    
449
// TAO_IDL - Generated from
450
// be\be_visitor_sequence\cdr_op_ch.cpp:65
451

    
452
#if !defined _TAO_CDR_OP_SimpleService_EchoList_H_
453
#define _TAO_CDR_OP_SimpleService_EchoList_H_
454
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
455

    
456

    
457
 ::CORBA::Boolean operator<< (
458
    TAO_OutputCDR &strm,
459
    const SimpleService::EchoList &_tao_sequence);
460
 ::CORBA::Boolean operator>> (
461
    TAO_InputCDR &strm,
462
    SimpleService::EchoList &_tao_sequence);
463

    
464
TAO_END_VERSIONED_NAMESPACE_DECL
465

    
466

    
467

    
468
#endif /* _TAO_CDR_OP_SimpleService_EchoList_H_ */
469

    
470
// TAO_IDL - Generated from
471
// be\be_visitor_sequence\cdr_op_ch.cpp:65
472

    
473
#if !defined _TAO_CDR_OP_SimpleService_ValueList_H_
474
#define _TAO_CDR_OP_SimpleService_ValueList_H_
475
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
476

    
477

    
478
 ::CORBA::Boolean operator<< (
479
    TAO_OutputCDR &strm,
480
    const SimpleService::ValueList &_tao_sequence);
481
 ::CORBA::Boolean operator>> (
482
    TAO_InputCDR &strm,
483
    SimpleService::ValueList &_tao_sequence);
484

    
485
TAO_END_VERSIONED_NAMESPACE_DECL
486

    
487

    
488

    
489
#endif /* _TAO_CDR_OP_SimpleService_ValueList_H_ */
490

    
491
// TAO_IDL - Generated from
492
// be\be_visitor_interface\cdr_op_ch.cpp:41
493

    
494
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
495

    
496
 ::CORBA::Boolean operator<< (TAO_OutputCDR &, const SimpleService::MyService_ptr );
497
 ::CORBA::Boolean operator>> (TAO_InputCDR &, SimpleService::MyService_ptr &);
498

    
499
TAO_END_VERSIONED_NAMESPACE_DECL
500

    
501

    
502

    
503
// TAO_IDL - Generated from
504
// be\be_codegen.cpp:1686
505
#if defined (__ACE_INLINE__)
506
#include "MyServiceC.inl"
507
#endif /* defined INLINE */
508

    
509
#endif /* ifndef */
510