17 #ifndef SCIP2_RESPONSE_QUIT_H 18 #define SCIP2_RESPONSE_QUIT_H 20 #include <boost/asio.hpp> 31 using Callback = boost::function<void(
32 const boost::posix_time::ptime&,
42 return std::string(
"QT");
45 const boost::posix_time::ptime& time_read,
46 const std::string& echo_back,
47 const std::string& status,
51 cb_(time_read, echo_back, status);
61 #endif // SCIP2_RESPONSE_QUIT_H std::string getCommandCode() const
void registerCallback(Callback cb)
boost::function< void(const boost::posix_time::ptime &, const std::string &, const std::string &)> Callback
void operator()(const boost::posix_time::ptime &time_read, const std::string &echo_back, const std::string &status, std::istream &stream)