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 () |
template<typename T > | |
void | deprecatedParam (const ros::NodeHandle &nh, const std::string &key, T ¶m, const T &default_value) |
int | getCompat () |
std::string | getSimplifiedNamespace (ros::NodeHandle &nh) |
STATIC_ASSERT (supported_level<=current_level &¤t_level<=supported_level+1) | |
STATIC_ASSERT (supported_level<=default_level &&default_level<=current_level) | |
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, void(*fp)(M), const ros::TransportHints &transport_hints=ros::TransportHints()) |
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 |
ros::Publisher neonavigation_common::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 205 of file compatibility.h.
ros::ServiceServer neonavigation_common::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 229 of file compatibility.h.
void neonavigation_common::compat::checkCompatMode | ( | ) |
Definition at line 64 of file compatibility.h.
void neonavigation_common::compat::deprecatedParam | ( | const ros::NodeHandle & | nh, |
const std::string & | key, | ||
T & | param, | ||
const T & | default_value | ||
) |
Definition at line 254 of file compatibility.h.
int neonavigation_common::compat::getCompat | ( | ) |
Definition at line 57 of file compatibility.h.
std::string neonavigation_common::compat::getSimplifiedNamespace | ( | ros::NodeHandle & | nh | ) |
Definition at line 93 of file compatibility.h.
neonavigation_common::compat::STATIC_ASSERT | ( | supported_level<=current_level &¤t_level<=supported_level+ | 1 | ) |
neonavigation_common::compat::STATIC_ASSERT | ( | supported_level<=default_level &&default_level<= | current_level | ) |
ros::Subscriber neonavigation_common::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(*)(M) | fp, | ||
const ros::TransportHints & | transport_hints = ros::TransportHints() |
||
) |
Definition at line 102 of file compatibility.h.
ros::Subscriber neonavigation_common::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 127 of file compatibility.h.
ros::Subscriber neonavigation_common::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 179 of file compatibility.h.
int neonavigation_common::compat::current_level = 1 |
Definition at line 49 of file compatibility.h.
int neonavigation_common::compat::default_level = supported_level |
Definition at line 51 of file compatibility.h.
int neonavigation_common::compat::supported_level = 0 |
Definition at line 50 of file compatibility.h.