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. More...
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. More...
void | waitProcessed (in long timeout, [retval] out boolean result)
| Wait until time outs, or this event is processed. More...

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

## 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.