Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
clock_relay::ClockRelay Class Reference

#include <clock_relay.h>

Public Member Functions

 ClockRelay (std::string from, std::string to, std::string clock_relay_type_string, double frequency)
 

Private Types

enum  Type { SOURCE, SINK }
 

Private Member Functions

bool getClockOffsetCb (multimaster_msgs::GetClockOffset::Request &req, multimaster_msgs::GetClockOffset::Response &res)
 

Private Attributes

message_relay::TopicRelay::Ptr clock_relay_
 
multimaster_msgs::ClockOffset offset_
 
ros::Publisher offset_publisher_
 
ros::ServiceServer offset_server_
 

Static Private Attributes

static const boost::unordered_map< std::string, Typetype_name_map_
 

Detailed Description

Definition at line 39 of file clock_relay.h.

Member Enumeration Documentation

Enumerator
SOURCE 
SINK 

Definition at line 41 of file clock_relay.h.

Constructor & Destructor Documentation

clock_relay::ClockRelay::ClockRelay ( std::string  from,
std::string  to,
std::string  clock_relay_type_string,
double  frequency 
)

Definition at line 37 of file clock_relay.cpp.

Member Function Documentation

bool clock_relay::ClockRelay::getClockOffsetCb ( multimaster_msgs::GetClockOffset::Request &  req,
multimaster_msgs::GetClockOffset::Response &  res 
)
private

Definition at line 92 of file clock_relay.cpp.

Member Data Documentation

message_relay::TopicRelay::Ptr clock_relay::ClockRelay::clock_relay_
private

Definition at line 56 of file clock_relay.h.

multimaster_msgs::ClockOffset clock_relay::ClockRelay::offset_
private

Definition at line 53 of file clock_relay.h.

ros::Publisher clock_relay::ClockRelay::offset_publisher_
private

Definition at line 57 of file clock_relay.h.

ros::ServiceServer clock_relay::ClockRelay::offset_server_
private

Definition at line 54 of file clock_relay.h.

const boost::unordered_map< std::string, ClockRelay::Type > clock_relay::ClockRelay::type_name_map_
staticprivate
Initial value:
=
boost::assign::map_list_of("source", ClockRelay::SOURCE)("sink", ClockRelay::SINK)

Definition at line 59 of file clock_relay.h.


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


clock_relay
Author(s):
autogenerated on Wed Jul 17 2019 03:27:57