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
|
/*
* File: Hello_World_Impl.c
* 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
*/
/*
* DEVELOPERS ARE EXPECTED TO PROVIDE IMPLEMENTATIONS
* FOR THE FOLLOWING METHODS BETWEEN SPLICER PAIRS.
*/
/*
* Symbol "Hello.World" (version 1.2)
*/
#include "Hello_World_Impl.h"
#line 24 "../../../../babel/examples/hello/libC/Hello_World_Impl.c"
/* DO-NOT-DELETE splicer.begin(Hello.World._includes) */
#include "sidl_String.h"
/* DO-NOT-DELETE splicer.end(Hello.World._includes) */
#line 28 "Hello_World_Impl.c"
/*
* Static class initializer called exactly once before any user-defined method is dispatched
*/
#undef __FUNC__
#define __FUNC__ "impl_Hello_World__load"
void
impl_Hello_World__load(
void)
{
#line 39 "../../../../babel/examples/hello/libC/Hello_World_Impl.c"
/* DO-NOT-DELETE splicer.begin(Hello.World._load) */
/* Insert the implementation of the static class initializer method here... */
/* DO-NOT-DELETE splicer.end(Hello.World._load) */
#line 45 "Hello_World_Impl.c"
}
/*
* Class constructor called when the class is created.
*/
#undef __FUNC__
#define __FUNC__ "impl_Hello_World__ctor"
void
impl_Hello_World__ctor(
/* in */ Hello_World self)
{
#line 54 "../../../../babel/examples/hello/libC/Hello_World_Impl.c"
/* DO-NOT-DELETE splicer.begin(Hello.World._ctor) */
/* nothing needed */
/* DO-NOT-DELETE splicer.end(Hello.World._ctor) */
#line 62 "Hello_World_Impl.c"
}
/*
* Class destructor called when the class is deleted.
*/
#undef __FUNC__
#define __FUNC__ "impl_Hello_World__dtor"
void
impl_Hello_World__dtor(
/* in */ Hello_World self)
{
#line 70 "../../../../babel/examples/hello/libC/Hello_World_Impl.c"
/* DO-NOT-DELETE splicer.begin(Hello.World._dtor) */
/* nothing needed */
/* DO-NOT-DELETE splicer.end(Hello.World._dtor) */
#line 80 "Hello_World_Impl.c"
}
/*
* Method: getMsg[]
*/
#undef __FUNC__
#define __FUNC__ "impl_Hello_World_getMsg"
char*
impl_Hello_World_getMsg(
/* in */ Hello_World self)
{
#line 86 "../../../../babel/examples/hello/libC/Hello_World_Impl.c"
/* DO-NOT-DELETE splicer.begin(Hello.World.getMsg) */
return sidl_String_strdup("Hello world!");
/* DO-NOT-DELETE splicer.end(Hello.World.getMsg) */
#line 98 "Hello_World_Impl.c"
}
|