Legrand / Raritan Xerus™ JSON-RPC API for Remote Access Devices like KX4-101, KX3G2
Loading...
Searching...
No Matches
LocalMonitor.idl
1#ifndef __RADM_LOCALMONITOR_IDL__
2#define __RADM_LOCALMONITOR_IDL__
3
4#include <Event.idl>
5#include <VideoResolution.idl>
6
7module radm {
8
9 interface LocalMonitor {
10
11 structure Metadata {
12 string label; ///< Local moniter label
13 int idx; ///< Local monitor index
14 };
15
16 structure Status {
17 boolean detected; ///< Whether local monitor is detected.
18 vector<VideoResolution> supportedResolutions; ///< list of supported resolutions of local monitor connected
19 int preferredIndex; ///< Index of preferred resolution in the above supportedResolutions list
20 string edidDescription; ///< Decode EDID data provided by local monitor in human-readable format
21 };
22
23 /**
24 * Get port meta data
25 *
26 * @return Meta data of this port
27 */
29
30 /**
31 * Get port settings
32 *
33 * @return Port settings
34 */
36
37 /** Event: Status has changed */
38 valueobject StatusChangeEvent extends idl.Event {
39 Status oldStatus; ///< status before change
40 Status newStatus; ///< status after change
41 };
42
43 };
44
45}
46
47#endif //__RADM_LOCALMONITOR_IDL__
Metadata getMetadata()
Get port meta data.
Status getStatus()
Get port settings.
Basic IDL definitions.
Definition Event.idl:10
Radm Model.
Definition AccessPort.idl:8
Common base for all events.
Definition Event.idl:13
string label
Local moniter label.
int idx
Local monitor index.
Status oldStatus
status before change
Status newStatus
status after change
int preferredIndex
Index of preferred resolution in the above supportedResolutions list.
string edidDescription
Decode EDID data provided by local monitor in human-readable format.
vector< VideoResolution > supportedResolutions
list of supported resolutions of local monitor connected
boolean detected
Whether local monitor is detected.