Main Page
Namespaces
Classes
Files
File List
File Members
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 Thu Jun 6 2019 19:25:58