cgma
|
Public Member Functions | |
CubitSilence () | |
~CubitSilence () | |
Protected Attributes | |
CubitMessageHandler * | old_handler |
SilentCubitMessageHandler | silencer |
Definition at line 59 of file mcnp2cad.cpp.
CubitSilence::CubitSilence | ( | ) | [inline] |
Definition at line 65 of file mcnp2cad.cpp.
: old_handler( CubitMessage::instance()->get_message_handler() ) { CubitMessage::instance()->set_message_handler( &silencer ); }
CubitSilence::~CubitSilence | ( | ) | [inline] |
Definition at line 71 of file mcnp2cad.cpp.
{ CubitMessage::instance()->set_message_handler( old_handler ); }
CubitMessageHandler* CubitSilence::old_handler [protected] |
Definition at line 62 of file mcnp2cad.cpp.
SilentCubitMessageHandler CubitSilence::silencer [protected] |
Definition at line 63 of file mcnp2cad.cpp.