Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00013 #ifndef _FBXSDK_CORE_QUERY_EVENT_H_
00014 #define _FBXSDK_CORE_QUERY_EVENT_H_
00015
00016 #include <fbxsdk/fbxsdk_def.h>
00017
00018 #include <fbxsdk/core/fbxevent.h>
00019
00020 #include <fbxsdk/fbxsdk_nsbegin.h>
00021
00027 template <typename QueryT> class FbxQueryEvent : public FbxEvent<FbxQueryEvent<QueryT> >
00028 {
00029 public:
00037 explicit FbxQueryEvent(QueryT* pData):mData(pData){}
00038
00043 QueryT& GetData()const { return *mData; }
00045
00046 private:
00047 mutable QueryT* mData;
00048
00049 private:
00050 virtual const char* GetEventName() const { FBX_ASSERT(false); return ""; }
00051 static const char* FbxEventName() { FBX_ASSERT(false); return ""; }
00052 friend class FbxEvent< FbxQueryEvent<QueryT> >;
00053 };
00054
00055 #include <fbxsdk/fbxsdk_nsend.h>
00056
00057 #endif