1 //===-- StreamAsynchronousIO.h -----------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_StreamAsynchronousIO_h_
11 #define liblldb_StreamAsynchronousIO_h_
15 #include "lldb/Core/Stream.h"
17 namespace lldb_private {
19 class StreamAsynchronousIO :
23 StreamAsynchronousIO (Broadcaster &broadcaster, uint32_t broadcast_event_type);
25 virtual ~StreamAsynchronousIO ();
31 Write (const void *src, size_t src_len);
35 Broadcaster &m_broadcaster;
36 uint32_t m_broadcast_event_type;
37 std::string m_accumulated_data;
40 } // namespace lldb_private
41 #endif // #ifndef liblldb_StreamAsynchronousIO_h