KPriFCurveKey Struct Reference

#include <kfcurve.h>

List of all members.


Detailed Description

KPriFCurveKey is used as the internal storage format for motion data, We need to make its size as small as possible.

so carefully play with the pack, alignment for VC,GCC on 32/64-bit OS.

Definition at line 475 of file kfcurve.h.


Public Member Functions

  KPriFCurveKey ()
KFBX_FCURVE_INLINE void  Init ()
KFBX_FCURVE_INLINE void  Set (KTime pTime, kFCurveDouble pValue)
KFBX_FCURVE_INLINE kFCurveDouble  GetValue () const
KFBX_FCURVE_INLINE void  SetValue (kFCurveDouble pValue)
KFBX_FCURVE_INLINE void  IncValue (kFCurveDouble pValue)
KFBX_FCURVE_INLINE void  MultValue (kFCurveDouble pValue)
KFBX_FCURVE_INLINE KTime  GetTime () const
KFBX_FCURVE_INLINE void  SetTime (KTime pTime)
KFBX_FCURVE_INLINE void  IncTime (KTime pTime)

Public Attributes

KTime  mTime
KPriFCurveKeyAttr mAttr
kFCurveDouble  mValue

Constructor & Destructor Documentation

KPriFCurveKey (  )  [inline]

Definition at line 477 of file kfcurve.h.

References Init().


Member Function Documentation

KFBX_FCURVE_INLINE void Init (  ) 

Definition at line 3003 of file kfcurve.h.

References KTIME_ZERO, mAttr, mTime, mValue, and NULL.

Referenced by KPriFCurveKey().

KFBX_FCURVE_INLINE void Set ( KTime  pTime,
kFCurveDouble  pValue  
)

Definition at line 2471 of file kfcurve.h.

References KFCurveKey::SetTime(), and KFCurveKey::SetValue().

Referenced by KFCurve::KeySet().

KFBX_FCURVE_INLINE kFCurveDouble GetValue (  )  const

Definition at line 2885 of file kfcurve.h.

References mValue.

KFBX_FCURVE_INLINE void SetValue ( kFCurveDouble  pValue  ) 

Definition at line 2896 of file kfcurve.h.

References mValue.

KFBX_FCURVE_INLINE void IncValue ( kFCurveDouble  pValue  ) 

Definition at line 2906 of file kfcurve.h.

References mValue.

KFBX_FCURVE_INLINE void MultValue ( kFCurveDouble  pValue  ) 

Definition at line 2916 of file kfcurve.h.

References mValue.

KFBX_FCURVE_INLINE KTime GetTime (  )  const

Definition at line 2926 of file kfcurve.h.

References mTime.

KFBX_FCURVE_INLINE void SetTime ( KTime  pTime  ) 

Definition at line 2936 of file kfcurve.h.

References K_ASSERT_MSG, KTIME_INFINITE, KTIME_MINUS_INFINITE, and mTime.

KFBX_FCURVE_INLINE void IncTime ( KTime  pTime  ) 

Definition at line 2952 of file kfcurve.h.

References mTime.


Member Data Documentation

Definition at line 492 of file kfcurve.h.

Referenced by GetTime(), IncTime(), Init(), and SetTime().

Definition at line 495 of file kfcurve.h.

Referenced by GetValue(), IncValue(), Init(), MultValue(), and SetValue().