Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

VirtualBox::CallbackEvent Class Reference

#include <VirtualBoxImpl.h>

Inheritance diagram for VirtualBox::CallbackEvent:

com::Event ExtraDataEvent GuestPropertyEvent MachineEvent SessionEvent SnapshotEvent

List of all members.


Detailed Description

Abstract callback event class to asynchronously call VirtualBox callbacks on a dedicated event thread. Subclasses reimplement handleCallback() to call appropriate IVirtualBoxCallback methods depending on the event to be dispatched.

Note:
The VirtualBox instance passed to the constructor is strongly referenced, so that the VirtualBox singleton won't be released until the event gets handled by the event thread.

Definition at line 530 of file VirtualBoxImpl.h.


Public Member Functions

 CallbackEvent (VirtualBox *aVirtualBox)
virtual void handleCallback (const ComPtr< IVirtualBoxCallback > &aCallback)=0
void * handler ()

Private Attributes

ComObjPtr< VirtualBox, ComWeakRefmVirtualBox

Friends

class EventQueue

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index