MythTV  master
Public Types | Public Member Functions | Private Attributes | List of all members
CleanupGuard Class Reference

#include <cleanupguard.h>

Public Types

using CleanupFunc = void(*)()

Public Member Functions

 CleanupGuard (CleanupFunc cleanFunction)
 ~CleanupGuard ()

Private Attributes

CleanupFunc m_cleanFunction

Detailed Description

Definition at line 6 of file cleanupguard.h.

Member Typedef Documentation

◆ CleanupFunc

using CleanupGuard::CleanupFunc = void (*)()

Definition at line 9 of file cleanupguard.h.

Constructor & Destructor Documentation

◆ CleanupGuard()

CleanupGuard::CleanupGuard ( CleanupFunc  cleanFunction)

Definition at line 4 of file cleanupguard.cpp.

◆ ~CleanupGuard()

CleanupGuard::~CleanupGuard ( )

Definition at line 9 of file cleanupguard.cpp.

Member Data Documentation

◆ m_cleanFunction

CleanupFunc CleanupGuard::m_cleanFunction

Definition at line 17 of file cleanupguard.h.

Referenced by ~CleanupGuard().

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