Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
AbstractService.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* AbstractService.cc (C) 2000-2017 */
9/* */
10/* Base class of a service. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/utils/ArcanePrecomp.h"
15
16#include "arcane/core/AbstractService.h"
17#include "arcane/core/ServiceBuildInfo.h"
18#include "arcane/core/IBase.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28
32, m_service_info(sbi.serviceInfo())
33, m_parent(sbi.serviceParent())
34{
35}
36
37/*---------------------------------------------------------------------------*/
38/*---------------------------------------------------------------------------*/
39
44
45/*---------------------------------------------------------------------------*/
46/*---------------------------------------------------------------------------*/
47
48} // namespace Arcane
49
50/*---------------------------------------------------------------------------*/
51/*---------------------------------------------------------------------------*/
IServiceInfo * serviceInfo() const override
Access to service information. See IServiceInfo for details.
AbstractService(const ServiceBuildInfo &)
Constructor from a ServiceBuildInfo.
IBase * serviceParent() const override
Access to the base interface of main Arcane objects.
~AbstractService() override
Destructor.
Structure containing the information to create a service.
TraceAccessor(ITraceMng *m)
Constructs an accessor via the trace manager m.
ITraceMng * traceMng() const
Trace manager.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --