4 #include "../instapi_lib/instapi_lib.h"
17 AtlReportError(obj->GetObjectCLSID(), errmsg.c_str());
33 catch(
const std::exception& ex)
40 extern Poco::SingletonHolder<InstAPILib>
inst_api;
42 extern Poco::Logger&
createLogger(
const std::string& name);
54 void log(
const Poco::Message& msg)
56 ULONG session_id = Poco::NumberParser::parse(msg[
"session_id"]);
Poco::Logger & createLogger(const std::string &name)
Poco::SingletonHolder< InstAPILib > inst_api
void log(const Poco::Message &msg)
HRESULT callInstAPILib(T *obj, instapi_lib_call_t func)
void getMessages(ULONG session_id)
std::list< Poco::Message > messages_t
boost::function< void(InstAPILib *)> instapi_lib_call_t
std::map< ULONG, messages_t > m_messages
HRESULT reportError(T *obj, const std::string &errmsg)