kfbxevents.h File Reference

#include <fbxfilesdk/fbxfilesdk_def.h>
#include <fbxfilesdk/kfbxplugins/kfbxtypes.h>
#include <fbxfilesdk/kfbxplugins/kfbxdatatypes.h>
#include <fbxfilesdk/kfbxmp/kfbxmutex.h>
#include <fbxfilesdk/fbxfilesdk_nsbegin.h>
#include <fbxfilesdk/fbxfilesdk_nsend.h>

Go to the source code of this file.

Classes

class   KFbxEventBase
  FBX SDK event base class. More...
class   KFbxEvent< EventT >
  FBX event class, derived from KFbxEventBase, and it contains a type ID for event. More...

Namespaces

namespace   kfbxevents

Defines

#define  KFBXEVENT_DECLARE(Class)
#define  KFBXEVENT_DECLARE_FBXTYPE(Class, FBXType)
#define  KFBXEVENT_TEMPLATE_HEADER_NOT_FBXTYPE(ClassName, TemplateName)
#define  KFBXEVENT_TEMPLATE_FOOTER_NOT_FBXTYPE()   };

Detailed Description

Definition in file kfbxevents.h.


Define Documentation

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

Definition at line 100 of file kfbxevents.h.

#define KFBXEVENT_DECLARE_FBXTYPE (   Class,
  FBXType 
)
Value:
public: virtual const char* GetEventName() const { return FbxEventName(); }      \
      private:                                                                         \
         static const char* FbxEventName() {                                           \
         static KString lEventName = KString(#Class) + KString("<") +                  \
         GetFbxDataType(FbxTypeOf(*((FBXType const*)0))).GetName() + ">";               \
                                                                                       \
         return lEventName.Buffer();                                                   \
      }                                                                                \
      friend class KFbxEvent< Class<FBXType> >;

Definition at line 109 of file kfbxevents.h.

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

Definition at line 129 of file kfbxevents.h.

#define KFBXEVENT_TEMPLATE_FOOTER_NOT_FBXTYPE ( )    };

Definition at line 143 of file kfbxevents.h.