MythTV
master
|
A wrapper around a DRM object property. More...
#include <libmythui/platforms/drm/mythdrmproperty.h>
Public Types | |
enum | Type { Invalid = 0, Range, Enum, Bitmask, Blob, Object, SignedRange } |
Public Member Functions | |
virtual | ~MythDRMProperty ()=default |
virtual QString | ToString () |
Static Public Member Functions | |
static DRMProps | GetProperties (int FD, uint32_t ObjectId, uint32_t ObjectType) |
static DRMProp | GetProperty (const QString &Name, const DRMProps &Properties) |
Public Attributes | |
Type | m_type { Invalid } |
uint32_t | m_id { 0 } |
bool | m_readOnly { true } |
bool | m_atomic { false } |
QString | m_name |
Protected Member Functions | |
MythDRMProperty (Type mType, uint32_t Id, uint32_t Flags, const char *Name) | |
A wrapper around a DRM object property.
Retrieve a list of the properties available for an object with GetProperties and retrieve a single, named property from a given list with GetProperty.
Definition at line 10 of file mythdrmproperty.h.
Enumerator | |
---|---|
Invalid | |
Range | |
Enum | |
Bitmask | |
Blob | |
Object | |
SignedRange |
Definition at line 13 of file mythdrmproperty.h.
|
virtualdefault |
|
protected |
Definition at line 19 of file mythdrmproperty.cpp.
|
static |
Definition at line 28 of file mythdrmproperty.cpp.
Referenced by MythDRMConnector::MythDRMConnector(), MythDRMCrtc::MythDRMCrtc(), and MythDRMPlane::MythDRMPlane().
Definition at line 58 of file mythdrmproperty.cpp.
Referenced by MythVideoDRM::ColourSpaceUpdated(), MythDRMHDR::Create(), MythDRMVRR::CreateFreeSync(), MythDRMDevice::Initialise(), MythDRMHDR::MythDRMHDR(), MythDRMPlane::MythDRMPlane(), and MythDRMDevice::SwitchMode().
|
inlinevirtual |
Reimplemented in MythDRMEnumProperty, MythDRMSignedRangeProperty, and MythDRMRangeProperty.
Definition at line 27 of file mythdrmproperty.h.
Definition at line 29 of file mythdrmproperty.h.
Referenced by MythDRMBitmaskProperty::MythDRMBitmaskProperty().
uint32_t MythDRMProperty::m_id { 0 } |
Definition at line 30 of file mythdrmproperty.h.
Definition at line 31 of file mythdrmproperty.h.
Definition at line 32 of file mythdrmproperty.h.
QString MythDRMProperty::m_name |
Definition at line 33 of file mythdrmproperty.h.
Referenced by MythDRMRangeProperty::ToString(), MythDRMSignedRangeProperty::ToString(), and MythDRMEnumProperty::ToString().