Go to the
documentation of this file.
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00015 #ifndef FBXFILESDK_KFBXMODULES_KFBXQUERYEVENT_H
00016 #define FBXFILESDK_KFBXMODULES_KFBXQUERYEVENT_H
00017
00018
00019 #include <fbxfilesdk/fbxfilesdk_def.h>
00020
00021
00022 #include <fbxfilesdk/kfbxevents/kfbxevents.h>
00023
00024
00025 #include <fbxfilesdk/fbxfilesdk_nsbegin.h>
00026
00027
00033 template <typename QueryT>
00034 class KFbxQueryEvent : public kfbxevents::KFbxEvent<KFbxQueryEvent<QueryT> >
00035 {
00036 public:
00044 explicit KFbxQueryEvent(QueryT* pData):mData(pData){}
00045
00050 QueryT& GetData()const { return *mData; }
00052
00053 private:
00054 mutable QueryT* mData;
00055
00056 private:
00057 virtual const char* GetEventName() const { K_ASSERT(false); return ""; }
00058 static const char* FbxEventName() { K_ASSERT(false); return ""; }
00059 friend class KFbxEvent< KFbxQueryEvent<QueryT> >;
00060 };
00061 #include <fbxfilesdk/fbxfilesdk_nsend.h>
00062
00063 #endif // FBXFILESDK_KFBXMODULES_KFBXQUERYEVENT_H
00064