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

#include <time_sync.h>

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

Public Types

using Callback = boost::function< void(const boost::posix_time::ptime &, const std::string &, const std::string &, const Timestamp &)>
 
- 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 40 of file time_sync.h.

Member Typedef Documentation

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

Definition at line 47 of file time_sync.h.

Member Function Documentation

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

Implements scip2::Response.

Definition at line 53 of file time_sync.h.

void scip2::ResponseTM::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 57 of file time_sync.h.

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

Definition at line 99 of file time_sync.h.

Member Data Documentation

Callback scip2::ResponseTM::cb_
protected

Definition at line 50 of file time_sync.h.


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


urg_stamped
Author(s): Atsushi Watanabe
autogenerated on Thu Jun 6 2019 19:55:59