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

#include <Log.h>

Inheritance diagram for lldb_private::CallbackLogHandler:
Inheritance graph
[legend]

Public Member Functions

 CallbackLogHandler (lldb::LogOutputCallback callback, void *baton)
 
void Emit (llvm::StringRef message) override
 
bool isA (const void *ClassID) const override
 
- Public Member Functions inherited from lldb_private::LogHandler
virtual ~LogHandler ()=default
 
virtual void Emit (llvm::StringRef message)=0
 
virtual bool isA (const void *ClassID) const
 

Static Public Member Functions

static bool classof (const LogHandler *obj)
 
- Static Public Member Functions inherited from lldb_private::LogHandler
static bool classof (const LogHandler *obj)
 

Private Attributes

lldb::LogOutputCallback m_callback
 
void * m_baton
 

Static Private Attributes

static char ID
 

Detailed Description

Definition at line 77 of file Log.h.

Constructor & Destructor Documentation

◆ CallbackLogHandler()

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

Definition at line 403 of file Log.cpp.

Member Function Documentation

◆ classof()

static bool lldb_private::CallbackLogHandler::classof ( const LogHandler obj)
inlinestatic

Definition at line 84 of file Log.h.

References ID, and lldb_private::LogHandler::isA().

◆ Emit()

void CallbackLogHandler::Emit ( llvm::StringRef  message)
overridevirtual

Implements lldb_private::LogHandler.

Definition at line 407 of file Log.cpp.

References m_baton, and m_callback.

◆ isA()

bool lldb_private::CallbackLogHandler::isA ( const void *  ClassID) const
inlineoverridevirtual

Reimplemented from lldb_private::LogHandler.

Definition at line 83 of file Log.h.

References ID.

Member Data Documentation

◆ ID

char CallbackLogHandler::ID
staticprivate

Definition at line 89 of file Log.h.

Referenced by classof(), and isA().

◆ m_baton

void* lldb_private::CallbackLogHandler::m_baton
private

Definition at line 88 of file Log.h.

Referenced by Emit().

◆ m_callback

lldb::LogOutputCallback lldb_private::CallbackLogHandler::m_callback
private

Definition at line 87 of file Log.h.

Referenced by Emit().


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