Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
z
+
Functions
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
z
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
+
Typedefs
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Enumerations
+
Enumerator
a
b
c
e
i
n
o
p
r
u
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Typedefs
a
b
c
d
e
f
g
i
m
n
o
p
r
s
t
v
Enumerations
+
Enumerator
a
b
c
e
f
i
n
p
r
s
t
u
Properties
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
a
c
d
e
f
h
i
l
m
o
p
r
s
t
u
w
+
Variables
_
a
c
d
g
h
i
l
m
n
o
p
r
s
u
Typedefs
Enumerations
Enumerator
+
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
src
lib
doil
utils
omniidl_be
tests
unitTest
stubs
Logger.cpp
Go to the documentation of this file.
1
2
#include <
Logger.h
>
3
4
namespace
UnitTest
5
{
6
namespace
Servant
7
{
8
int
Logger::push
(std::string& str)
9
{
10
m_q
.push(str);
11
return
m_q
.size();
12
}
13
14
int
Logger::push
(
const
char
* aStr)
15
{
16
std::string str(aStr);
17
return
push
(str);
18
}
19
20
std::string
Logger::pop
()
21
{
22
std::string str(
""
);
23
if
(
m_q
.empty())
return
str;
24
25
str =
m_q
.front();
26
m_q
.pop();
27
return
str;
28
}
29
};
// namespace Servant
30
};
// namespace UnitTest
31
Logger.h
UnitTest::Servant::Logger::m_q
std::queue< std::string > m_q
Definition:
doil/utils/omniidl_be/tests/unitTest/stubs/Logger.h:19
UnitTest::Servant::Logger::push
int push(std::string &str)
Definition:
Logger.cpp:8
UnitTest
Definition:
ConfigurationImpl.cpp:16
UnitTest::Servant::Logger::pop
std::string pop()
Definition:
Logger.cpp:20
openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:43