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"
16 #include "lldb/Core/StreamString.h"
18 namespace lldb_private {
20 class StreamAsynchronousIO :
24 StreamAsynchronousIO (Broadcaster &broadcaster, uint32_t broadcast_event_type);
26 virtual ~StreamAsynchronousIO ();
32 Write (const void *src, size_t src_len);
36 Broadcaster &m_broadcaster;
37 uint32_t m_broadcast_event_type;
38 StreamString m_accumulated_data;
41 } // namespace lldb_private
42 #endif // #ifndef liblldb_StreamAsynchronousIO_h