Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::IUserData Class Referenceabstract

Interface for user data attached to another object. More...

#include <arcane/utils/IUserData.h>

Public Member Functions

virtual ~IUserData ()
 Releases resources.
virtual void notifyAttach ()=0
 Method executed when the instance is attached.
virtual void notifyDetach ()=0
 Method executed when the instance is detached.

Detailed Description

Interface for user data attached to another object.

Definition at line 32 of file IUserData.h.

Constructor & Destructor Documentation

◆ ~IUserData()

virtual Arcane::IUserData::~IUserData ( )
inlinevirtual

Releases resources.

Definition at line 37 of file IUserData.h.

Member Function Documentation

◆ notifyAttach()

virtual void Arcane::IUserData::notifyAttach ( )
pure virtual

Method executed when the instance is attached.

Implemented in Arcane::AutoDestroyUserData< T, DestroyBehaviour >.

Referenced by Arcane::UserDataList::setData().

◆ notifyDetach()

virtual void Arcane::IUserData::notifyDetach ( )
pure virtual

Method executed when the instance is detached.

Implemented in Arcane::AutoDestroyUserData< T, DestroyBehaviour >.

Referenced by Arcane::UserDataList::removeData().


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