YARP
Yet Another Robot Platform
Terminal.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * Copyright (C) 2006-2010 RobotCub Consortium
4  * All rights reserved.
5  *
6  * This software may be modified and distributed under the terms of the
7  * BSD-3-Clause license. See the accompanying LICENSE file for details.
8  */
9 
10 #ifndef YARP_OS_IMPL_TERMINAL_H
11 #define YARP_OS_IMPL_TERMINAL_H
12 
13 #include <yarp/os/api.h>
14 
15 #include <string>
16 
17 namespace yarp {
18 namespace os {
19 namespace impl {
20 namespace Terminal {
21 
23 bool EOFreached();
24 
26 std::string getStdin();
27 
29 std::string readString(bool* eof);
30 
31 } // namespace Terminal
32 } // namespace impl
33 } // namespace os
34 } // namespace yarp
35 
36 #endif // YARP_OS_IMPL_TERMINAL_H
api.h
yarp::os::impl::Terminal::readString
std::string readString(bool *eof)
Definition: Terminal.cpp:79
yarp::os::impl::Terminal::EOFreached
bool EOFreached()
Definition: Terminal.cpp:27
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
YARP_os_impl_API
#define YARP_os_impl_API
Definition: api.h:45
yarp::os::impl::Terminal::getStdin
std::string getStdin()
Definition: Terminal.cpp:37