SystemMonitors¶
- class PyOpenColorIO.SystemMonitors¶
Provides access to the ICC monitor profile provided by the operating system for each active display.
- SystemMonitors() None ¶
- getMonitors() PyOpenColorIO.SystemMonitors.MonitorIterator ¶
-
class SystemMonitors¶
Provides access to the ICC monitor profile provided by the operating system for each active display.
Public Functions
-
SystemMonitors(const SystemMonitors&) = delete¶
-
SystemMonitors &operator=(const SystemMonitors&) = delete¶
-
virtual bool isSupported() const noexcept = 0¶
True if the OS is able to provide ICC profiles for the attached monitors (macOS, Windows) and false otherwise.
-
virtual size_t getNumMonitors() const noexcept = 0¶
Get the number of active monitors reported by the operating system.
-
virtual const char *getMonitorName(size_t idx) const = 0¶
Get the monitor profile name.
Get the string describing the monitor. It is used as an argument to instantiateDisplay. It may also be used in a UI to ask a user which of several monitors they want to instantiate a display for.
-
virtual const char *getProfileFilepath(size_t idx) const = 0¶
Get the ICC profile path associated to the monitor.
Public Static Functions
-
static ConstSystemMonitorsRcPtr Get() noexcept¶
Get the existing instance.
-
SystemMonitors(const SystemMonitors&) = delete¶
-
typedef std::shared_ptr<const SystemMonitors> OpenColorIO_v2_2::ConstSystemMonitorsRcPtr¶
-
typedef std::shared_ptr<SystemMonitors> OpenColorIO_v2_2::SystemMonitorsRcPtr¶