xbmc
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KODI::WINDOWING::GBM::CDRMObject Class Reference
Inheritance diagram for KODI::WINDOWING::GBM::CDRMObject:
Inheritance graph
[legend]
Collaboration diagram for KODI::WINDOWING::GBM::CDRMObject:
Collaboration graph
[legend]

Classes

struct  DrmModeObjectPropertiesDeleter
 
struct  DrmModePropertyResDeleter
 

Public Member Functions

 CDRMObject (const CDRMObject &)=delete
 
CDRMObjectoperator= (const CDRMObject &)=delete
 
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)
 

Protected Member Functions

 CDRMObject (int fd)
 
bool GetProperties (uint32_t id, uint32_t type)
 

Protected Attributes

std::unique_ptr< drmModeObjectProperties, DrmModeObjectPropertiesDeleterm_props
 
std::vector< std::unique_ptr< drmModePropertyRes, DrmModePropertyResDeleter > > m_propsInfo
 
int m_fd {-1}
 

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