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

#include <mythdrmproperty.h>

Inheritance diagram for MythDRMEnumProperty:
Inheritance graph
[legend]
Collaboration diagram for MythDRMEnumProperty:
Collaboration graph
[legend]

Public Member Functions

 MythDRMEnumProperty (uint64_t Value, drmModePropertyPtr Property)
 
QString ToString () override
 
- Public Member Functions inherited from MythDRMProperty
virtual ~MythDRMProperty ()=default
 

Public Attributes

uint64_t m_value { 0 }
 
std::map< uint64_t, QString > m_enums
 
- Public Attributes inherited from MythDRMProperty
Type m_type { Invalid }
 
uint32_t m_id { 0 }
 
bool m_readOnly { true }
 
bool m_atomic { false }
 
QString m_name
 

Additional Inherited Members

- Public Types inherited from MythDRMProperty
enum  Type {
  Invalid = 0, Range, Enum, Bitmask,
  Blob, Object, SignedRange
}
 
- Static Public Member Functions inherited from MythDRMProperty
static DRMProps GetProperties (int FD, uint32_t ObjectId, uint32_t ObjectType)
 
static DRMProp GetProperty (const QString &Name, const DRMProps &Properties)
 
- Protected Member Functions inherited from MythDRMProperty
 MythDRMProperty (Type mType, uint32_t Id, uint32_t Flags, const char *Name)
 

Detailed Description

Definition at line 62 of file mythdrmproperty.h.

Constructor & Destructor Documentation

◆ MythDRMEnumProperty()

MythDRMEnumProperty::MythDRMEnumProperty ( uint64_t  Value,
drmModePropertyPtr  Property 
)

Definition at line 102 of file mythdrmproperty.cpp.

Member Function Documentation

◆ ToString()

QString MythDRMEnumProperty::ToString ( )
overridevirtual

Reimplemented from MythDRMProperty.

Definition at line 110 of file mythdrmproperty.cpp.

Member Data Documentation

◆ m_value

uint64_t MythDRMEnumProperty::m_value { 0 }

Definition at line 67 of file mythdrmproperty.h.

Referenced by ToString().

◆ m_enums

std::map<uint64_t,QString> MythDRMEnumProperty::m_enums

Definition at line 68 of file mythdrmproperty.h.

Referenced by MythDRMEnumProperty(), and ToString().


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