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

Developer

API Reference

IOBSERVER_GETLMCACHESPEED()

Brew Release
Brew MP 1.0.2
See Also
Description
This function retrieves the speed of the specified cached linear movement determined by the observer.
Params
pif
[]:
[in] Pointer to the IObserver interface object.
nIdx
[]:
[in] Index of the linear movement, starting from the last as 0th index.
pnSpeed
[]:
[out] The speed of the linear movement in pixel/sec.
Interface
Prototype
  •    int IObserver_GetLMCacheSpeed(IObserver *pif, int nIdx, int *pnSpeed);
    
Return
  •    AEE_SUCCESS - If the speed was retrieved.
       AEE_EFAILED - If the speed was not retrieved.
    
Side Effect
  • None
Comments
In case the movement is not linear or the time for the linear movement is zero, the function returns AEE_EFAILED.