MythTV  master
Public Member Functions | Private Attributes | List of all members
SimpleCleanup< T > Class Template Reference

#include <cleanup.h>

Inheritance diagram for SimpleCleanup< T >:
Inheritance graph
[legend]
Collaboration diagram for SimpleCleanup< T >:
Collaboration graph
[legend]

Public Member Functions

 SimpleCleanup (T *inst)
 
 ~SimpleCleanup () override
 
void doClean () override
 
- Public Member Functions inherited from CleanupProc
virtual ~CleanupProc ()=default
 

Private Attributes

T * m_inst {nullptr}
 

Detailed Description

template<typename T>
class SimpleCleanup< T >

Definition at line 30 of file cleanup.h.

Constructor & Destructor Documentation

◆ SimpleCleanup()

template<typename T >
SimpleCleanup< T >::SimpleCleanup ( T *  inst)
inlineexplicit

Definition at line 33 of file cleanup.h.

◆ ~SimpleCleanup()

template<typename T >
SimpleCleanup< T >::~SimpleCleanup ( )
inlineoverride

Definition at line 38 of file cleanup.h.

Member Function Documentation

◆ doClean()

template<typename T >
void SimpleCleanup< T >::doClean ( )
inlineoverridevirtual

Implements CleanupProc.

Definition at line 43 of file cleanup.h.

Member Data Documentation

◆ m_inst

template<typename T >
T* SimpleCleanup< T >::m_inst {nullptr}
private

Definition at line 49 of file cleanup.h.


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