#include <Event.h>

Public Types | |
| enum | { Error = 0, Warning, FocusPressed, FocusReleased, ShutterPressed, ShutterReleased, N900LensClosed = 10000, N900LensOpened, N900SlideOpened, N900SlideClosed, F2LensRemoved = 20000, F2LensInstalled, F2ZoomChanged, F2FocusChanged } |
| The list of builtin event types. More... | |
Public Member Functions | |
| std::string | description () const |
| A human-readable description of the event. | |
Public Attributes | |
| EventGenerator * | creator |
| creator of this Event | |
| int | type |
| type of this Event | |
| Time | time |
| Time this Event occured. | |
| int | iData |
| integer data associated with of this Event. | |
| float | fData |
| float associated with of this Event. | |
Retrieve events from the system using getNextEvent.
Definition at line 18 of file Event.h.
| anonymous enum |
The list of builtin event types.
Builtin FCam events use positive integers. They are guaranteed not to have collisions and should all be listed here. Custom events should use negative integers, and may collide with other custom events (so you should check the creator and the type).
| Error | An asynchronous error occurred. |
| Warning | An asynchronous warning occurred. |
| FocusPressed | The focus button was pressed (typically the shutter button was half-depressed). |
| FocusReleased | The focus button was released. |
| ShutterPressed | The shutter button was pressed. |
| ShutterReleased | The shutter button was released. |
| N900LensClosed | The lens cover on the N900 was closed. |
| N900LensOpened | The lens cover on the N900 was opened. |
| N900SlideOpened | The keyboard on the N900 was slid open. |
| N900SlideClosed | The keyboard on the N900 was slid closed. |
| F2LensRemoved | The lens on the F2 was removed. |
| F2LensInstalled | A new lens was inserted in the F2. |
| F2ZoomChanged | The lens on the F2 was manually zoomed. |
| F2FocusChanged | The lens on the F2 was manually focused. |
| float FCam::Event::fData |
1.5.6