13 #ifndef _FBXSDK_CORE_EMITTER_H_ 14 #define _FBXSDK_CORE_EMITTER_H_ 64 template <
typename EventType>
void Emit(
const EventType& pEvent)
const 67 EventHandlerList::iterator itBegin = mData->mEventHandlerList.Begin();
68 EventHandlerList::iterator itEnd = mData->mEventHandlerList.End();
69 for( EventHandlerList::iterator it = itBegin; it != itEnd; ++it )
71 if ((*it).GetHandlerEventType() == pEvent.GetTypeId())
73 (*it).FunctionCall(pEvent);
81 #ifndef DOXYGEN_SHOULD_SKIP_THIS 86 typedef FbxIntrusiveList<FbxEventHandler, FbxEventHandler::eEmitter> EventHandlerList;
87 struct EventData { EventHandlerList mEventHandlerList; };
FBX SDK environment definition.
Event handler class contains a listener and a callback function.
Base class to emit event with the specified event type.
void Emit(const EventType &pEvent) const
Emit an event with the specified the event type.