LLDB  mainline
Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::StreamCallback Class Reference

#include <StreamCallback.h>

Inheritance diagram for lldb_private::StreamCallback:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::StreamCallback:
Collaboration graph
[legend]

Public Member Functions

 StreamCallback (lldb::LogOutputCallback callback, void *baton)
 
 ~StreamCallback () override=default
 

Private Member Functions

void write_impl (const char *Ptr, size_t Size) override
 
uint64_t current_pos () const override
 

Private Attributes

lldb::LogOutputCallback m_callback
 
void * m_baton
 

Detailed Description

Definition at line 20 of file StreamCallback.h.

Constructor & Destructor Documentation

◆ StreamCallback()

StreamCallback::StreamCallback ( lldb::LogOutputCallback  callback,
void *  baton 
)

Definition at line 15 of file StreamCallback.cpp.

◆ ~StreamCallback()

lldb_private::StreamCallback::~StreamCallback ( )
overridedefault

Member Function Documentation

◆ current_pos()

uint64_t StreamCallback::current_pos ( ) const
overrideprivate

Definition at line 22 of file StreamCallback.cpp.

◆ write_impl()

void StreamCallback::write_impl ( const char *  Ptr,
size_t  Size 
)
overrideprivate

Definition at line 18 of file StreamCallback.cpp.

References m_baton, m_callback, and string().

Member Data Documentation

◆ m_baton

void* lldb_private::StreamCallback::m_baton
private

Definition at line 27 of file StreamCallback.h.

Referenced by write_impl().

◆ m_callback

lldb::LogOutputCallback lldb_private::StreamCallback::m_callback
private

Definition at line 26 of file StreamCallback.h.

Referenced by write_impl().


The documentation for this class was generated from the following files: