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 #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git]
/
TAO
/
orbsvcs
/
tests
/
ImplRepo
/
oneway
/
Test_i.cpp
blob
ad5344fbc6f9c3905729ab94c26213dd1f4b4eda
1
/* -*- C++ -*- */
2
3
#include
"Test_i.h"
4
#include
"ace/OS_NS_unistd.h"
5
6
Test_i
::
Test_i
(
void
)
7
:
count_
(
0
)
8
{
9
}
10
11
Test_i
::~
Test_i
()
12
{
13
}
14
15
void
16
Test_i
::
foo
(
void
)
17
{
18
ACE_DEBUG
((
LM_DEBUG
,
"foo called
\n
"
));
19
++
this
->
count_
;
20
}
21
22
CORBA
::
Short
23
Test_i
::
get_call_count
(
void
)
24
{
25
CORBA
::
Short r
=
this
->
count_
;
26
this
->
count_
=
0
;
27
return
r
;
28
}
29
30
31