#include #include "XmlTemplateParser_Pugixml.h"
class FastFixConsumer : public QuickFAST::Codecs::MessageConsumer
{
public:
FastFixConsumer()
{
pdata=NULL;
cb=NULL;
}
~FastFixConsumer(){}
virtual bool consumeMessage(QuickFAST::Messages::Message & message)
{
if(!cb)
return true;
hq_fast_message msg;
msg.msg=&message;
return cb(msg,message.gettid(),pdata);
}
virtual bool wantLog(unsigned short level){return false;}
virtual bool logMessage(unsigned short level, const std::string & logMessage){return true;}
virtual bool reportDecodingError(const std::string & errorMessage){return true;}
virtual bool reportCommunicationError(const std::string & errorMessage){return true;}
virtual void decodingStarte