Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::WINDOWING::GBM::CDRMConnector Class Reference

#include <DRMConnector.h>

Inheritance diagram for KODI::WINDOWING::GBM::CDRMConnector:
KODI::WINDOWING::GBM::CDRMObject

Public Member Functions

 CDRMConnector (int fd, uint32_t connector)
 
 CDRMConnector (const CDRMConnector &)=delete
 
CDRMConnectoroperator= (const CDRMConnector &)=delete
 
 ~CDRMConnector ()=default
 
std::string GetType ()
 
std::string GetStatus ()
 
std::string GetName ()
 
uint32_t GetEncoderId () const
 
uint32_t * GetConnectorId () const
 
int GetModesCount () const
 
drmModeModeInfoPtr GetModeForIndex (int index) const
 
bool IsConnected ()
 
bool CheckConnector ()
 
std::vector< uint8_tGetEDID () const
 
- Public Member Functions inherited from KODI::WINDOWING::GBM::CDRMObject
 CDRMObject (const CDRMObject &)=delete
 
CDRMObjectoperator= (const CDRMObject &)=delete
 
virtual ~CDRMObject ()=default
 
std::string GetTypeName () const
 
std::string GetPropertyName (uint32_t propertyId) const
 
uint32_t GetId () const
 
uint32_t GetPropertyId (const std::string &name) const
 
std::optional< uint64_t > GetPropertyValue (std::string_view name, std::string_view valueName) const
 
bool SetProperty (const std::string &name, uint64_t value)
 
bool SupportsProperty (const std::string &name)
 

Additional Inherited Members

- Protected Member Functions inherited from KODI::WINDOWING::GBM::CDRMObject
 CDRMObject (int fd)
 
bool GetProperties (uint32_t id, uint32_t type)
 
- Protected Attributes inherited from KODI::WINDOWING::GBM::CDRMObject
std::unique_ptr< drmModeObjectProperties, DrmModeObjectPropertiesDeleterm_props
 
std::vector< std::unique_ptr< drmModePropertyRes, DrmModePropertyResDeleter > > m_propsInfo
 
int m_fd {-1}
 

Constructor & Destructor Documentation

◆ CDRMConnector() [1/2]

CDRMConnector::CDRMConnector ( int fd,
uint32_t connector )
explicit

◆ CDRMConnector() [2/2]

KODI::WINDOWING::GBM::CDRMConnector::CDRMConnector ( const CDRMConnector & )
delete

◆ ~CDRMConnector()

KODI::WINDOWING::GBM::CDRMConnector::~CDRMConnector ( )
default

Member Function Documentation

◆ CheckConnector()

bool CDRMConnector::CheckConnector ( )

◆ GetConnectorId()

uint32_t * KODI::WINDOWING::GBM::CDRMConnector::GetConnectorId ( ) const
inline

◆ GetEDID()

std::vector< uint8_t > CDRMConnector::GetEDID ( ) const

◆ GetEncoderId()

uint32_t KODI::WINDOWING::GBM::CDRMConnector::GetEncoderId ( ) const
inline

◆ GetModeForIndex()

drmModeModeInfoPtr KODI::WINDOWING::GBM::CDRMConnector::GetModeForIndex ( int index) const
inline

◆ GetModesCount()

int KODI::WINDOWING::GBM::CDRMConnector::GetModesCount ( ) const
inline

◆ GetName()

std::string CDRMConnector::GetName ( )

◆ GetStatus()

std::string CDRMConnector::GetStatus ( )

◆ GetType()

std::string CDRMConnector::GetType ( )

◆ IsConnected()

bool KODI::WINDOWING::GBM::CDRMConnector::IsConnected ( )
inline

◆ operator=()

CDRMConnector & KODI::WINDOWING::GBM::CDRMConnector::operator= ( const CDRMConnector & )
delete

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