LibreOffice Module vcl (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
ErrorRegistry Class Reference

#include <errinf.hxx>

Collaboration diagram for ErrorRegistry:
[legend]

Public Member Functions

 ErrorRegistry ()
 

Static Public Member Functions

static void RegisterDisplay (BasicDisplayErrorFunc *)
 
static void RegisterDisplay (WindowDisplayErrorFunc *)
 
static void SetLock (bool bLock)
 
static bool GetLock ()
 
static void Reset ()
 

Private Attributes

DisplayFnPtr pDsp
 
bool bIsWindowDsp
 
bool m_bLock
 
sal_uInt16 nNextError
 
std::vector< ErrorHandler * > errorHandlers
 
std::vector< ErrorContext * > contexts
 
DynamicErrorInfoppDynErrInfo [ERRCODE_DYNAMIC_COUNT]
 

Friends

class ErrorHandler
 
class ErrorContext
 
class ErrorStringFactory
 
class ImplDynamicErrorInfo
 

Detailed Description

Definition at line 57 of file errinf.hxx.

Constructor & Destructor Documentation

◆ ErrorRegistry()

ErrorRegistry::ErrorRegistry ( )

Definition at line 52 of file errinf.cxx.

References ppDynErrInfo.

Referenced by Reset().

Member Function Documentation

◆ GetLock()

bool ErrorRegistry::GetLock ( )
static

Definition at line 82 of file errinf.cxx.

References m_bLock.

◆ RegisterDisplay() [1/2]

void ErrorRegistry::RegisterDisplay ( BasicDisplayErrorFunc aDsp)
static

Definition at line 62 of file errinf.cxx.

References bIsWindowDsp, and pDsp.

Referenced by ErrorHandler::ErrorHandler().

◆ RegisterDisplay() [2/2]

void ErrorRegistry::RegisterDisplay ( WindowDisplayErrorFunc aDsp)
static

Definition at line 69 of file errinf.cxx.

References bIsWindowDsp, and pDsp.

◆ Reset()

void ErrorRegistry::Reset ( void  )
static

Definition at line 88 of file errinf.cxx.

References ErrorRegistry().

◆ SetLock()

void ErrorRegistry::SetLock ( bool  bLock)
static

Definition at line 76 of file errinf.cxx.

References m_bLock.

Friends And Related Function Documentation

◆ ErrorContext

friend class ErrorContext
friend

Definition at line 60 of file errinf.hxx.

◆ ErrorHandler

friend class ErrorHandler
friend

Definition at line 59 of file errinf.hxx.

◆ ErrorStringFactory

friend class ErrorStringFactory
friend

Definition at line 61 of file errinf.hxx.

◆ ImplDynamicErrorInfo

friend class ImplDynamicErrorInfo
friend

Definition at line 62 of file errinf.hxx.

Member Data Documentation

◆ bIsWindowDsp

bool ErrorRegistry::bIsWindowDsp
private

Definition at line 77 of file errinf.hxx.

Referenced by ErrorHandler::HandleError(), and RegisterDisplay().

◆ contexts

std::vector<ErrorContext*> ErrorRegistry::contexts
private

Definition at line 84 of file errinf.hxx.

Referenced by ErrorHandler::HandleError().

◆ errorHandlers

std::vector<ErrorHandler*> ErrorRegistry::errorHandlers
private

Definition at line 83 of file errinf.hxx.

Referenced by ErrorHandler::ErrorHandler().

◆ m_bLock

bool ErrorRegistry::m_bLock
private

Definition at line 79 of file errinf.hxx.

Referenced by GetLock(), ErrorHandler::HandleError(), and SetLock().

◆ nNextError

sal_uInt16 ErrorRegistry::nNextError
private

Definition at line 81 of file errinf.hxx.

Referenced by ImplDynamicErrorInfo::RegisterError().

◆ pDsp

DisplayFnPtr ErrorRegistry::pDsp
private

◆ ppDynErrInfo

DynamicErrorInfo* ErrorRegistry::ppDynErrInfo[ERRCODE_DYNAMIC_COUNT]
private

Definition at line 86 of file errinf.hxx.

Referenced by ErrorRegistry(), and ImplDynamicErrorInfo::RegisterError().


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