API Reference | developer.brewmp.com API Reference | developer.brewmp.com

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.
Params
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.
Comments
In case the movement is not linear or the time for the linear movement is zero, the function returns AEE_EFAILED.