Public Member Functions | Private Attributes
message_transport::TransportHints Class Reference

Stores transport settings for an image topic subscription. More...

#include <transport_hints.h>

List of all members.

Public Member Functions

const ros::NodeHandlegetParameterNH () const
const ros::TransportHintsgetRosHints () const
const std::string & getTransport () const
 TransportHints (const std::string &default_transport="raw", const ros::TransportHints &ros_hints=ros::TransportHints(), const ros::NodeHandle &parameter_nh=ros::NodeHandle("~"), const std::string &parameter_name="message_transport")
 Constructor.

Private Attributes

ros::NodeHandle parameter_nh_
ros::TransportHints ros_hints_
std::string transport_

Detailed Description

Stores transport settings for an image topic subscription.

Definition at line 11 of file transport_hints.h.


Constructor & Destructor Documentation

message_transport::TransportHints::TransportHints ( const std::string &  default_transport = "raw",
const ros::TransportHints ros_hints = ros::TransportHints(),
const ros::NodeHandle parameter_nh = ros::NodeHandle("~"),
const std::string &  parameter_name = "message_transport" 
) [inline]

Constructor.

The default transport can be overridden by setting a certain parameter to the name of the desired transport. By default this parameter is named "message_transport" in the node's local namespace. For consistency across ROS applications, the name of this parameter should not be changed without good reason.

Parameters:
default_transportPreferred transport to use
ros_hintsHints to pass through to ROS subscriptions
parameter_nhNode handle to use when looking up the transport parameter. Defaults to the local namespace.
parameter_nameThe name of the transport parameter

Definition at line 28 of file transport_hints.h.


Member Function Documentation

Definition at line 47 of file transport_hints.h.

Definition at line 42 of file transport_hints.h.

const std::string& message_transport::TransportHints::getTransport ( ) const [inline]

Definition at line 37 of file transport_hints.h.


Member Data Documentation

Definition at line 55 of file transport_hints.h.

Definition at line 54 of file transport_hints.h.

Definition at line 53 of file transport_hints.h.


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


message_transport_common
Author(s): Cedric Pradalier
autogenerated on Sat Dec 28 2013 16:56:55