Definition at line 93 of file fbxeventhandler.h.
#include <fbxeventhandler.h>

Public Member Functions |
|
| FbxMemberFuncEventHandler (ListenerType *pListenerInstance, CBFunction pFunc) | |
| virtual int | GetHandlerEventType () |
| Get event type of current handler. |
|
| virtual void | FunctionCall (const FbxEventBase &pEvent) |
| call callback function to process event
data. |
|
| virtual FbxListener * | GetListener () |
| Get listener of current handler. |
|
| FbxMemberFuncEventHandler | ( | ListenerType * | pListenerInstance, |
| CBFunction | pFunc | ||
| ) | [inline] |
Definition at line 100 of file fbxeventhandler.h.
:
mListener(pListenerInstance),
mFunc(pFunc)
{
}
| virtual int GetHandlerEventType | ( | ) | [inline, virtual] |
Get event type of current handler.
Implements FbxEventHandler.
Definition at line 107 of file fbxeventhandler.h.
{ return EventType::GetStaticTypeId(); }
| virtual void FunctionCall | ( | const FbxEventBase & | pEvent | ) | [inline, virtual] |
call callback function to process event data.
| pEvent | specify the event type. pEvent could be a specific class which derived from FbxEventBase. |
Implements FbxEventHandler.
Definition at line 108 of file fbxeventhandler.h.
{ (*mListener.*mFunc)(reinterpret_cast<const EventType*>(&pEvent)); }
| virtual FbxListener* GetListener | ( | ) | [inline, virtual] |
Get listener of current handler.
Implements FbxEventHandler.
Definition at line 109 of file fbxeventhandler.h.
{ return mListener;}