LibreOffice Module tools (master) 1
Public Member Functions | Private Attributes | List of all members
SvCompatWeakBase< T > Class Template Reference

We only have one place that extends this, in include/sfx2/frame.hxx, class SfxFrame. More...

#include <ref.hxx>

Collaboration diagram for SvCompatWeakBase< T >:
[legend]

Public Member Functions

 SvCompatWeakBase (T *pObj)
 Does not use initializer due to compiler warnings, because the lifetime of the _xHdl object can exceed the lifetime of this class. More...
 
 ~SvCompatWeakBase ()
 
SvCompatWeakHdl< T > * GetHdl ()
 

Private Attributes

tools::SvRef< SvCompatWeakHdl< T > > _xHdl
 

Detailed Description

template<typename T>
class SvCompatWeakBase< T >

We only have one place that extends this, in include/sfx2/frame.hxx, class SfxFrame.

Its function is to notify the SvCompatWeakHdl when an SfxFrame object is deleted.

Definition at line 193 of file ref.hxx.

Constructor & Destructor Documentation

◆ SvCompatWeakBase()

template<typename T >
SvCompatWeakBase< T >::SvCompatWeakBase ( T *  pObj)
inline

Does not use initializer due to compiler warnings, because the lifetime of the _xHdl object can exceed the lifetime of this class.

Definition at line 201 of file ref.hxx.

References SvCompatWeakBase< T >::_xHdl.

◆ ~SvCompatWeakBase()

template<typename T >
SvCompatWeakBase< T >::~SvCompatWeakBase ( )
inline

Definition at line 203 of file ref.hxx.

References SvCompatWeakBase< T >::_xHdl.

Member Function Documentation

◆ GetHdl()

template<typename T >
SvCompatWeakHdl< T > * SvCompatWeakBase< T >::GetHdl ( )
inline

Definition at line 205 of file ref.hxx.

References SvCompatWeakBase< T >::_xHdl.

Member Data Documentation

◆ _xHdl

template<typename T >
tools::SvRef< SvCompatWeakHdl<T> > SvCompatWeakBase< T >::_xHdl
private

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