Functions | Variables
compat Namespace Reference

Functions

template<class M >
ros::Publisher advertise (ros::NodeHandle &nh_new, const std::string &topic_new, ros::NodeHandle &nh_old, const std::string &topic_old, uint32_t queue_size, bool latch=false)
template<class T , class MReq , class MRes >
ros::ServiceServer advertiseService (ros::NodeHandle &nh_new, const std::string &service_new, ros::NodeHandle &nh_old, const std::string &service_old, bool(T::*srv_func)(MReq &, MRes &), T *obj)
void checkCompatMode ()
int getCompat ()
std::string getSimplifiedNamespace (ros::NodeHandle &nh)
 STATIC_ASSERT (supported_level<=current_level &&current_level<=supported_level+1)
 STATIC_ASSERT (supported_level<=default_level &&default_level<=current_level)
template<class M , class T >
ros::Subscriber subscribe (ros::NodeHandle &nh_new, const std::string &topic_new, ros::NodeHandle &nh_old, const std::string &topic_old, uint32_t queue_size, void(T::*fp)(M) const, T *obj, const ros::TransportHints &transport_hints=ros::TransportHints())
template<class M >
ros::Subscriber subscribe (ros::NodeHandle &nh_new, const std::string &topic_new, ros::NodeHandle &nh_old, const std::string &topic_old, uint32_t queue_size, const boost::function< void(const boost::shared_ptr< M const > &)> &callback, const ros::VoidConstPtr &tracked_object=ros::VoidConstPtr(), const ros::TransportHints &transport_hints=ros::TransportHints())

Variables

const int current_level = 1
const int default_level = supported_level
const int supported_level = 0

Function Documentation

template<class M >
ros::Publisher compat::advertise ( ros::NodeHandle nh_new,
const std::string &  topic_new,
ros::NodeHandle nh_old,
const std::string &  topic_old,
uint32_t  queue_size,
bool  latch = false 
)

Definition at line 176 of file compatibility.h.

template<class T , class MReq , class MRes >
ros::ServiceServer compat::advertiseService ( ros::NodeHandle nh_new,
const std::string &  service_new,
ros::NodeHandle nh_old,
const std::string &  service_old,
bool(T::*)(MReq &, MRes &)  srv_func,
T obj 
)

Definition at line 200 of file compatibility.h.

Definition at line 60 of file compatibility.h.

Definition at line 53 of file compatibility.h.

Definition at line 89 of file compatibility.h.

compat::STATIC_ASSERT ( supported_level<=current_level &&current_level<=supported_level+  1)
compat::STATIC_ASSERT ( supported_level<=default_level &&default_level<=  current_level)
template<class M , class T >
ros::Subscriber compat::subscribe ( ros::NodeHandle nh_new,
const std::string &  topic_new,
ros::NodeHandle nh_old,
const std::string &  topic_old,
uint32_t  queue_size,
void(T::*)(M) const  fp,
T obj,
const ros::TransportHints transport_hints = ros::TransportHints() 
)

Definition at line 98 of file compatibility.h.

template<class M >
ros::Subscriber compat::subscribe ( ros::NodeHandle nh_new,
const std::string &  topic_new,
ros::NodeHandle nh_old,
const std::string &  topic_old,
uint32_t  queue_size,
const boost::function< void(const boost::shared_ptr< M const > &)> &  callback,
const ros::VoidConstPtr tracked_object = ros::VoidConstPtr(),
const ros::TransportHints transport_hints = ros::TransportHints() 
)

Definition at line 150 of file compatibility.h.


Variable Documentation

const int compat::current_level = 1

Definition at line 46 of file compatibility.h.

Definition at line 48 of file compatibility.h.

const int compat::supported_level = 0

Definition at line 47 of file compatibility.h.



ypspur_ros
Author(s): Atsushi Watanabe
autogenerated on Thu Jun 6 2019 20:19:02