Changeset 40010 in vbox for trunk/src/VBox/Frontends/VBoxBalloonCtrl/VBoxWatchdogInternal.h
- Timestamp:
- Feb 6, 2012 10:23:09 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 76127
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBalloonCtrl/VBoxWatchdogInternal.h
r39986 r40010 20 20 21 21 #ifndef VBOX_ONLY_DOCS 22 #include <VBox/com/com.h> 23 #include <VBox/com/assert.h> 24 #include <VBox/com/string.h> 25 #include <VBox/com/VirtualBox.h> 26 27 #include <iprt/getopt.h> 28 #include <iprt/time.h> 22 # include <iprt/getopt.h> 23 # include <iprt/time.h> 24 25 # include <VBox/err.h> 26 # include <VBox/com/com.h> 27 # include <VBox/com/string.h> 28 # include <VBox/com/Guid.h> 29 # include <VBox/com/array.h> 30 # include <VBox/com/ErrorInfo.h> 31 # include <VBox/com/VirtualBox.h> 29 32 #endif /* !VBOX_ONLY_DOCS */ 30 33 … … 81 84 ComPtr<IPerformanceCollector> collector; 82 85 #endif 86 /** The machine's VM group(s). */ 87 Bstr group; 83 88 /** Map containing the individual 84 89 * module payloads. */ … … 89 94 typedef std::map<Bstr, VBOXWATCHDOG_MACHINE>::const_iterator mapVMIterConst; 90 95 91 /** A VM group entry. Note that a machine can belong 92 * to more than one group. */ 93 typedef struct VBOXWATCHDOG_VM_GROUP 94 { 95 /** UUIDs of machines belonging to this group. */ 96 std::vector<Bstr> machine; 97 } VBOXWATCHDOG_VM_GROUP; 98 typedef std::map<Bstr, VBOXWATCHDOG_VM_GROUP> mapGroup; 99 typedef std::map<Bstr, VBOXWATCHDOG_VM_GROUP>::iterator mapGroupIter; 100 typedef std::map<Bstr, VBOXWATCHDOG_VM_GROUP>::const_iterator mapGroupIterConst; 96 /** Members of a VM group; currently only represented by the machine's UUID. */ 97 typedef std::vector<Bstr> vecGroupMembers; 98 typedef std::vector<Bstr>::iterator vecGroupMembersIter; 99 typedef std::vector<Bstr>::const_iterator vecGroupMembersIterConst; 100 101 /** A VM group. Can contain none, one or more group members. */ 102 typedef std::map<Bstr, vecGroupMembers> mapGroup; 103 typedef std::map<Bstr, vecGroupMembers>::iterator mapGroupIter; 104 typedef std::map<Bstr, vecGroupMembers>::const_iterator mapGroupIterConst; 101 105 102 106 /** … … 195 199 RT_C_DECLS_BEGIN 196 200 197 extern bool g_fVerbose; 201 extern bool g_fDryrun; 202 extern bool g_fVerbose; 198 203 extern ComPtr<IVirtualBox> g_pVirtualBox; 199 204 extern ComPtr<ISession> g_pSession; 200 205 extern mapVM g_mapVM; 206 extern mapGroup g_mapGroup; 201 207 # ifdef VBOX_WATCHDOG_GLOBAL_PERFCOL 202 208 extern ComPtr<IPerformanceCollector> g_pPerfCollector;
Note:
See TracChangeset
for help on using the changeset viewer.