kfbxevents.h File Reference


Detailed Description

Definition in file kfbxevents.h.

#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>

Include dependency graph for kfbxevents.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Namespaces

namespace   kfbxevents

Classes

class   KFbxEventBase
  FBX SDK event base class. More...
class   KFbxEvent

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()   };

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 85 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 94 of file kfbxevents.h.

 
#define KFBXEVENT_TEMPLATE_FOOTER_NOT_FBXTYPE (  )     };

Definition at line 128 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 114 of file kfbxevents.h.