Public Types | Public Member Functions | Protected Attributes | List of all members
scip2::ResponseRB Class Reference

#include <reboot.h>

Inheritance diagram for scip2::ResponseRB:
Inheritance graph
[legend]

Public Types

using Callback = boost::function< void(const boost::posix_time::ptime &, const std::string &, const std::string &)>
 
- Public Types inherited from scip2::Response
using Ptr = std::shared_ptr< Response >
 

Public Member Functions

std::string getCommandCode () const
 
void operator() (const boost::posix_time::ptime &time_read, const std::string &echo_back, const std::string &status, std::istream &stream)
 
void registerCallback (Callback cb)
 

Protected Attributes

Callback cb_
 

Detailed Description

Definition at line 28 of file reboot.h.

Member Typedef Documentation

using scip2::ResponseRB::Callback = boost::function<void( const boost::posix_time::ptime&, const std::string&, const std::string&)>

Definition at line 34 of file reboot.h.

Member Function Documentation

std::string scip2::ResponseRB::getCommandCode ( ) const
inlinevirtual

Implements scip2::Response.

Definition at line 40 of file reboot.h.

void scip2::ResponseRB::operator() ( const boost::posix_time::ptime &  time_read,
const std::string &  echo_back,
const std::string &  status,
std::istream &  stream 
)
inlinevirtual

Implements scip2::Response.

Definition at line 44 of file reboot.h.

void scip2::ResponseRB::registerCallback ( Callback  cb)
inline

Definition at line 53 of file reboot.h.

Member Data Documentation

Callback scip2::ResponseRB::cb_
protected

Definition at line 37 of file reboot.h.


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


urg_stamped
Author(s): Atsushi Watanabe
autogenerated on Tue May 11 2021 02:14:05