MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

FCam::Lens::FocusAction Class Reference

An Action to initiate a change in focus during an exposure (for example, for rubber focus). More...

Inheritance diagram for FCam::Lens::FocusAction:
Inheritance graph
[legend]
Collaboration diagram for FCam::Lens::FocusAction:
Collaboration graph
[legend]

List of all members.

Public Member Functions

  FocusAction (Lens *)
  Make a new FocusAction associated with a particular lens.
  FocusAction (Lens *, int, float)
  Make a new FocusAction to change the focus of the given lens, at the given number of microseconds into the exposure, towards the given focus.
  FocusAction (Lens *, int, float, float)
  Make a new FocusAction to change the focus of the given lens, at the given number of microseconds into the exposure, towards the given focus, at the given speed.
void  doAction ()
  Perform the action.

Public Attributes

float  focus
  The target focus in diopters.
float  speed
  The speed at which to change focus in diopters per second.

Detailed Description

An Action to initiate a change in focus during an exposure (for example, for rubber focus).


Constructor & Destructor Documentation

FCam::Lens::FocusAction::FocusAction ( Lens  ) 

Make a new FocusAction associated with a particular lens.

FCam::Lens::FocusAction::FocusAction ( Lens ,
int  ,
float   
)

Make a new FocusAction to change the focus of the given lens, at the given number of microseconds into the exposure, towards the given focus.

FCam::Lens::FocusAction::FocusAction ( Lens ,
int  ,
float  ,
float   
)

Make a new FocusAction to change the focus of the given lens, at the given number of microseconds into the exposure, towards the given focus, at the given speed.


Member Function Documentation

void FCam::Lens::FocusAction::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.


Copyright (c) 2012, Nokia Corporation and/or its subsidiary(-ies). All rights reserved. See Copyright.
MeeGo 1.2 Harmattan API