00001 #ifndef SUNDANCEHANDLER_H 00002 #define SUNDANCEHANDLER_H 00003 00004 #include "SundanceDefs.h" 00005 00006 00007 #include "ComputeThreadHandler.h" 00008 #include "Thread.h" 00009 #include "IdeaComputeThread.h" 00010 #include "Expr.h" 00011 #include "ExprHashtable.h" 00012 #include "Mutex.h" 00013 00014 00015 namespace Sundance 00016 { 00017 00018 using namespace TSF; 00019 using std::string; 00020 00021 using std::ostream; 00022 00023 00024 class SundanceHandler : public IdeaMessageHandler 00025 { 00026 public: 00027 00028 SundanceHandler() : IdeaMessageHandler() {;} 00029 virtual ~SundanceHandler(){;} 00030 00031 virtual bool dispatchFrontEndMessage(const IdeaMessage& msg); 00032 00033 virtual bool dispatchBackEndMessage(int srcProc, const XMLObject& xml); 00034 00035 virtual string serviceName() const {return "Sundance";} 00036 00037 private: 00038 00039 }; 00040 00041 extern "C" 00042 { 00043 IdeaMessageHandler* createEmptySundanceHandler(); 00044 } 00045 00046 } 00047 #endif