Ignore:
Timestamp:
05/11/11 10:27:33 (14 years ago)
Author:
tbretz
Message:
Added or improved documentation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/DimErrorRedirecter.cc

    r10583 r10657  
    11// **************************************************************************
    22/** @class DimErrorRedirecter
     3
     4@brief A base class taking care of padding, exit handler and error handlers
     5
     6This class first switches off padding for the DimServer and the DimClient
     7(dis and dic). Furthermore, it redirects both error handlers to the
     8DimErrorRedirecter. Redirect the exit handler.
     9
     10Only one instance of this class is allowed, since all Dim handlers are
     11global.
     12
     13In the destructor of the class the handlers are correctly restored.
     14The padding setup is kept.
     15
     16For FACT++ all Dim data is transmitted without padding!
     17
     18To catch the error messages overwrite the errorHandler. The errorHandler
     19of the DimErrorRedirecter redirects the error messages to the logging
     20stream given in the constructor.
     21
     22To catch the exit requests overwrite the exitHandler.
    323
    424*/
     
    1535int DimErrorRedirecter::cnt = 0;
    1636
     37// --------------------------------------------------------------------------
     38//
     39//! - disable padding for dim server and dim client
     40//! - redirect DimClient error handler
     41//! - redirect DimServer error handler
     42//! - set exit handler of DimServer
     43//
    1744DimErrorRedirecter::DimErrorRedirecter(MessageImp &imp) : fMsg(imp)
    1845{
     
    3158}
    3259
     60// --------------------------------------------------------------------------
     61//
     62//! - reset DimClient error handler
     63//! - reset DimServer error handler
     64//! - reset exit handler of DimServer
     65//
    3366DimErrorRedirecter::~DimErrorRedirecter()
    3467{
Note: See TracChangeset for help on using the changeset viewer.