#include <drm.hpp>
Definition at line 96 of file drm.hpp.
◆ ModeConnector() [1/3]
Beatmup::DRM::ModeConnector::ModeConnector |
( |
const ModeConnector & |
| ) |
|
|
privatedelete |
◆ ModeConnector() [2/3]
Beatmup::DRM::ModeConnector::ModeConnector |
( |
| ) |
|
|
inline |
Definition at line 101 of file drm.hpp.
drmModeConnector * connector
◆ ModeConnector() [3/3]
Definition at line 103 of file drm.hpp.
104 auto* resPtr = resources.getPointer();
105 for (
int i = 0; i < resPtr->count_connectors; ++i) {
106 connector = drmModeGetConnector(device.getHandle(), resPtr->connectors[i]);
107 if (
connector->connection == DRM_MODE_CONNECTED)
111 throw DRMError(
"Cannot get DRM connector");
◆ ~ModeConnector()
Beatmup::DRM::ModeConnector::~ModeConnector |
( |
| ) |
|
|
inline |
◆ operator=()
Definition at line 119 of file drm.hpp.
121 other.connector =
nullptr;
◆ getPointer()
drmModeConnector* Beatmup::DRM::ModeConnector::getPointer |
( |
| ) |
|
|
inline |
◆ getMode()
const drmModeModeInfo& Beatmup::DRM::ModeConnector::getMode |
( |
int |
index | ) |
const |
|
inline |
◆ connector
drmModeConnector* Beatmup::DRM::ModeConnector::connector |
|
private |
The documentation for this class was generated from the following file: