38 msg_handler_loader_(
"novatel_oem7_driver",
"novatel_oem7_driver::Oem7MessageHandlerIf")
41 std::vector<std::string> msg_handler_names;
42 nh.
getParam(
"oem7_msg_handlers", msg_handler_names);
43 for(
const auto& name : msg_handler_names)
47 msg_handler->initialize(nh);
49 for(
int msg_id: msg_handler->getMessageIds())
67 MessageHandlerMap::iterator itr =
msg_handler_map_.find(raw_msg->getMessageId());
75 for(
auto& h: *msg_handler_list)
77 h->handleMsg(raw_msg);
boost::scoped_ptr< MsgHandlerList > MessageHandlerListPtr
void handleMessage(Oem7RawMessageIf::ConstPtr raw_msg)
std::list< MessageHandlerShPtr > MsgHandlerList
MessageHandlerMap msg_handler_map_
Dispatch map for raw messages.
MessageHandler(ros::NodeHandle &nh)
#define ROS_DEBUG_STREAM(args)
bool getParam(const std::string &key, std::string &s) const
pluginlib::ClassLoader< novatel_oem7_driver::Oem7MessageHandlerIf > msg_handler_loader_
Plugin loader.