YARP
Yet Another Robot Platform
Terminal.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2018 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 <string>
14 #include <yarp/os/api.h>
15 
16 namespace yarp {
17 namespace os {
18 namespace impl {
19 namespace Terminal {
20 
22 bool EOFreached();
23 
25 std::string getStdin();
26 
28 std::string readString(bool *eof);
29 
30 } // namespace Terminal
31 } // namespace impl
32 } // namespace os
33 } // namespace yarp
34 
35 #endif // YARP_OS_IMPL_TERMINAL_H
std::string getStdin()
Definition: Terminal.cpp:37
#define YARP_OS_impl_API
Definition: api.h:45
The main, catch-all namespace for YARP.
Definition: numeric.h:47
std::string readString(bool *eof)
Definition: Terminal.cpp:78