Developer

API Reference

IObserver_GetLMCacheDist()

Brew Release
Brew MP 1.0.2
Description
This function retrieves the distance of the specified cached linear movement determined by the observer.
Parameters
  • pif
    []:
    [in] Pointer to the IObserver interface object.
  • nIdx
    []:
    [in] Index of the linear movement, starting from the last as 0th index.
  • pnDist
    []:
    [out] The distance of the linear movement in pixels.
Interface
Prototype
   int IObserver_GetLMCacheDist(IObserver *pif, int nIdx, int *pnDist); 
Return
   AEE_SUCCESS - If the distance was retrieved.
   AEE_EFAILED - If the distance was not retrieved.
Side Effect
None
Comment
In case the movement is not linear the function returns AEE_EFAILED.
  • Follow