YARP
Yet Another Robot Platform
Terminal.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3  * SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef YARP_OS_IMPL_TERMINAL_H
8 #define YARP_OS_IMPL_TERMINAL_H
9 
10 #include <yarp/os/api.h>
11 
12 #include <string>
13 
14 namespace yarp {
15 namespace os {
16 namespace impl {
17 namespace Terminal {
18 
20 bool EOFreached();
21 
23 std::string getStdin();
24 
26 std::string readString(bool* eof);
27 
28 } // namespace Terminal
29 } // namespace impl
30 } // namespace os
31 } // namespace yarp
32 
33 #endif // YARP_OS_IMPL_TERMINAL_H
std::string readString(bool *eof)
Definition: Terminal.cpp:76
std::string getStdin()
Definition: Terminal.cpp:34
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_os_impl_API
Definition: api.h:46