An action to fire the flash during an exposure. More...
Public Member Functions |
|
FireAction (Flash *f) | |
Construct a FireAction to fire the given flash. |
|
FireAction (Flash *f, int time) | |
Construct a FireAction to fire the given flash, starting at the given time into the exposure (in microseconds). |
|
FireAction (Flash *f, int time, float brightness, int duration) | |
Construct a FireAction to fire the given flash, starting at the given time into the exposure (in microseconds), at the given brightness, for the given duration (in microseconds). |
|
void | doAction () |
Perform the action. |
|
Flash * | getFlash () |
Get the flash associated with this fire event. |
|
Public Attributes |
|
float | brightness |
The brightness setting for this flash fire. |
|
int | duration |
The length of time the flash should fire for. |
An action to fire the flash during an exposure.
FCam::Flash::FireAction::FireAction | ( | Flash * | f | ) |
Construct a FireAction to fire the given flash.
FCam::Flash::FireAction::FireAction | ( | Flash * | f, | |
int | time | |||
) |
Construct a FireAction to fire the given flash, starting at the given time into the exposure (in microseconds).
FCam::Flash::FireAction::FireAction | ( | Flash * | f, | |
int | time, | |||
float | brightness, | |||
int | duration | |||
) |
Construct a FireAction to fire the given flash, starting at the given time into the exposure (in microseconds), at the given brightness, for the given duration (in microseconds).
void FCam::Flash::FireAction::doAction | ( | ) | [virtual] |
Perform the action.
Derived classes should override this. This method will be called in the highest priority thread possible to allow for precise timing, so don't perform any long running computations in it unless you really want the entire OS to freeze.
Implements FCam::Action.
Flash* FCam::Flash::FireAction::getFlash | ( | ) | [inline] |
Get the flash associated with this fire event.
The brightness setting for this flash fire.
Units are platform specific. Peak lumens are suggested.
The length of time the flash should fire for.
Copyright (c) 2012, Nokia Corporation and/or its subsidiary(-ies). All rights reserved. See Copyright. |
MeeGo 1.2 Harmattan API
|