repo.or.cz
/
ACE_TAO.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git]
/
TAO
/
tests
/
CORBA_is_nil
/
Hello.cpp
blob
0c8429344377b5b4ed300fcaa172eb108aed9090
1
#include
"Hello.h"
2
3
Hello
::
Hello
(
CORBA
::
ORB_ptr orb
)
4
:
orb_
(
CORBA
::
ORB
::
_duplicate
(
orb
))
5
{
6
}
7
8
char
*
9
Hello
::
get_string
()
10
{
11
return
CORBA
::
string_dup
(
"Hello there!"
);
12
}
13
14
Test
::
Hello_ptr
15
Hello
::
get_Hello
()
16
{
17
return
Test
::
Hello
::
_nil
();
18
}
19
20
void
21
Hello
::
shutdown
()
22
{
23
this
->
orb_
->
shutdown
(
false
);
24
}