MythTV
master
|
A simple wrapper around a drmModeResPtr that ensures proper cleanup. More...
#include <libmythui/platforms/drm/mythdrmresources.h>
Public Member Functions | |
MythDRMResources (int FD) | |
~MythDRMResources () | |
drmModeResPtr | operator-> () const |
drmModeResPtr | operator* () const |
Private Attributes | |
drmModeResPtr | m_resources { nullptr } |
A simple wrapper around a drmModeResPtr that ensures proper cleanup.
Definition at line 24 of file mythdrmresources.h.
MythDRMResources::MythDRMResources | ( | int | FD | ) |
Definition at line 7 of file mythdrmresources.cpp.
MythDRMResources::~MythDRMResources | ( | ) |
Definition at line 12 of file mythdrmresources.cpp.
drmModeResPtr MythDRMResources::operator-> | ( | ) | const |
Definition at line 18 of file mythdrmresources.cpp.
drmModeResPtr MythDRMResources::operator* | ( | ) | const |
Definition at line 23 of file mythdrmresources.cpp.
|
private |
Definition at line 33 of file mythdrmresources.h.
Referenced by operator*(), operator->(), and ~MythDRMResources().