IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.

IG::Forms::ReporterMsgbox Class Reference

Inheritance diagram for IG::Forms::ReporterMsgbox:
Collaboration diagram for IG::Forms::ReporterMsgbox:

List of all members.

Public Member Functions

 ReporterMsgbox ()
 Constructor. Initializes all error reporting delegates to default values and sets auxliary object to null. Auxiliary object Obj is set to null.
 ReporterMsgbox (object obj, ReportDelegate reportdelegate, ReportLocationDelegate locationdelegate, ReportMessageDelegate messagedelegate, ReserveReportErrorDelegate reservereportdelegate)
 Constructor. Initializes the error reporter by the specified auxiliary object and delegates used to perform error reporting tasks. Delegates that are not specified are set to default values.
 ReporterMsgbox (object obj, ReportDelegate reportdelegate, ReportLocationDelegate locationdelegate, ReportMessageDelegate messagedelegate)
 Constructor. Initializes the error reporter by the specified auxiliary object and delegates used to perform error reporting tasks. Reserve error reporting delegate is initialized to a default value. Delegates that are not specified are set to default values.
 ReporterMsgbox (object obj, ReportDelegate reportdelegate)
 Constructor. Initializes the error reporter by the specified auxiliary object and the delegate to perform error reporting tasks. Reserve error reporting delegate is initialized to a default value. Delegates for assembling the error location string and error message string are set to their default values, which are adapted to console-like eror reporting systems.
 ReporterMsgbox (object obj, ReportDelegate reportdelegate, ReserveReportErrorDelegate reservereportdelegate)
 Constructor. Initializes the error reporter by the specified auxiliary object and delegates used to perform error reporting tasks. Delegates for assembling the error locatin and error message string are set to their default values, which are adapted to console-like eror reporting systems.

Protected Member Functions

override void InitBegin ()
 Initial part of initialization. Auxiliary object is not affected because default delegates do not utilize it.
override void InitEnd ()
 Finalizing part of initialization. Auxiliary object is not affected because default delegates do not utilize it.
override void ReadAppSettingsBasic (string groupname)
 Reads settings for a specified named group of reporters from the application configuration file.

Protected Attributes

const string KeyUseConsole = "UseConsole"

Properties

static new bool GlobalInitialized [get]
 Gets the value indicating whether the global reporter of this class has already been initialized.
static new ReporterMsgbox Global [get, set]
 Gets the global reporter object. This is typically used for configuring the global reporter.
override bool UseConsole [get, set]
 Console is not used by this class.

Private Attributes

bool ReportConsoleSet = true

Static Private Attributes

static ReporterMsgbox _Global = null
static bool _GlobalInitialized = false
static object GlobalLock = new object()

Constructor & Destructor Documentation

IG::Forms::ReporterMsgbox::ReporterMsgbox ( ) [inline]

Constructor. Initializes all error reporting delegates to default values and sets auxliary object to null. Auxiliary object Obj is set to null.

IG::Forms::ReporterMsgbox::ReporterMsgbox ( object  obj,
ReportDelegate  reportdelegate,
ReportLocationDelegate  locationdelegate,
ReportMessageDelegate  messagedelegate,
ReserveReportErrorDelegate  reservereportdelegate 
) [inline]

Constructor. Initializes the error reporter by the specified auxiliary object and delegates used to perform error reporting tasks. Delegates that are not specified are set to default values.

Parameters:
objAuxiliary object that will be passed to error reporting delegates when called in local methods.
reportdelegateDelegates that is called to launc an error report. Methods of this class will pass to this class the auxiliary object, location strings assembled by the location assembling delegate, and error message string assembled by the error message delegate.
locationdelegateDelegate that is called to assemble the error location string. The Auxiliary object this.Obj will be internally passed to this delegate any time it is called.
messagedelegateDelegate that is called to assemble the error message (without decorations). The Auxiliary object this.Obj will be internally passed to this delegate any time it is called.
reservereportdelegateDelegate that is called to report exceptions that occur within error reporting methods. In particular, this must ne as bullet proof as possible.
IG::Forms::ReporterMsgbox::ReporterMsgbox ( object  obj,
ReportDelegate  reportdelegate,
ReportLocationDelegate  locationdelegate,
ReportMessageDelegate  messagedelegate 
) [inline]

Constructor. Initializes the error reporter by the specified auxiliary object and delegates used to perform error reporting tasks. Reserve error reporting delegate is initialized to a default value. Delegates that are not specified are set to default values.

IG::Forms::ReporterMsgbox::ReporterMsgbox ( object  obj,
ReportDelegate  reportdelegate 
) [inline]

Constructor. Initializes the error reporter by the specified auxiliary object and the delegate to perform error reporting tasks. Reserve error reporting delegate is initialized to a default value. Delegates for assembling the error location string and error message string are set to their default values, which are adapted to console-like eror reporting systems.

IG::Forms::ReporterMsgbox::ReporterMsgbox ( object  obj,
ReportDelegate  reportdelegate,
ReserveReportErrorDelegate  reservereportdelegate 
) [inline]

Constructor. Initializes the error reporter by the specified auxiliary object and delegates used to perform error reporting tasks. Delegates for assembling the error locatin and error message string are set to their default values, which are adapted to console-like eror reporting systems.

Parameters:
objAuxiliary object that will be passed to error reporting delegates when called in local methods.
reportdelegateDelegates that is called to launc an error report. Methods of this class will pass to this class the auxiliary object, location strings assembled by the location assembling delegate, and error message string assembled by the error message delegate.
reservereportdelegateDelegate that is called to report exceptions that occur within error reporting methods. In particular, this must ne as bullet proof as possible.

Member Function Documentation

override void IG::Forms::ReporterMsgbox::InitBegin ( ) [inline, protected, virtual]

Initial part of initialization. Auxiliary object is not affected because default delegates do not utilize it.

Reimplemented from IG::Lib::ReporterBase.

override void IG::Forms::ReporterMsgbox::InitEnd ( ) [inline, protected, virtual]

Finalizing part of initialization. Auxiliary object is not affected because default delegates do not utilize it.

Reimplemented from IG::Lib::ReporterBase.

override void IG::Forms::ReporterMsgbox::ReadAppSettingsBasic ( string  groupname) [inline, protected, virtual]

Reads settings for a specified named group of reporters from the application configuration file.

Parameters:
groupnameName of the group of reporters for which the settings apply.

Reimplemented from IG::Forms::ReporterConsoleMsgbox_Base.


Member Data Documentation

Reimplemented from IG::Lib::ReporterBase.

bool IG::Forms::ReporterMsgbox::_GlobalInitialized = false [static, private]

Reimplemented from IG::Lib::ReporterBase.

object IG::Forms::ReporterMsgbox::GlobalLock = new object() [static, private]

Reimplemented from IG::Lib::ReporterBase.

const string IG::Forms::ReporterMsgbox::KeyUseConsole = "UseConsole" [protected]

Property Documentation

new bool IG::Forms::ReporterMsgbox::GlobalInitialized [static, get]

Gets the value indicating whether the global reporter of this class has already been initialized.

Reimplemented from IG::Lib::ReporterBase.

new ReporterMsgbox IG::Forms::ReporterMsgbox::Global [static, get, set]

Gets the global reporter object. This is typically used for configuring the global reporter.

Reimplemented from IG::Lib::ReporterBase.

override bool IG::Forms::ReporterMsgbox::UseConsole [get, set]

Console is not used by this class.

Reimplemented from IG::Lib::ReporterConsole_Base.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties Events