Could anyone shed some light on how the classes are tied together? For example, in my Python code I am able to get a VirtualBox object, and from that, get a listing of machine objects, and some basic information about them:
Code: Select all
import vboxapi
vbox = vboxapi.PlatformXPCOM(None).getVirtualBox()
machines = vbox.getMachines()
for machine in machines:
machineName = machine.name
machineStatus = machine.state
But the SDK PDF manual also talks about things like the IGuest class, the IKeyboard class, the ISession class, the IConsole class, etc. How do I get from the vbox or machine class down to some of the other classes? I'd like to copy files to/from the guest OS, and to see information about running processes. It seems all the functions are there, but there is a maze of classes to wade through first. The SDK could
really use a diagram to map out class X to class Y though classes A, B, and C. Thanks.