MythTV  master
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
MythDRMConnector Class Reference

A wrapper around a DRM connector object. More...

#include <mythdrmconnector.h>

Public Member Functions

bool Connected () const
 

Static Public Member Functions

static DRMConn Create (int FD, uint32_t Id)
 
static DRMConn GetConnector (const DRMConns &Connectors, uint32_t Id)
 
static DRMConns GetConnectors (int FD)
 
static QString GetConnectorName (uint32_t Type, uint32_t Id)
 
static DRMConn GetConnectorByName (const DRMConns &Connectors, const QString &Name)
 

Public Attributes

uint32_t m_id { 0 }
 
uint32_t m_encoderId { 0 }
 
uint32_t m_type { DRM_MODE_CONNECTOR_Unknown }
 
uint32_t m_typeId { 0 }
 
QString m_name
 
drmModeConnection m_state { DRM_MODE_UNKNOWNCONNECTION }
 
uint32_t m_mmWidth { 0 }
 
uint32_t m_mmHeight { 0 }
 
DRMModes m_modes
 
DRMProps m_properties
 

Protected Member Functions

 MythDRMConnector (int FD, uint32_t Id)
 

Detailed Description

A wrapper around a DRM connector object.

The full list of available connectors can be retrieved with GetConnectors and a single connector retrieved from a list with GetConnector.

Definition at line 13 of file mythdrmconnector.h.

Constructor & Destructor Documentation

◆ MythDRMConnector()

MythDRMConnector::MythDRMConnector ( int  FD,
uint32_t  Id 
)
protected

Definition at line 39 of file mythdrmconnector.cpp.

Referenced by Create().

Member Function Documentation

◆ Create()

DRMConn MythDRMConnector::Create ( int  FD,
uint32_t  Id 
)
static

Definition at line 10 of file mythdrmconnector.cpp.

Referenced by GetConnectors().

◆ GetConnector()

DRMConn MythDRMConnector::GetConnector ( const DRMConns Connectors,
uint32_t  Id 
)
static

Definition at line 19 of file mythdrmconnector.cpp.

◆ GetConnectors()

DRMConns MythDRMConnector::GetConnectors ( int  FD)
static

Definition at line 27 of file mythdrmconnector.cpp.

Referenced by MythDRMDevice::Load().

◆ GetConnectorName()

QString MythDRMConnector::GetConnectorName ( uint32_t  Type,
uint32_t  Id 
)
static

Definition at line 63 of file mythdrmconnector.cpp.

Referenced by MythDRMConnector().

◆ GetConnectorByName()

DRMConn MythDRMConnector::GetConnectorByName ( const DRMConns Connectors,
const QString &  Name 
)
static

Definition at line 75 of file mythdrmconnector.cpp.

◆ Connected()

bool MythDRMConnector::Connected ( ) const

Definition at line 58 of file mythdrmconnector.cpp.

Member Data Documentation

◆ m_id

uint32_t MythDRMConnector::m_id { 0 }

Definition at line 23 of file mythdrmconnector.h.

Referenced by MythDRMConnector().

◆ m_encoderId

uint32_t MythDRMConnector::m_encoderId { 0 }

Definition at line 24 of file mythdrmconnector.h.

Referenced by MythDRMConnector().

◆ m_type

uint32_t MythDRMConnector::m_type { DRM_MODE_CONNECTOR_Unknown }

Definition at line 25 of file mythdrmconnector.h.

Referenced by MythDRMConnector().

◆ m_typeId

uint32_t MythDRMConnector::m_typeId { 0 }

Definition at line 26 of file mythdrmconnector.h.

Referenced by MythDRMConnector().

◆ m_name

QString MythDRMConnector::m_name

Definition at line 27 of file mythdrmconnector.h.

Referenced by MythDRMConnector().

◆ m_state

drmModeConnection MythDRMConnector::m_state { DRM_MODE_UNKNOWNCONNECTION }

Definition at line 28 of file mythdrmconnector.h.

Referenced by Connected(), and MythDRMConnector().

◆ m_mmWidth

uint32_t MythDRMConnector::m_mmWidth { 0 }

Definition at line 29 of file mythdrmconnector.h.

Referenced by MythDRMConnector().

◆ m_mmHeight

uint32_t MythDRMConnector::m_mmHeight { 0 }

Definition at line 30 of file mythdrmconnector.h.

Referenced by MythDRMConnector().

◆ m_modes

DRMModes MythDRMConnector::m_modes

Definition at line 31 of file mythdrmconnector.h.

Referenced by MythDRMConnector().

◆ m_properties

DRMProps MythDRMConnector::m_properties

Definition at line 32 of file mythdrmconnector.h.

Referenced by MythDRMConnector().


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