Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

at::Wrapper_Basic Class Reference
[Generic Factories]

#include <at_factory.h>

Inheritance diagram for at::Wrapper_Basic:

Inheritance graph
Collaboration diagram for at::Wrapper_Basic:

Collaboration graph
List of all members.

Public Methods

void ReportError (FactoryTraits::FactoryErrorCodes i_code, const AT_String &i_msg)
void ReportFactoryNotFound ()
void ReportCreateException (const AT_String &i_keystr)
void ReportFactoryFailed (const AT_String &i_keystr)
 Wrapper_Basic (StatusReport *io_srep, FactoryTraits::FactoryCreateReportingOption i_create_report_option)

Public Attributes

FactoryTraits::FactoryCreateReportingOption m_create_report_option

Detailed Description

Wrapper_Basic provides some basic wrapper functions methods for reporting errors, throwing exceptions etc. It is the base class for all factories.

Constructor & Destructor Documentation

at::Wrapper_Basic::Wrapper_Basic StatusReport   io_srep,
FactoryTraits::FactoryCreateReportingOption    i_create_report_option

Wrapper_Basic constructor

Member Function Documentation

void at::Wrapper_Basic::ReportCreateException const AT_String   i_keystr

ReportCreateException reports an exception thrown error.

i_keystr  is the key converted to a human readable string.

void at::Wrapper_Basic::ReportError FactoryTraits::FactoryErrorCodes    i_code,
const AT_String   i_msg

ReportError will perform the error reporting options requested.

i_code  this code indicates the mode of failure
i_msg  this is the descriptive message associated

void at::Wrapper_Basic::ReportFactoryFailed const AT_String   i_keystr

ReportFactoryFailed reports a factory failed error,

i_keystr  is the key converted to a human readable string.

void at::Wrapper_Basic::ReportFactoryNotFound  

ReportFactoryNotFound reports a "FactoryNotFound" error.

Member Data Documentation

FactoryTraits::FactoryCreateReportingOption at::Wrapper_Basic::m_create_report_option

m_create_report_option indicates the type of action to take when reporting an error.

StatusReport* at::Wrapper_Basic::m_srep

m_srep is set to the user requested status report interface.

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

Generated for Austria by doxygen and MakeXS at Sun Oct 24 17:35:34 PDT 2004