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

A simple wrapper around a drmModeResPtr that ensures proper cleanup. More...

#include <mythdrmresources.h>

Public Member Functions

 MythDRMResources (int FD)
 
 ~MythDRMResources ()
 
drmModeResPtr operator-> () const
 
drmModeResPtr operator* () const
 

Private Attributes

drmModeResPtr m_resources { nullptr }
 

Detailed Description

A simple wrapper around a drmModeResPtr that ensures proper cleanup.

Definition at line 24 of file mythdrmresources.h.

Constructor & Destructor Documentation

◆ MythDRMResources()

MythDRMResources::MythDRMResources ( int  FD)

Definition at line 7 of file mythdrmresources.cpp.

◆ ~MythDRMResources()

MythDRMResources::~MythDRMResources ( )

Definition at line 12 of file mythdrmresources.cpp.

Member Function Documentation

◆ operator->()

drmModeResPtr MythDRMResources::operator-> ( ) const

Definition at line 18 of file mythdrmresources.cpp.

◆ operator*()

drmModeResPtr MythDRMResources::operator* ( ) const

Definition at line 23 of file mythdrmresources.cpp.

Member Data Documentation

◆ m_resources

drmModeResPtr MythDRMResources::m_resources { nullptr }
private

Definition at line 33 of file mythdrmresources.h.

Referenced by operator*(), operator->(), and ~MythDRMResources().


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