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

Base class of a service. More...

#include <arcane/core/AbstractService.h>

Inherits Arcane::TraceAccessor, and Arcane::IService.

Inherited by Arcane::GenericHashAlgorithmService< SHA3_256HashAlgorithm >, Arcane::GenericHashAlgorithmService< SHA3_224HashAlgorithm >, Arcane::GenericHashAlgorithmService< SHA3_384HashAlgorithm >, Arcane::GenericHashAlgorithmService< SHA3_512HashAlgorithm >, Arcane::GenericHashAlgorithmService< MD5HashAlgorithm >, Arcane::GenericHashAlgorithmService< SHA1HashAlgorithm >, Arcane::AlephKappaService, Arcane::ArcaneArcaneBasicMeshSubdividerServiceObject, Arcane::ArcaneArcaneCaseMeshMasterServiceObject, Arcane::ArcaneBasic2CheckpointReaderService, Arcane::BasicService, Arcane::Bzip2DataCompressor, Arcane::Bzip2DeflateService, Arcane::CudaAlephFactoryImpl, Arcane::GenericHashAlgorithmService< HashAlgoImplementation >, Arcane::Hyoda, Arcane::HyodaEnvs, Arcane::HyodaMats, Arcane::HypreAlephFactoryImpl, Arcane::JsonMessagePassingProfilingService, Arcane::LZ4DataCompressor, Arcane::LZ4DeflateService, Arcane::LimaCaseMeshReader, Arcane::LimaMeshReaderService, Arcane::LimaMeshWriter, Arcane::MEDCaseMeshReader, Arcane::MeshGeneratorService, Arcane::MeshPartitionerBase, Arcane::MessagePassing::HybridParallelMngContainerFactory, Arcane::MessagePassing::SharedMemoryParallelMngContainerFactory, Arcane::MshCaseMeshReader, Arcane::MshMeshReaderService, Arcane::MshMeshWriterService, Arcane::Otf2MessagePassingProfilingService, Arcane::Otf2MessagePassingProfilingService, Arcane::PETScAlephFactoryImpl, Arcane::PapiPerformanceService, Arcane::PolyhedralMeshFactory, Arcane::ProfPerformanceService, Arcane::SequentialParallelMngContainerFactory, Arcane::SequentialParallelSuperMng, Arcane::SloopAlephFactoryImpl, Arcane::TrilinosAlephFactoryImpl, Arcane::UdunitsUnitSystemService, Arcane::VerifierService, Arcane::VtkLegacyCaseMeshReader, Arcane::VtkMeshReader, Arcane::VtuCaseMeshReader, Arcane::VtuMeshReader, Arcane::VtuMeshWriter, Arcane::XmfMeshReader, Arcane::XmfMeshWriter, Arcane::ZstdDataCompressor, Arcane::mesh::DynamicMeshFactoryBase, and ArcaneArcaneCaseMeshServiceObject.

Collaboration diagram for Arcane::AbstractService:

Public Member Functions

 ~AbstractService () override
 Destructor.
virtual void build ()
 Build-level construction of the service.
IServiceInfoserviceInfo () const override
 Access to service information. See IServiceInfo for details.
IBaseserviceParent () const override
 Access to the base interface of main Arcane objects.
IServiceserviceInterface () override
 Returns the low-level IService interface of the service.
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::IService
virtual ~IService ()
 Releases resources.

Protected Member Functions

 AbstractService (const ServiceBuildInfo &)
 Constructor from a ServiceBuildInfo.
Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const
Protected Member Functions inherited from Arcane::IService
 IService ()
 Constructor.

Private Attributes

IServiceInfom_service_info = nullptr
IBasem_parent = nullptr

Detailed Description

Base class of a service.

This class is THE low-level implementation class for the IService interface.

Definition at line 38 of file AbstractService.h.

Constructor & Destructor Documentation

◆ AbstractService()

Arcane::AbstractService::AbstractService ( const ServiceBuildInfo & sbi)
explicitprotected

Constructor from a ServiceBuildInfo.

Definition at line 29 of file AbstractService.cc.

References serviceInfo(), serviceParent(), Arcane::TraceAccessor::TraceAccessor(), and Arcane::TraceAccessor::traceMng().

Referenced by Arcane::ArcaneArcaneBasicMeshSubdividerServiceObject::ArcaneArcaneBasicMeshSubdividerServiceObject(), Arcane::ArcaneArcaneCaseMeshMasterServiceObject::ArcaneArcaneCaseMeshMasterServiceObject(), and ArcaneArcaneCaseMeshServiceObject::ArcaneArcaneCaseMeshServiceObject().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~AbstractService()

Arcane::AbstractService::~AbstractService ( )
override

Destructor.

Definition at line 40 of file AbstractService.cc.

Member Function Documentation

◆ build()

virtual void Arcane::AbstractService::build ( void )
inlinevirtual

Build-level construction of the service.

This method is called right after the constructor.

Reimplemented in Arcane::AlephKappaService, Arcane::ArcaneBasicVerifierService, Arcane::ArcaneCasePartitioner, Arcane::ArcaneCurveWriter, Arcane::ArcaneDirectExecution, Arcane::ArcaneGeometricMeshPartitionerService, Arcane::ArcaneMeshConverter, Arcane::BasicRayMeshIntersection, Arcane::Bzip2DataCompressor, Arcane::Bzip2DeflateService, Arcane::CheckpointService, Arcane::Hdf5VariableReader, Arcane::Hdf5VariableWriter, Arcane::LimaMeshReaderService, Arcane::LimaMeshWriter, Arcane::LZ4DataCompressor, Arcane::LZ4DeflateService, Arcane::ManualHdf5VariableReader, Arcane::ManualHdf5VariableWriter, Arcane::MEDMeshReaderService, Arcane::mesh::AsyncParticleExchanger, Arcane::mesh::BasicParticleExchanger, Arcane::mesh::DynamicMeshFactoryBase, Arcane::mesh::NonBlockingParticleExchanger, Arcane::MeshGeneratorService, Arcane::MeshPartitionerTester, Arcane::MetisMeshPartitioner, Arcane::MpiSequentialParallelSuperMng, Arcane::MshMeshReaderService, Arcane::MshMeshWriterService, Arcane::OldManualHdf5VariableReader, Arcane::PolyhedralMeshFactory, Arcane::PostProcessorWriterBase, Arcane::PTScotchMeshPartitioner, Arcane::SequentialParallelSuperMng, Arcane::SimpleGridMeshPartitioner, Arcane::SplitSDMeshPartitioner, Arcane::UdunitsUnitSystemService, Arcane::VoronoiMeshIOService, Arcane::VtkLegacyMeshWriter, Arcane::VtuMeshWriter, Arcane::XmfMeshReader, Arcane::XmfMeshWriter, Arcane::ZoltanMeshPartitioner, and Arcane::ZstdDataCompressor.

Definition at line 59 of file AbstractService.h.

◆ serviceInfo()

IServiceInfo * Arcane::AbstractService::serviceInfo ( ) const
inlineoverridevirtual

Access to service information. See IServiceInfo for details.

Implements Arcane::IService.

Reimplemented in Arcane::VerifierService.

Definition at line 64 of file AbstractService.h.

Referenced by AbstractService().

Here is the caller graph for this function:

◆ serviceInterface()

IService * Arcane::AbstractService::serviceInterface ( )
inlineoverridevirtual

Returns the low-level IService interface of the service.

Implements Arcane::IService.

Reimplemented in Arcane::VerifierService.

Definition at line 70 of file AbstractService.h.

References Arcane::IService::IService().

Here is the call graph for this function:

◆ serviceParent()

IBase * Arcane::AbstractService::serviceParent ( ) const
inlineoverridevirtual

Access to the base interface of main Arcane objects.

Implements Arcane::IService.

Reimplemented in Arcane::VerifierService.

Definition at line 67 of file AbstractService.h.

Referenced by AbstractService().

Here is the caller graph for this function:

Member Data Documentation

◆ m_parent

IBase* Arcane::AbstractService::m_parent = nullptr
private

Definition at line 75 of file AbstractService.h.

◆ m_service_info

IServiceInfo* Arcane::AbstractService::m_service_info = nullptr
private

Definition at line 74 of file AbstractService.h.


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