Public Member Functions | Protected Member Functions | Protected Attributes
scip2::Protocol Class Reference

#include <protocol.h>

List of all members.

Public Member Functions

 Protocol (Connection::Ptr connection)
template<typename TResponse >
void registerCallback (typename TResponse::Callback cb)
void sendCommand (const std::string &command, Connection::CallbackSend cb=Connection::CallbackSend())

Protected Member Functions

void cbReceive (boost::asio::streambuf &buf, const boost::posix_time::ptime &time_read)

Protected Attributes

Connection::Ptr connection_
ResponseProcessor response_processor_

Detailed Description

Definition at line 31 of file protocol.h.


Constructor & Destructor Documentation

scip2::Protocol::Protocol ( Connection::Ptr  connection) [inline, explicit]

Definition at line 67 of file protocol.h.


Member Function Documentation

void scip2::Protocol::cbReceive ( boost::asio::streambuf &  buf,
const boost::posix_time::ptime &  time_read 
) [inline, protected]

Definition at line 37 of file protocol.h.

template<typename TResponse >
void scip2::Protocol::registerCallback ( typename TResponse::Callback  cb) [inline]

Definition at line 82 of file protocol.h.

void scip2::Protocol::sendCommand ( const std::string &  command,
Connection::CallbackSend  cb = Connection::CallbackSend() 
) [inline]

Definition at line 74 of file protocol.h.


Member Data Documentation

Connection::Ptr scip2::Protocol::connection_ [protected]

Definition at line 34 of file protocol.h.

Definition at line 35 of file protocol.h.


The documentation for this class was generated from the following file:


urg_stamped
Author(s): Atsushi Watanabe
autogenerated on Thu Jun 6 2019 18:59:52