VirtualBox Main API

Public Member Functions | Public Attributes | List of all members
IReusableEvent Interface Reference

Base abstract interface for all reusable events. More...

Inheritance diagram for IReusableEvent:

## Public Member Functions
void | reuse ()
| Marks an event as reused, increments 'generation', fields shall no longer be considered valid.
Public Member Functions inherited from IEvent
void | setProcessed ()
| Internal method called by the system when all listeners of a particular event have called IEventSource::eventProcessed.
void | waitProcessed (in long timeout, [retval] out boolean result)
| Wait until time outs, or this event is processed.

## Public Attributes
readonly attribute unsigned long | generation
| Current generation of event, incremented on reuse.
Public Attributes inherited from IEvent
readonly attribute VBoxEventType | type
| Event type.
readonly attribute IEventSource | source
| Source of this event.
readonly attribute boolean | waitable
| If we can wait for this event being processed.

## Detailed Description

Base abstract interface for all reusable events.

Interface ID:
  `{69BFB134-80F6-4266-8E20-16371F68FA25}`

## Member Function Documentation

## ◆ reuse()

void IReusableEvent::reuse | ( |  | ) |

Marks an event as reused, increments 'generation', fields shall no longer be considered valid.

## Member Data Documentation

## ◆ generation

readonly attribute unsigned long IReusableEvent::generation

Current generation of event, incremented on reuse.