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

Entry Point Manager. More...

Inheritance diagram for Arcane::EntryPointMng:
Collaboration diagram for Arcane::EntryPointMng:

Public Member Functions

 EntryPointMng (ISubDomain *)
void addEntryPoint (IEntryPoint *) override
 Adds an entry point to the manager.
void dumpList (std::ostream &) override
 Displays the list of entry points of the manager in \o.
IEntryPointfindEntryPoint (const String &s) override
 Entry point by name s.
IEntryPointfindEntryPoint (const String &module_name, const String &s) override
 Entry point by name s from module name module_name.
EntryPointCollection entryPoints () override
 List of entry points.
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessoroperator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMngtraceMng () const
 Trace manager.
TraceMessage info () const
 Flow for an information message.
TraceMessage pinfo () const
 Flow for a parallel information message.
TraceMessage info (char category) const
 Flow for an information message of a given category.
TraceMessage pinfo (char category) const
 Flow for a parallel information message of a given category.
TraceMessage info (bool v) const
 Flow for an information message.
TraceMessage warning () const
 Flow for a warning message.
TraceMessage pwarning () const
TraceMessage error () const
 Flow for an error message.
TraceMessage perror () const
TraceMessage log () const
 Flow for a log message.
TraceMessage plog () const
 Flow for a log message.
TraceMessage logdate () const
 Flow for a log message preceded by the date.
TraceMessage fatal () const
 Flow for a fatal error message.
TraceMessage pfatal () const
 Flow for a parallel fatal error message.
TraceMessageDbg debug (Trace::eDebugLevel=Trace::Medium) const
 Flow for a debug message.
Trace::eDebugLevel configDbgLevel () const
 Debug level of the configuration file.
TraceMessage info (Int32 verbose_level) const
 Flow for an information message of a given level.
TraceMessage linfo () const
 Flow for an information message with the local information level of this instance.
TraceMessage linfo (Int32 relative_level) const
 Flow for an information message with the local information level of this instance.
void fatalMessage (const StandaloneTraceMessage &o) const
Public Member Functions inherited from Arcane::IEntryPointMng
virtual ~IEntryPointMng ()=default
 Frees resources.

Private Attributes

EntryPointList m_entry_points
 List of entry points.

Additional Inherited Members

Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const

Detailed Description

Entry Point Manager.

Definition at line 37 of file EntryPointMng.cc.

Constructor & Destructor Documentation

◆ EntryPointMng()

Arcane::EntryPointMng::EntryPointMng ( ISubDomain * sd)
explicit

Definition at line 71 of file EntryPointMng.cc.

◆ ~EntryPointMng()

Arcane::EntryPointMng::~EntryPointMng ( )
override

Definition at line 80 of file EntryPointMng.cc.

Member Function Documentation

◆ addEntryPoint()

void Arcane::EntryPointMng::addEntryPoint ( IEntryPoint * )
overridevirtual

Adds an entry point to the manager.

Implements Arcane::IEntryPointMng.

Definition at line 90 of file EntryPointMng.cc.

References Arcane::TraceAccessor::log(), m_entry_points, Arcane::IEntryPoint::module(), Arcane::IEntryPoint::name(), and Arcane::IModule::name().

Here is the call graph for this function:

◆ dumpList()

void Arcane::EntryPointMng::dumpList ( std::ostream & o)
overridevirtual

Displays the list of entry points of the manager in \o.

Implements Arcane::IEntryPointMng.

Definition at line 100 of file EntryPointMng.cc.

References m_entry_points.

◆ entryPoints()

EntryPointCollection Arcane::EntryPointMng::entryPoints ( )
inlineoverridevirtual

List of entry points.

Implements Arcane::IEntryPointMng.

Definition at line 52 of file EntryPointMng.cc.

References m_entry_points.

◆ findEntryPoint() [1/2]

IEntryPoint * Arcane::EntryPointMng::findEntryPoint ( const String & module_name,
const String & s )
overridevirtual

Entry point by name s from module name module_name.

Returns nullptr if the entry point is not found

Implements Arcane::IEntryPointMng.

Definition at line 126 of file EntryPointMng.cc.

References m_entry_points.

◆ findEntryPoint() [2/2]

IEntryPoint * Arcane::EntryPointMng::findEntryPoint ( const String & s)
overridevirtual

Entry point by name s.

Returns nullptr if the entry point is not found

Implements Arcane::IEntryPointMng.

Definition at line 114 of file EntryPointMng.cc.

References m_entry_points.

Member Data Documentation

◆ m_entry_points

EntryPointList Arcane::EntryPointMng::m_entry_points
private

List of entry points.

Definition at line 56 of file EntryPointMng.cc.

Referenced by addEntryPoint(), dumpList(), entryPoints(), findEntryPoint(), and findEntryPoint().


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