Main MRPT website
>
C++ reference for MRPT 1.5.9
utils
CStdOutStream.cpp
Go to the documentation of this file.
1
/* +---------------------------------------------------------------------------+
2
| Mobile Robot Programming Toolkit (MRPT) |
3
| http://www.mrpt.org/ |
4
| |
5
| Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6
| See: http://www.mrpt.org/Authors - All rights reserved. |
7
| Released under BSD License. See details in http://www.mrpt.org/License |
8
+---------------------------------------------------------------------------+ */
9
10
#include "
base-precomp.h
"
// Precompiled headers
11
12
13
#include <
mrpt/utils/CStdOutStream.h
>
14
using namespace
mrpt::utils
;
15
16
#include <iostream>
17
18
19
size_t
CStdOutStream::Write
(
const
void
*Buffer,
size_t
Count)
20
{
21
// Assume we'll always receive valid NULL-terminated strings:
22
std::cout << static_cast<const char*>(Buffer);
23
return
Count;
24
}
mrpt::utils
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
Definition:
zip.h:16
mrpt::utils::CStdOutStream::Write
size_t Write(const void *Buffer, size_t Count) MRPT_OVERRIDE
Method responsible for writing to the stream.
Definition:
CStdOutStream.cpp:19
CStdOutStream.h
base-precomp.h
Page generated by
Doxygen 1.8.14
for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020