12#ifndef ARCANE_SERVICEINSTANCE_H
13#define ARCANE_SERVICEINSTANCE_H
17#include "arcane/utils/Ref.h"
18#include "arcane/IService.h"
59 void reset() { m_instance.reset(); }
72inline bool operator!=(
const ServiceInstanceRef& a,
const ServiceInstanceRef& b)
74 return a.
get()!=b.get();
Interface d'une instance d'un service.
Référence sur une instance de service.
Référence à une instance.
InstanceType * get() const
Instance associée ou nullptr si aucune.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-