Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::RefImpl< InstanceType, RefClassType, ImplTagId >::Deleter Class Reference
Inheritance diagram for Arcane::RefImpl< InstanceType, RefClassType, ImplTagId >::Deleter:
Collaboration diagram for Arcane::RefImpl< InstanceType, RefClassType, ImplTagId >::Deleter:

Public Member Functions

 Deleter (Internal::ExternalRef h)
 Deleter (Internal::ExternalRef h, bool no_destroy)
void operator() (InstanceType *tt)
Public Member Functions inherited from Arcane::RefBase::DeleterBase
bool hasExternal () const
void setNoDestroy (bool x)

Additional Inherited Members

Protected Member Functions inherited from Arcane::RefBase::DeleterBase
bool _destroyHandle (const void *instance, ExternalRef &handle)
bool _destroyHandle (void *instance, ExternalRef &handle)
 DeleterBase (ExternalRef h)
 DeleterBase (ExternalRef h, bool no_destroy)
Protected Attributes inherited from Arcane::RefBase::DeleterBase
Internal::ExternalRef m_handle
 External handle responsible for the destruction of the instance.
bool m_no_destroy = false
 Indicates whether the instance destructor should be called when there are no more references to it.

Detailed Description

template<typename InstanceType, typename RefClassType, int ImplTagId>
class Arcane::RefImpl< InstanceType, RefClassType, ImplTagId >::Deleter

Definition at line 149 of file arccore/src/base/arccore/base/Ref.h.

Constructor & Destructor Documentation

◆ Deleter() [1/2]

template<typename InstanceType, typename RefClassType, int ImplTagId>
Arcane::RefImpl< InstanceType, RefClassType, ImplTagId >::Deleter::Deleter ( Internal::ExternalRef h)
inline

Definition at line 154 of file arccore/src/base/arccore/base/Ref.h.

◆ Deleter() [2/2]

template<typename InstanceType, typename RefClassType, int ImplTagId>
Arcane::RefImpl< InstanceType, RefClassType, ImplTagId >::Deleter::Deleter ( Internal::ExternalRef h,
bool no_destroy )
inline

Definition at line 157 of file arccore/src/base/arccore/base/Ref.h.

Member Function Documentation

◆ operator()()

template<typename InstanceType, typename RefClassType, int ImplTagId>
void Arcane::RefImpl< InstanceType, RefClassType, ImplTagId >::Deleter::operator() ( InstanceType * tt)
inline

Definition at line 160 of file arccore/src/base/arccore/base/Ref.h.


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