プロジェクト

全般

プロフィール

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_IPI2JE_H_
30
#define _TAO_IDL_MYSERVICEC_IPI2JE_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/String_Manager_T.h"
48
#include "tao/AnyTypeCode/BooleanSeqA.h"
49
#include "tao/AnyTypeCode/CharSeqA.h"
50
#include "tao/AnyTypeCode/DoubleSeqA.h"
51
#include "tao/AnyTypeCode/FloatSeqA.h"
52
#include "tao/AnyTypeCode/LongDoubleSeqA.h"
53
#include "tao/AnyTypeCode/LongSeqA.h"
54
#include "tao/AnyTypeCode/OctetSeqA.h"
55
#include "tao/AnyTypeCode/ShortSeqA.h"
56
#include "tao/AnyTypeCode/StringSeqA.h"
57
#include "tao/AnyTypeCode/ULongSeqA.h"
58
#include "tao/AnyTypeCode/UShortSeqA.h"
59
#include "tao/AnyTypeCode/WCharSeqA.h"
60
#include "tao/AnyTypeCode/WStringSeqA.h"
61
#include "tao/AnyTypeCode/LongLongSeqA.h"
62
#include "tao/AnyTypeCode/ULongLongSeqA.h"
63
#include "tao/AnyTypeCode/PolicyA.h"
64
#include "tao/AnyTypeCode/Policy_ManagerA.h"
65
#include "tao/AnyTypeCode/Policy_CurrentA.h"
66
#include "tao/AnyTypeCode/ServicesA.h"
67
#include "tao/AnyTypeCode/ParameterModeA.h"
68
#include "tao/AnyTypeCode/orb_typesA.h"
69
#include "tao/AnyTypeCode/Typecode_typesA.h"
70
#include "tao/AnyTypeCode/WrongTransactionA.h"
71
#include "tao/Sequence_T.h"
72
#include "tao/Objref_VarOut_T.h"
73
#include "tao/Seq_Var_T.h"
74
#include "tao/Seq_Out_T.h"
75
#include "tao/Arg_Traits_T.h"
76
#include "tao/Basic_Arguments.h"
77
#include "tao/Special_Basic_Arguments.h"
78
#include "tao/Any_Insert_Policy_T.h"
79
#include "tao/Fixed_Size_Argument_T.h"
80
#include "tao/Var_Size_Argument_T.h"
81
#include "tao/Object_Argument_T.h"
82
#include "tao/UB_String_Arguments.h"
83
#include /**/ "tao/Version.h"
84
#include /**/ "tao/Versioned_Namespace.h"
85

    
86
#include "tao/BooleanSeqC.h"
87
#include "tao/CharSeqC.h"
88
#include "tao/DoubleSeqC.h"
89
#include "tao/FloatSeqC.h"
90
#include "tao/LongDoubleSeqC.h"
91
#include "tao/LongSeqC.h"
92
#include "tao/OctetSeqC.h"
93
#include "tao/ShortSeqC.h"
94
#include "tao/StringSeqC.h"
95
#include "tao/ULongSeqC.h"
96
#include "tao/UShortSeqC.h"
97
#include "tao/WCharSeqC.h"
98
#include "tao/WStringSeqC.h"
99
#include "tao/LongLongSeqC.h"
100
#include "tao/ULongLongSeqC.h"
101
#include "tao/PolicyC.h"
102
#include "tao/Policy_ManagerC.h"
103
#include "tao/Policy_CurrentC.h"
104
#include "tao/ServicesC.h"
105
#include "tao/ParameterModeC.h"
106
#include "tao/orb_typesC.h"
107
#include "tao/Typecode_typesC.h"
108
#include "tao/WrongTransactionC.h"
109

    
110
#if TAO_MAJOR_VERSION != 2 || TAO_MINOR_VERSION != 4 || TAO_MICRO_VERSION != 4
111
#error This file should be regenerated with TAO_IDL
112
#endif
113

    
114
// TAO_IDL - Generated from
115
// be\be_visitor_root\root_ch.cpp:157
116
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
117

    
118

    
119

    
120
namespace TAO
121
{
122
  template<typename T> class Narrow_Utils;
123
}
124
TAO_END_VERSIONED_NAMESPACE_DECL
125

    
126

    
127

    
128
// TAO_IDL - Generated from
129
// be\be_visitor_module\module_ch.cpp:35
130

    
131
namespace SimpleService
132
{
133

    
134
  // TAO_IDL - Generated from
135
  // be\be_visitor_sequence\sequence_ch.cpp:99
136

    
137
#if !defined (_SIMPLESERVICE_ECHOLIST_CH_)
138
#define _SIMPLESERVICE_ECHOLIST_CH_
139

    
140
  class EchoList;
141
  typedef ::TAO_VarSeq_Var_T<EchoList> EchoList_var;
142
  typedef ::TAO_Seq_Out_T<EchoList> EchoList_out;
143
  
144

    
145
  class  EchoList
146
    : public
147
        ::TAO::unbounded_basic_string_sequence<char>
148
  {
149
  public:
150
    EchoList (void);
151
    EchoList ( ::CORBA::ULong max);
152
    EchoList (
153
      ::CORBA::ULong max,
154
      ::CORBA::ULong length,
155
      ::CORBA::Char ** buffer,
156
      ::CORBA::Boolean release = false);
157
    EchoList (const EchoList &);
158
    virtual ~EchoList (void);
159
    
160

    
161
    // TAO_IDL - Generated from
162
    // be\be_type.cpp:304
163

    
164
    
165
    typedef EchoList_var _var_type;
166
    typedef EchoList_out _out_type;
167

    
168
    static void _tao_any_destructor (void *);
169
  };
170

    
171
#endif /* end #if !defined */
172

    
173
  // TAO_IDL - Generated from
174
  // be\be_visitor_typecode\typecode_decl.cpp:34
175

    
176
  extern  ::CORBA::TypeCode_ptr const _tc_EchoList;
177

    
178
  // TAO_IDL - Generated from
179
  // be\be_visitor_sequence\sequence_ch.cpp:99
180

    
181
#if !defined (_SIMPLESERVICE_VALUELIST_CH_)
182
#define _SIMPLESERVICE_VALUELIST_CH_
183

    
184
  class ValueList;
185
  typedef ::TAO_FixedSeq_Var_T<ValueList> ValueList_var;
186
  typedef ::TAO_Seq_Out_T<ValueList> ValueList_out;
187
  
188

    
189
  class  ValueList
190
    : public
191
        ::TAO::unbounded_value_sequence< ::CORBA::Float>
192
  {
193
  public:
194
    ValueList (void);
195
    ValueList ( ::CORBA::ULong max);
196
    ValueList (
197
      ::CORBA::ULong max,
198
      ::CORBA::ULong length,
199
      ::CORBA::Float* buffer,
200
      ::CORBA::Boolean release = false);
201
    ValueList (const ValueList &);
202
    virtual ~ValueList (void);
203
    
204

    
205
    // TAO_IDL - Generated from
206
    // be\be_type.cpp:304
207

    
208
    
209
    typedef ValueList_var _var_type;
210
    typedef ValueList_out _out_type;
211

    
212
    static void _tao_any_destructor (void *);
213
  };
214

    
215
#endif /* end #if !defined */
216

    
217
  // TAO_IDL - Generated from
218
  // be\be_visitor_typecode\typecode_decl.cpp:34
219

    
220
  extern  ::CORBA::TypeCode_ptr const _tc_ValueList;
221

    
222
  // TAO_IDL - Generated from
223
  // be\be_interface.cpp:748
224

    
225
#if !defined (_SIMPLESERVICE_MYSERVICE__VAR_OUT_CH_)
226
#define _SIMPLESERVICE_MYSERVICE__VAR_OUT_CH_
227

    
228
  class MyService;
229
  typedef MyService *MyService_ptr;
230
  typedef TAO_Objref_Var_T<MyService> MyService_var;
231
  typedef TAO_Objref_Out_T<MyService> MyService_out;
232
  
233

    
234
#endif /* end #if !defined */
235

    
236
  // TAO_IDL - Generated from
237
  // be\be_visitor_interface\interface_ch.cpp:40
238

    
239
  class  MyService
240
    : public virtual ::CORBA::Object
241
  {
242
  public:
243
    friend class TAO::Narrow_Utils<MyService>;
244

    
245
    // TAO_IDL - Generated from
246
    // be\be_type.cpp:304
247

    
248
    typedef MyService_ptr _ptr_type;
249
    typedef MyService_var _var_type;
250
    typedef MyService_out _out_type;
251

    
252
    static void _tao_any_destructor (void *);
253

    
254
    // The static operations.
255
    static MyService_ptr _duplicate (MyService_ptr obj);
256

    
257
    static void _tao_release (MyService_ptr obj);
258

    
259
    static MyService_ptr _narrow (::CORBA::Object_ptr obj);
260
    static MyService_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
261
    static MyService_ptr _nil (void);
262

    
263
    virtual char * echo (
264
      const char * msg);
265

    
266
    virtual ::SimpleService::EchoList * get_echo_history (
267
      void);
268

    
269
    virtual void set_value (
270
      ::CORBA::Float value);
271

    
272
    virtual ::CORBA::Float get_value (
273
      void);
274

    
275
    virtual ::SimpleService::ValueList * get_value_history (
276
      void);
277

    
278
    // TAO_IDL - Generated from
279
    // be\be_visitor_interface\interface_ch.cpp:137
280

    
281
    virtual ::CORBA::Boolean _is_a (const char *type_id);
282
    virtual const char* _interface_repository_id (void) const;
283
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
284
  
285
  protected:
286
    // Concrete interface only.
287
    MyService (void);
288

    
289
    // Concrete non-local interface only.
290
    MyService (
291
        ::IOP::IOR *ior,
292
        TAO_ORB_Core *orb_core);
293
    
294
    // Non-local interface only.
295
    MyService (
296
        TAO_Stub *objref,
297
        ::CORBA::Boolean _tao_collocated = false,
298
        TAO_Abstract_ServantBase *servant = 0,
299
        TAO_ORB_Core *orb_core = 0);
300

    
301
    virtual ~MyService (void);
302
  
303
  private:
304
    // Private and unimplemented for concrete interfaces.
305
    MyService (const MyService &);
306

    
307
    void operator= (const MyService &);
308
  };
309

    
310
  // TAO_IDL - Generated from
311
  // be\be_visitor_typecode\typecode_decl.cpp:34
312

    
313
  extern  ::CORBA::TypeCode_ptr const _tc_MyService;
314

    
315
// TAO_IDL - Generated from
316
// be\be_visitor_module\module_ch.cpp:64
317

    
318
} // module SimpleService
319

    
320
// TAO_IDL - Generated from
321
// be\be_visitor_arg_traits.cpp:66
322

    
323
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
324

    
325

    
326
// Arg traits specializations.
327
namespace TAO
328
{
329

    
330
  // TAO_IDL - Generated from
331
  // be\be_visitor_arg_traits.cpp:683
332

    
333
  template<>
334
  class Arg_Traits< ::SimpleService::EchoList>
335
    : public
336
        Var_Size_Arg_Traits_T<
337
            ::SimpleService::EchoList,
338
            TAO::Any_Insert_Policy_Stream
339
          >
340
  {
341
  };
342

    
343
  // TAO_IDL - Generated from
344
  // be\be_visitor_arg_traits.cpp:683
345

    
346
  template<>
347
  class Arg_Traits< ::SimpleService::ValueList>
348
    : public
349
        Var_Size_Arg_Traits_T<
350
            ::SimpleService::ValueList,
351
            TAO::Any_Insert_Policy_Stream
352
          >
353
  {
354
  };
355

    
356
  // TAO_IDL - Generated from
357
  // be\be_visitor_arg_traits.cpp:145
358

    
359
#if !defined (_SIMPLESERVICE_MYSERVICE__ARG_TRAITS_)
360
#define _SIMPLESERVICE_MYSERVICE__ARG_TRAITS_
361

    
362
  template<>
363
  class  Arg_Traits< ::SimpleService::MyService>
364
    : public
365
        Object_Arg_Traits_T<
366
            ::SimpleService::MyService_ptr,
367
            ::SimpleService::MyService_var,
368
            ::SimpleService::MyService_out,
369
            TAO::Objref_Traits<SimpleService::MyService>,
370
            TAO::Any_Insert_Policy_Stream
371
          >
372
  {
373
  };
374

    
375
#endif /* end #if !defined */
376
}
377

    
378
TAO_END_VERSIONED_NAMESPACE_DECL
379

    
380

    
381

    
382
// TAO_IDL - Generated from
383
// be\be_visitor_traits.cpp:60
384

    
385
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
386

    
387
// Traits specializations.
388
namespace TAO
389
{
390

    
391
#if !defined (_SIMPLESERVICE_MYSERVICE__TRAITS_)
392
#define _SIMPLESERVICE_MYSERVICE__TRAITS_
393

    
394
  template<>
395
  struct  Objref_Traits< ::SimpleService::MyService>
396
  {
397
    static ::SimpleService::MyService_ptr duplicate (
398
        ::SimpleService::MyService_ptr p);
399
    static void release (
400
        ::SimpleService::MyService_ptr p);
401
    static ::SimpleService::MyService_ptr nil (void);
402
    static ::CORBA::Boolean marshal (
403
        const ::SimpleService::MyService_ptr p,
404
        TAO_OutputCDR & cdr);
405
  };
406

    
407
#endif /* end #if !defined */
408
}
409
TAO_END_VERSIONED_NAMESPACE_DECL
410

    
411

    
412

    
413
// TAO_IDL - Generated from
414
// be\be_visitor_sequence\any_op_ch.cpp:47
415

    
416

    
417

    
418
#if defined (ACE_ANY_OPS_USE_NAMESPACE)
419

    
420
namespace SimpleService
421
{
422
   void operator<<= ( ::CORBA::Any &, const ::SimpleService::EchoList &); // copying version
423
   void operator<<= ( ::CORBA::Any &, ::SimpleService::EchoList*); // noncopying version
424
   ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const ::SimpleService::EchoList *&);
425
}
426

    
427
#else
428

    
429

    
430
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
431

    
432
 void operator<<= ( ::CORBA::Any &, const SimpleService::EchoList &); // copying version
433
 void operator<<= ( ::CORBA::Any &, SimpleService::EchoList*); // noncopying version
434
 ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const SimpleService::EchoList *&);
435
TAO_END_VERSIONED_NAMESPACE_DECL
436

    
437

    
438

    
439
#endif
440

    
441
// TAO_IDL - Generated from
442
// be\be_visitor_sequence\any_op_ch.cpp:47
443

    
444

    
445

    
446
#if defined (ACE_ANY_OPS_USE_NAMESPACE)
447

    
448
namespace SimpleService
449
{
450
   void operator<<= ( ::CORBA::Any &, const ::SimpleService::ValueList &); // copying version
451
   void operator<<= ( ::CORBA::Any &, ::SimpleService::ValueList*); // noncopying version
452
   ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const ::SimpleService::ValueList *&);
453
}
454

    
455
#else
456

    
457

    
458
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
459

    
460
 void operator<<= ( ::CORBA::Any &, const SimpleService::ValueList &); // copying version
461
 void operator<<= ( ::CORBA::Any &, SimpleService::ValueList*); // noncopying version
462
 ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const SimpleService::ValueList *&);
463
TAO_END_VERSIONED_NAMESPACE_DECL
464

    
465

    
466

    
467
#endif
468

    
469
// TAO_IDL - Generated from
470
// be\be_visitor_interface\any_op_ch.cpp:41
471

    
472

    
473

    
474
#if defined (ACE_ANY_OPS_USE_NAMESPACE)
475

    
476
namespace SimpleService
477
{
478
   void operator<<= ( ::CORBA::Any &, MyService_ptr); // copying
479
   void operator<<= ( ::CORBA::Any &, MyService_ptr *); // non-copying
480
   ::CORBA::Boolean operator>>= (const ::CORBA::Any &, MyService_ptr &);
481
}
482

    
483
#else
484

    
485

    
486
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
487

    
488
 void operator<<= (::CORBA::Any &, SimpleService::MyService_ptr); // copying
489
 void operator<<= (::CORBA::Any &, SimpleService::MyService_ptr *); // non-copying
490
 ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SimpleService::MyService_ptr &);
491
TAO_END_VERSIONED_NAMESPACE_DECL
492

    
493

    
494

    
495
#endif
496

    
497
// TAO_IDL - Generated from
498
// be\be_visitor_sequence\cdr_op_ch.cpp:65
499

    
500
#if !defined _TAO_CDR_OP_SimpleService_EchoList_H_
501
#define _TAO_CDR_OP_SimpleService_EchoList_H_
502
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
503

    
504

    
505
 ::CORBA::Boolean operator<< (
506
    TAO_OutputCDR &strm,
507
    const SimpleService::EchoList &_tao_sequence);
508
 ::CORBA::Boolean operator>> (
509
    TAO_InputCDR &strm,
510
    SimpleService::EchoList &_tao_sequence);
511

    
512
TAO_END_VERSIONED_NAMESPACE_DECL
513

    
514

    
515

    
516
#endif /* _TAO_CDR_OP_SimpleService_EchoList_H_ */
517

    
518
// TAO_IDL - Generated from
519
// be\be_visitor_sequence\cdr_op_ch.cpp:65
520

    
521
#if !defined _TAO_CDR_OP_SimpleService_ValueList_H_
522
#define _TAO_CDR_OP_SimpleService_ValueList_H_
523
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
524

    
525

    
526
 ::CORBA::Boolean operator<< (
527
    TAO_OutputCDR &strm,
528
    const SimpleService::ValueList &_tao_sequence);
529
 ::CORBA::Boolean operator>> (
530
    TAO_InputCDR &strm,
531
    SimpleService::ValueList &_tao_sequence);
532

    
533
TAO_END_VERSIONED_NAMESPACE_DECL
534

    
535

    
536

    
537
#endif /* _TAO_CDR_OP_SimpleService_ValueList_H_ */
538

    
539
// TAO_IDL - Generated from
540
// be\be_visitor_interface\cdr_op_ch.cpp:41
541

    
542
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
543

    
544
 ::CORBA::Boolean operator<< (TAO_OutputCDR &, const SimpleService::MyService_ptr );
545
 ::CORBA::Boolean operator>> (TAO_InputCDR &, SimpleService::MyService_ptr &);
546

    
547
TAO_END_VERSIONED_NAMESPACE_DECL
548

    
549

    
550

    
551
// TAO_IDL - Generated from
552
// be\be_codegen.cpp:1686
553
#if defined (__ACE_INLINE__)
554
#include "MyServiceC.inl"
555
#endif /* defined INLINE */
556

    
557
#endif /* ifndef */
558