#include <stream.h>
|
using | Callback = boost::function< void(const boost::posix_time::ptime &, const std::string &, const std::string &, const ScanData &)> |
|
using | Ptr = std::shared_ptr< Response > |
|
|
virtual std::string | getCommandCode () const =0 |
|
virtual void | operator() (const boost::posix_time::ptime &, const std::string &, const std::string &, std::istream &)=0 |
|
bool | readTimestamp (const boost::posix_time::ptime &time_read, const std::string &echo_back, const std::string &status, std::istream &stream, ScanData &scan) |
|
void | registerCallback (Callback cb) |
|
Definition at line 40 of file stream.h.
virtual std::string scip2::ResponseStream::getCommandCode |
( |
| ) |
const |
|
pure virtual |
virtual void scip2::ResponseStream::operator() |
( |
const boost::posix_time::ptime & |
, |
|
|
const std::string & |
, |
|
|
const std::string & |
, |
|
|
std::istream & |
|
|
) |
| |
|
pure virtual |
bool scip2::ResponseStream::readTimestamp |
( |
const boost::posix_time::ptime & |
time_read, |
|
|
const std::string & |
echo_back, |
|
|
const std::string & |
status, |
|
|
std::istream & |
stream, |
|
|
ScanData & |
scan |
|
) |
| |
|
inline |
void scip2::ResponseStream::registerCallback |
( |
Callback |
cb | ) |
|
|
inline |
The documentation for this class was generated from the following file: