File: Hello_World_Impl.hh

package info (click to toggle)
babel 0.10.2-1
  • links: PTS
  • area: contrib
  • in suites: sarge
  • size: 43,932 kB
  • ctags: 29,707
  • sloc: java: 74,695; ansic: 73,142; cpp: 40,649; sh: 18,411; f90: 10,062; fortran: 6,727; python: 6,406; makefile: 3,866; xml: 118; perl: 48
file content (107 lines) | stat: -rw-r--r-- 2,636 bytes parent folder | download
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
// 
// File:          Hello_World_Impl.hh
// Symbol:        Hello.World-v1.2
// Symbol Type:   class
// Babel Version: 0.10.2
// Description:   Server-side implementation for Hello.World
// 
// WARNING: Automatically generated; only changes within splicers preserved
// 
// babel-version = 0.10.2
// 

#ifndef included_Hello_World_Impl_hh
#define included_Hello_World_Impl_hh

#ifndef included_sidl_cxx_hh
#include "sidl_cxx.hh"
#endif
#ifndef included_Hello_World_IOR_h
#include "Hello_World_IOR.h"
#endif
// 
// Includes for all method dependencies.
// 
#ifndef included_Hello_World_hh
#include "Hello_World.hh"
#endif
#ifndef included_sidl_BaseInterface_hh
#include "sidl_BaseInterface.hh"
#endif
#ifndef included_sidl_ClassInfo_hh
#include "sidl_ClassInfo.hh"
#endif


#line 36 "../../../../babel/examples/hello/libCxx/Hello_World_Impl.hh"
// DO-NOT-DELETE splicer.begin(Hello.World._includes)
// nothing needed
// DO-NOT-DELETE splicer.end(Hello.World._includes)
#line 40 "Hello_World_Impl.hh"

namespace Hello { 

  /**
   * Symbol "Hello.World" (version 1.2)
   */
  class World_impl
#line 46 "../../../../babel/examples/hello/libCxx/Hello_World_Impl.hh"
  // DO-NOT-DELETE splicer.begin(Hello.World._inherits)
  // Put additional inheritance here...
  // DO-NOT-DELETE splicer.end(Hello.World._inherits)
#line 52 "Hello_World_Impl.hh"
  {

  private:
    // Pointer back to IOR.
    // Use this to dispatch back through IOR vtable.
    World self;

#line 56 "../../../../babel/examples/hello/libCxx/Hello_World_Impl.hh"
    // DO-NOT-DELETE splicer.begin(Hello.World._implementation)
    // nothing needed
    // DO-NOT-DELETE splicer.end(Hello.World._implementation)
#line 64 "Hello_World_Impl.hh"

  private:
    // private default constructor (required)
    World_impl() 
    {} 

  public:
    // sidl constructor (required)
    // Note: alternate Skel constructor doesn't call addref()
    // (fixes bug #275)
    World_impl( struct Hello_World__object * s ) : self(s,true) { _ctor(); }

    // user defined construction
    void _ctor();

    // virtual destructor (required)
    virtual ~World_impl() { _dtor(); }

    // user defined destruction
    void _dtor();

    // static class initializer
    static void _load();

  public:

    /**
     * user defined non-static method.
     */
    ::std::string
    getMsg() throw () 
    ;
  };  // end class World_impl

} // end namespace Hello

#line 95 "../../../../babel/examples/hello/libCxx/Hello_World_Impl.hh"
// DO-NOT-DELETE splicer.begin(Hello.World._misc)
// nothing needed
// DO-NOT-DELETE splicer.end(Hello.World._misc)
#line 105 "Hello_World_Impl.hh"

#endif