Class handles Connection events.
Definition at line 1604 of file kfbxproperty.h.
#include <kfbxproperty.h>
Constructor and Destructor. |
|
KFbxConnectEvent (eFbxConnectEventType pType, eFbxConnectEventDirection pDir, KFbxProperty *pSrc, KFbxProperty *pDst) | |
Constructor. |
|
Data Access. |
|
eFbxConnectEventType | GetType () const |
Returns the connection event type. |
|
eFbxConnectEventDirection | GetDirection () const |
Returns the direction of connection event.
|
|
KFbxProperty & | GetSrc () const |
Returns the source property. |
|
KFbxProperty & | GetDst () const |
Returns the destination property. |
|
template<class T > | |
T * | GetSrcIfObject (T const *pFBX_TYPE) const |
Returns the object of the specified class
type that contains the source property. |
|
template<class T > | |
T * | GetDstIfObject (T const *pFBX_TYPE) const |
Returns the object of the specified class
type that contains the destination property. |
KFbxConnectEvent | ( | eFbxConnectEventType | pType, |
eFbxConnectEventDirection | pDir, | ||
KFbxProperty * | pSrc, | ||
KFbxProperty * | pDst | ||
) | [inline] |
Constructor.
pType | The connection event type. |
pDir | The direction of connection event. |
pSrc | The source property. |
pDst | The destination property. |
Definition at line 1618 of file kfbxproperty.h.
: mType(pType) , mDirection(pDir) , mSrc(pSrc) , mDst(pDst) { }
eFbxConnectEventType GetType | ( | ) | const [inline] |
Returns the connection event type.
Definition at line 1634 of file kfbxproperty.h.
{ return mType; }
eFbxConnectEventDirection GetDirection | ( | ) | const [inline] |
Returns the direction of connection event.
Definition at line 1637 of file kfbxproperty.h.
{ return mDirection; }
KFbxProperty& GetSrc | ( | ) | const [inline] |
KFbxProperty& GetDst | ( | ) | const [inline] |
T* GetSrcIfObject | ( | T const * | pFBX_TYPE | ) | const [inline] |
Returns the object of the specified class type that contains the source property.
pFBX_TYPE | The specified class type. |
NUll
if this property is not a root property
or no object of the specified class type contains this
property.Definition at line 1649 of file kfbxproperty.h.
{ return mSrc->IsRoot() ? KFbxCast<T>(mSrc->GetFbxObject()) : (T*)0; }
T* GetDstIfObject | ( | T const * | pFBX_TYPE | ) | const [inline] |
Returns the object of the specified class type that contains the destination property.
pFBX_TYPE | The specified class type. |
NUll
if this property is not a
root property or no object of the specified class type contains
this property.Definition at line 1655 of file kfbxproperty.h.
{ return mDst->IsRoot() ? KFbxCast<T>(mDst->GetFbxObject()) : (T*)0; }