Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
ActionWrapperService.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 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/* ActionWrapperService.h (C) 2000-2006 */
9/* */
10/* Service faisant un wrapper autour d'une action. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_ACTIONWRAPPER_H
13#define ARCANE_ACTIONWRAPPER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/IActionWrapperService.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22ARCANE_BEGIN_NAMESPACE
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
27class ServiceBuildInfo;
28class IApplication;
29class IServiceInfo;
30
31/*---------------------------------------------------------------------------*/
32/*---------------------------------------------------------------------------*/
33/*!
34 * \internal
35 *
36 * \brief Wrapper autour d'une action.
37 *
38 */
40: public IActionWrapperService
41{
42 public:
43
45 virtual ~ActionWrapperService();
46
47 public:
48
49 //! Parent de ce service
50 virtual IBase* serviceParent() const;
51
52 //! Informations du service
53 virtual IServiceInfo* serviceInfo() const
54 { return m_service_info; }
55
56 private:
57
58 IApplication* m_application;
59 IServiceInfo* m_service_info;
60};
61
62/*---------------------------------------------------------------------------*/
63/*---------------------------------------------------------------------------*/
64
65ARCANE_END_NAMESPACE
66
67/*---------------------------------------------------------------------------*/
68/*---------------------------------------------------------------------------*/
69
70#endif
71
virtual IBase * serviceParent() const
Parent de ce service.
virtual IServiceInfo * serviceInfo() const
Informations du service.
Interface de l'application.
Interface de la classe de base des objets principaux arcane.
Definition IBase.h:38
Interface des informations d'un service ou d'un module.
Structure contenant les informations pour créer un service.