Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
include
ecl
streams
text_stream.hpp
Go to the documentation of this file.
1
10
/*****************************************************************************
11
** Ifdefs
12
*****************************************************************************/
13
14
#ifndef ECL_STREAMS_TEXT_STREAM_HPP_
15
#define ECL_STREAMS_TEXT_STREAM_HPP_
16
17
/*****************************************************************************
18
** Includes
19
*****************************************************************************/
20
21
#include <ecl/config/macros.hpp>
22
#include <ecl/devices/traits.hpp>
23
#include "
text_streams/base_text_stream.hpp
"
24
#include "
text_streams/output_text_stream.hpp
"
25
#include "
text_streams/input_text_stream.hpp
"
26
#include "
macros.hpp
"
27
28
/*****************************************************************************
29
** Namespaces
30
*****************************************************************************/
31
32
namespace
ecl
{
33
34
/*****************************************************************************
35
** Interface [TextStream]
36
*****************************************************************************/
37
93
template
<
typename
Device>
94
class
ECL_PUBLIC
TextStream
:
public
interfaces::InputTextStream
<Device, is_source<Device>::value >,
95
public
interfaces::OutputTextStream
<Device, is_sink<Device>::value > {
96
public
:
97
virtual
~TextStream
() {};
98
99
};
100
101
}
// namespace ecl
102
103
#endif
/* ECL_STREAMS_TEXT_STREAM_HPP_ */
ecl
macros.hpp
Macros for ecl streams.
ecl::interfaces::InputTextStream
Parent template for input text streams.
Definition:
input_text_stream.hpp:57
output_text_stream.hpp
Output text streaming interface and implementation.
ecl::interfaces::OutputTextStream
Parent template for output text streams.
Definition:
output_text_stream.hpp:55
input_text_stream.hpp
Input text streaming interface and implementation.
ECL_PUBLIC
#define ECL_PUBLIC
Definition:
ecl/config/macros.hpp:169
ecl::TextStream::~TextStream
virtual ~TextStream()
Definition:
text_stream.hpp:97
base_text_stream.hpp
Base interface for text streams.
ecl::TextStream
A text streaming interface.
Definition:
text_stream.hpp:94
xbot_driver
Author(s): Roc, wangpeng@droid.ac.cn
autogenerated on Sat Oct 10 2020 03:27:38