- Main Page
- Classes
- Files
- Directories

- File List
- File Members

Classes | Defines

# fbxevent.h File Reference

`#include <fbxsdk/fbxsdk_def.h>`
`#include <fbxsdk/core/fbxpropertytypes.h>`
`#include <fbxsdk/fbxsdk_nsbegin.h>`
`#include <fbxsdk/fbxsdk_nsend.h>`

Go to the source code of this file.

## Classes
class | FbxEventBase
| FBX SDK event base class. More...
class | FbxEvent< T >
| FBX event class, derived from FbxEventBase, and it contains a type ID for event. More...
## Defines
#define | FBXSDK_EVENT_DECLARE(Class)
#define | FBXSDK_EVENT_TYPE_DECLARE(Class, FBXType)
#define | FBXSDK_EVENT_TEMPLATE_HEADER(ClassName, TemplateName)
#define | FBXSDK_EVENT_TEMPLATE_FOOTER() };

## Detailed Description

Definition in file fbxevent.h.

## Define Documentation

#define FBXSDK_EVENT_DECLARE | ( |  | Class | ) |

Search for all occurrences
Value:

    public: virtual const char* GetEventName() const { return FbxEventName(); } \
        private: static const char* FbxEventName() { return #Class; }               \
        friend class FbxEvent<Class>;                                               \

Definition at line 68 of file fbxevent.h.

#define FBXSDK_EVENT_TYPE_DECLARE | ( |  | Class,
|  |  | FBXType
| ) |  |

Search for all occurrences
Value:

    public: virtual const char* GetEventName() const { return FbxEventName(); }      \
      private:                                                                         \
         static const char* FbxEventName() {                                           \
         static FbxString lEventName = FbxString(#Class) + FbxString("<") +                  \
         FbxGetDataTypeFromEnum(FbxTypeOf(*((FBXType const*)0))).GetName() + ">";               \
                                                                                       \
         return lEventName.Buffer();                                                   \
      }                                                                                \
      friend class FbxEvent< Class<FBXType> >;

Definition at line 77 of file fbxevent.h.

#define FBXSDK_EVENT_TEMPLATE_HEADER | ( |  | ClassName,
|  |  | TemplateName
| ) |  |

Search for all occurrences
Value:

    template < class TemplateName, const char* T > \
    class ClassName: public  FbxEvent< ClassName <TemplateName,T> >\
    {\
        public: virtual const char* GetEventName() const {return FbxEventName();}\
        private: static const char* FbxEventName() {\
        static FbxString lEventName = (FbxString(#ClassName) +"<"+ FbxString(T) +">");\
        return lEventName.Buffer();\
        }\
        friend class FbxEvent< ClassName<TemplateName, T> >;

Definition at line 97 of file fbxevent.h.

#define FBXSDK_EVENT_TEMPLATE_FOOTER | ( |  | ) | };

Search for all occurrences

Definition at line 111 of file fbxevent.h.