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

The recorder is a small object handed out by a provider to record data. More...

#include <ReproducerProvider.h>

Inheritance diagram for lldb_private::repro::AbstractRecorder:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::repro::AbstractRecorder:
Collaboration graph
[legend]

Public Member Functions

const FileSpecGetFilename ()
 
void Stop ()
 

Protected Member Functions

 AbstractRecorder (const FileSpec &filename, std::error_code &ec)
 

Protected Attributes

llvm::raw_fd_ostream m_os
 
bool m_record
 

Private Attributes

FileSpec m_filename
 

Detailed Description

The recorder is a small object handed out by a provider to record data.

It is commonly used in combination with a MultiProvider which is meant to record information for multiple instances of the same source of data.

Definition at line 31 of file ReproducerProvider.h.

Constructor & Destructor Documentation

◆ AbstractRecorder()

lldb_private::repro::AbstractRecorder::AbstractRecorder ( const FileSpec filename,
std::error_code &  ec 
)
inlineprotected

Definition at line 33 of file ReproducerProvider.h.

Member Function Documentation

◆ GetFilename()

const FileSpec& lldb_private::repro::AbstractRecorder::GetFilename ( )
inline

Definition at line 39 of file ReproducerProvider.h.

References m_filename.

◆ Stop()

void lldb_private::repro::AbstractRecorder::Stop ( )
inline

Definition at line 41 of file ReproducerProvider.h.

References m_record.

Member Data Documentation

◆ m_filename

FileSpec lldb_private::repro::AbstractRecorder::m_filename
private

Definition at line 47 of file ReproducerProvider.h.

Referenced by GetFilename().

◆ m_os

llvm::raw_fd_ostream lldb_private::repro::AbstractRecorder::m_os
protected

◆ m_record

bool lldb_private::repro::AbstractRecorder::m_record
protected

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