Changeset 20828 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jun 23, 2009 12:58:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r20814 r20828 2999 2999 </param> 3000 3000 </method> 3001 3001 3002 3002 </interface> 3003 3003 … … 5579 5579 > 5580 5580 5581 <desc> 5582 This interface is used by a client of the Main API that need to 5583 be notified of events. For example, a graphical user interface 5584 can use this to learn about machine state changes so they can 5585 update the list of virtual machines without having to rely 5586 on polling. 5587 5588 Whenever relevant events occur in VirtualBox, the callbacks in 5589 objects of this interface are called. In order for this to be 5590 useful, a client needs to create its own subclass that implements 5591 this interface in which the methods for the relevant callbacks 5592 are overridden. An instance of this subclass interface can then 5593 be passed to <link to="IConsole::registerCallback" />. 5594 </desc> 5595 5581 5596 <method name="onMousePointerShapeChange"> 5582 5597 <desc> … … 8417 8432 interface such as: 8418 8433 <ul> 8419 <li> IHardDisk(virtual hard disks)</li>8420 <li> IDVDImage(standard CD/DVD ISO image files)</li>8421 <li> IFloppyImage(raw floppy image files)</li>8434 <li><link to="IHardDisk" /> (virtual hard disks)</li> 8435 <li><link to="IDVDImage" /> (standard CD/DVD ISO image files)</li> 8436 <li><link to="IFloppyImage" /> (raw floppy image files)</li> 8422 8437 </ul> 8423 8438 … … 8690 8705 8691 8706 This method sets the media state to <link 8692 to="MediaState_LockedRead" /> on success. The state prior to8693 this call must be <link to="MediaState_Created" />, <link8694 to="MediaState_Inaccessible"/> or <link8695 to="MediaState_LockedRead"/>. As you can see, inaccessible8696 media can be locked too. This is not an error; this method8697 performs a logical lock that prevents modifications of this8698 m edia through the VirtualBox API, not a physical lock of the8699 underlying storage unit.8707 to="MediaState_LockedRead" /> on success. The state prior to 8708 this call must be <link to="MediaState_Created" />, 8709 <link to="MediaState_Inaccessible" /> or 8710 <link to="MediaState_LockedRead" />. 8711 As you can see, inaccessible media can be locked too. This is 8712 not an error; this method performs a logical lock that prevents 8713 modifications of this media through the VirtualBox API, not a 8714 physical lock of the underlying storage unit. 8700 8715 8701 8716 This method returns the current state of the medium … … 8761 8776 to="#unlockWrite"/> call before the next lockWrite call. 8762 8777 8763 This method sets the media state to <link 8764 to="MediaState_LockedWrite"/> on success. The state prior to 8765 this call must be <link to="MediaState_Created"/> or <link 8766 to="MediaState_Inaccessible"/>. As you can see, inaccessible 8778 This method sets the media state to <link to="MediaState_LockedWrite" /> 8779 on success. The state prior to this call must be <link to="MediaState_Created"/> 8780 or <link to="MediaState_Inaccessible"/>. As you can see, inaccessible 8767 8781 media can be locked too. This is not an error; this method 8768 8782 performs a logical lock preventing modifications of this … … 10714 10728 </param> 10715 10729 </method> 10716 10730 10717 10731 <method name="processVHWACommand"> 10718 10732 <desc> … … 10720 10734 The commands used for 2D video acceleration (DDraw surface creation/destroying, blitting, scaling, color covnersion, overlaying, etc.) 10721 10735 are posted from quest to the host to be processed by the host hardware. 10722 10736 10723 10737 <note> 10724 10738 The address of the provided command must be in the process space of … … 10726 10740 </note> 10727 10741 </desc> 10728 10742 10729 10743 <param name="command" type="octet" mod="ptr" dir="in"> 10730 10744 <desc>Pointer to VBOXVHWACMD containing the command to execute.</desc> … … 10971 10985 Signals that the Video HW Acceleration command has completed. 10972 10986 </desc> 10973 10987 10974 10988 <param name="command" type="octet" mod="ptr" dir="in"> 10975 10989 <desc>Pointer to VBOXVHWACMD containing the completed command.</desc> … … 13097 13111 stores performance metrics data. 13098 13112 13099 Performance metrics are associated with objects like IHost and13113 Performance metrics are associated with objects of interfaces like IHost and 13100 13114 IMachine. Each object has a distinct set of performance metrics. 13101 13115 The set can be obtained with <link to="IPerformanceCollector::getMetrics"/>. 13102 13116 13103 Metric data are collected at the specified intervals and areretained13104 internally. The interval and the number of samples retainedcan be set13117 Metric data is collected at the specified intervals and is retained 13118 internally. The interval and the number of retained samples can be set 13105 13119 with <link to="IPerformanceCollector::setupMetrics" />. 13106 13120 13107 Metrics are organized hierarchically, each level separated by slash (/). 13108 General scheme for metric name is 13109 "Category/Metric[/SubMetric][:aggregation]". For example CPU/Load/User:avg 13110 metric name stands for: CPU category, Load metric, User submetric, average 13111 aggregate. An aggregate function is computed over all retained data. Valid 13112 aggregate functions are: 13113 13114 <ul> 13115 <li>avg -- average</li> 13116 <li>min -- minimum</li> 13117 <li>max -- maximum</li> 13118 </ul> 13119 13120 "Category/Metric" together form base metric name. A base metric is the 13121 Metrics are organized hierarchically, with each level separated by a 13122 slash (/) character. Generally, the scheme for metric names is like this: 13123 13124 <tt>Category/Metric[/SubMetric][:aggregation]</tt> 13125 13126 "Category/Metric" together form the base metric name. A base metric is the 13121 13127 smallest unit for which a sampling interval and the number of retained 13122 13128 samples can be set. Only base metrics can be enabled and disabled. All 13123 13129 sub-metrics are collected when their base metric is collected. 13124 13130 Collected values for any set of sub-metrics can be queried with 13125 <link to="IPerformanceCollector::queryMetricsData" />. When setting up 13131 <link to="IPerformanceCollector::queryMetricsData" />. 13132 13133 For example "CPU/Load/User:avg" 13134 metric name stands for the "CPU" category, "Load" metric, "User" submetric, 13135 "average" aggregate. An aggregate function is computed over all retained 13136 data. Valid aggregate functions are: 13137 13138 <ul> 13139 <li>avg -- average</li> 13140 <li>min -- minimum</li> 13141 <li>max -- maximum</li> 13142 </ul> 13143 13144 When setting up 13126 13145 metric parameters, querying metric data, enabling or disabling metrics 13127 13146 wildcards can be used in metric names to specify a subset of metrics. For
Note:
See TracChangeset
for help on using the changeset viewer.