Developer

API Reference

IObserver_GetLLMSpeed()

Brew Release
Brew MP 1.0.2
See Also
IObserver Interface IObserver_GetPropertyEx()
Description
This function retrieves the speed of the linear movement determined by the observer.
Parameters
  • pif
    []:
    [in] Pointer to the IObserver interface object.
  • pSpeed
    []:
    [out] The speed of the linear movement in pixel/sec.
Interface
Prototype
   int IObserver_GetLLMSpeed(IObserver *pif, int *pSpeed);
Return
   AEE_SUCCESS - If the speed was retrieved.
   AEE_EFAILED - If the speed was not retrieved.
Side Effect
IObserver_GetLLMSpeed() calls IObserver_GetPropertyEx() and has the effect of processing an PROPEX_POINTER_LLM_VEL event.
Comment
In case the movement is not linear or the time for the linear movement is zero, the function returns AEE_EFAILED.
  • Follow