VirtualBox

Ignore:
Timestamp:
Feb 6, 2012 10:23:09 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
76127
Message:

VBoxBalloonCtrl: Update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBalloonCtrl/VBoxWatchdogInternal.h

    r39986 r40010  
    2020
    2121#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>
    2932#endif /* !VBOX_ONLY_DOCS */
    3033
     
    8184    ComPtr<IPerformanceCollector> collector;
    8285#endif
     86    /** The machine's VM group(s). */
     87    Bstr group;
    8388    /** Map containing the individual
    8489     *  module payloads. */
     
    8994typedef std::map<Bstr, VBOXWATCHDOG_MACHINE>::const_iterator mapVMIterConst;
    9095
    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. */
     97typedef std::vector<Bstr> vecGroupMembers;
     98typedef std::vector<Bstr>::iterator vecGroupMembersIter;
     99typedef std::vector<Bstr>::const_iterator vecGroupMembersIterConst;
     100
     101/** A VM group. Can contain none, one or more group members. */
     102typedef std::map<Bstr, vecGroupMembers> mapGroup;
     103typedef std::map<Bstr, vecGroupMembers>::iterator mapGroupIter;
     104typedef std::map<Bstr, vecGroupMembers>::const_iterator mapGroupIterConst;
    101105
    102106/**
     
    195199RT_C_DECLS_BEGIN
    196200
    197 extern bool g_fVerbose;
     201extern bool                             g_fDryrun;
     202extern bool                             g_fVerbose;
    198203extern ComPtr<IVirtualBox>              g_pVirtualBox;
    199204extern ComPtr<ISession>                 g_pSession;
    200205extern mapVM                            g_mapVM;
     206extern mapGroup                         g_mapGroup;
    201207# ifdef VBOX_WATCHDOG_GLOBAL_PERFCOL
    202208extern ComPtr<IPerformanceCollector>    g_pPerfCollector;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette