Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::Trace::Setter Class Reference

Sets a message class. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/trace/arccore/trace/Trace.h>

Collaboration diagram for Arcane::Trace::Setter:

Public Member Functions

 Setter (ITraceMng *msg, const String &name)
 Sets the class name for the manager msg.
 ~Setter ()
 Releases the instance and restores the previous message class in m_msg.

Private Attributes

ITraceMngm_msg
 Message manager.

Detailed Description

Sets a message class.

Sets the message class name upon construction of the instance and restores the previous one upon destruction.

See also
TraceMessage, ITraceMng

Definition at line 184 of file arccore/src/trace/arccore/trace/Trace.h.

Constructor & Destructor Documentation

◆ Setter()

Arcane::Trace::Setter::Setter ( ITraceMng * msg,
const String & name )

Sets the class name for the manager msg.

Definition at line 156 of file TraceMessage.cc.

References m_msg.

◆ ~Setter()

Arcane::Trace::Setter::~Setter ( )

Releases the instance and restores the previous message class in m_msg.

Definition at line 166 of file TraceMessage.cc.

References m_msg.

Member Data Documentation

◆ m_msg

ITraceMng* Arcane::Trace::Setter::m_msg
private

Message manager.

Definition at line 196 of file arccore/src/trace/arccore/trace/Trace.h.

Referenced by Setter(), and ~Setter().


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