Rise
The Vieneo Province
Loading...
Searching...
No Matches
CrashReporting::Capture Class Reference

#include <CrashCapture.h>

Collaboration diagram for CrashReporting::Capture:
[legend]

Public Member Functions

 Capture ()=default
 Capture (const Capture &)=delete
Capture & operator= (const Capture &)=delete
 ~Capture ()
DWORD Start (const char *trace, const wchar_t *helper=nullptr, const wchar_t *directory=nullptr) noexcept
DWORD Record (const char *reason, DWORD code, EXCEPTION_POINTERS *exception) noexcept
const wchar_t * Id () const noexcept
const char * StartupStage () const noexcept
const wchar_t * HelperPath () const noexcept
const wchar_t * Directory () const noexcept
DWORD UpdateError () const noexcept

Private Attributes

HANDLE mapping_ = nullptr
HANDLE request_ = nullptr
HANDLE ready_ = nullptr
HANDLE done_ = nullptr
HANDLE stop_ = nullptr
HANDLE helper_ = nullptr
Shared * shared_ = nullptr
volatile LONG requested_ = 0
const char * startupStage_ = "not started"
wchar_t helperPath_ [1024] = {}
DWORD updateError_ = ERROR_SUCCESS

Detailed Description

Definition at line 6 of file CrashCapture.h.

Constructor & Destructor Documentation

◆ Capture() [1/2]

CrashReporting::Capture::Capture ( )
default
Here is the caller graph for this function:

◆ Capture() [2/2]

CrashReporting::Capture::Capture ( const Capture & )
delete
Here is the call graph for this function:

◆ ~Capture()

CrashReporting::Capture::~Capture ( )

Definition at line 45 of file CrashCapture.cpp.

Member Function Documentation

◆ Directory()

const wchar_t * CrashReporting::Capture::Directory ( ) const
inlinenoexcept

Definition at line 26 of file CrashCapture.h.

◆ HelperPath()

const wchar_t * CrashReporting::Capture::HelperPath ( ) const
inlinenoexcept

Definition at line 25 of file CrashCapture.h.

◆ Id()

const wchar_t * CrashReporting::Capture::Id ( ) const
inlinenoexcept

Definition at line 23 of file CrashCapture.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

Capture & CrashReporting::Capture::operator= ( const Capture & )
delete
Here is the call graph for this function:

◆ Record()

DWORD CrashReporting::Capture::Record ( const char * reason,
DWORD code,
EXCEPTION_POINTERS * exception )
noexcept

Definition at line 173 of file CrashCapture.cpp.

Here is the caller graph for this function:

◆ Start()

DWORD CrashReporting::Capture::Start ( const char * trace,
const wchar_t * helper = nullptr,
const wchar_t * directory = nullptr )
noexcept

Definition at line 53 of file CrashCapture.cpp.

Here is the caller graph for this function:

◆ StartupStage()

const char * CrashReporting::Capture::StartupStage ( ) const
inlinenoexcept

Definition at line 24 of file CrashCapture.h.

◆ UpdateError()

DWORD CrashReporting::Capture::UpdateError ( ) const
inlinenoexcept

Definition at line 27 of file CrashCapture.h.

Member Data Documentation

◆ done_

HANDLE CrashReporting::Capture::done_ = nullptr
private

Definition at line 8 of file CrashCapture.h.

◆ helper_

HANDLE CrashReporting::Capture::helper_ = nullptr
private

Definition at line 9 of file CrashCapture.h.

◆ helperPath_

wchar_t CrashReporting::Capture::helperPath_[1024] = {}
private

Definition at line 13 of file CrashCapture.h.

◆ mapping_

HANDLE CrashReporting::Capture::mapping_ = nullptr
private

Definition at line 8 of file CrashCapture.h.

◆ ready_

HANDLE CrashReporting::Capture::ready_ = nullptr
private

Definition at line 8 of file CrashCapture.h.

◆ request_

HANDLE CrashReporting::Capture::request_ = nullptr
private

Definition at line 8 of file CrashCapture.h.

◆ requested_

volatile LONG CrashReporting::Capture::requested_ = 0
private

Definition at line 11 of file CrashCapture.h.

◆ shared_

Shared* CrashReporting::Capture::shared_ = nullptr
private

Definition at line 10 of file CrashCapture.h.

◆ startupStage_

const char* CrashReporting::Capture::startupStage_ = "not started"
private

Definition at line 12 of file CrashCapture.h.

◆ stop_

HANDLE CrashReporting::Capture::stop_ = nullptr
private

Definition at line 9 of file CrashCapture.h.

◆ updateError_

DWORD CrashReporting::Capture::updateError_ = ERROR_SUCCESS
private

Definition at line 14 of file CrashCapture.h.


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