FbxEvent< T > Class Template Reference
#include <fbxevent.h>
template<typename T>
class FbxEvent< T >
FBX event class, derived from FbxEventBase, and it contains a type ID for event.
It's a template class. You can derive your own types of even. Such as:
class FbxEventCustom :
public FbxEvent<FbxEventCustom>
- See also
- FbxObjectPropertyChanged FbxEventReferencedDocument FbxEventPostExport
-
FbxEventPostImport FbxEventPreExport FbxEventPreImport FbxEventPopulateSystemLibrary
- The whole process of event is:
- 1. Create an emitter and a listener, then bind them together via the same event handler.
- 2. Emitter can emit an event at certain conditions. The event could be handled by event handler.
- 3. Once an event is emitted, the listener to this event will receive a signal.
- 4. And then the listener could process the event data according to the types of event, by calling event handler.
- Note
- The event data is process by the callback function of event handler.
- See also
- FbxEventBase FbxEventHandler FbxListener FbxEmitter
Definition at line 134 of file fbxevent.h.
static void ForceTypeId |
( |
int |
pTypeId | ) |
|
|
inlinestatic |
Update the type ID of current event with the given type ID.
- Parameters
-
Definition at line 143 of file fbxevent.h.
virtual int GetTypeId |
( |
| ) |
const |
|
inlinevirtual |
Retrieve the event type ID.
- Note
- This may be called from multiple threads.
- Returns
- type id
Implements FbxEventBase.
Definition at line 155 of file fbxevent.h.
static int GetStaticTypeId()
Retrieve the event type ID.
static int GetStaticTypeId |
( |
| ) |
|
|
inlinestatic |
Retrieve the event type ID.
- Returns
- type id
Definition at line 163 of file fbxevent.h.
static int GetStaticTypeId(const char *)
The documentation for this class was generated from the following file: