Public Member Functions | Private Types | Private Attributes | List of all members
novatel_oem7_driver::MessageHandler Class Reference

#include <message_handler.hpp>

Public Member Functions

void handleMessage (Oem7RawMessageIf::ConstPtr raw_msg)
 
 MessageHandler (ros::NodeHandle &nh)
 

Private Types

typedef boost::scoped_ptr< MsgHandlerListMessageHandlerListPtr
 
typedef std::map< int, MessageHandlerListPtrMessageHandlerMap
 
typedef boost::shared_ptr< novatel_oem7_driver::Oem7MessageHandlerIfMessageHandlerShPtr
 
typedef std::list< MessageHandlerShPtrMsgHandlerList
 

Private Attributes

pluginlib::ClassLoader< novatel_oem7_driver::Oem7MessageHandlerIfmsg_handler_loader_
 Plugin loader. More...
 
MessageHandlerMap msg_handler_map_
 Dispatch map for raw messages. More...
 

Detailed Description

Encapsulates a collection of message handling plugins, where a message a messages is handled by 0 or more plugins, matching the message on ID.

Definition at line 47 of file message_handler.hpp.

Member Typedef Documentation

Definition at line 53 of file message_handler.hpp.

Definition at line 54 of file message_handler.hpp.

Definition at line 51 of file message_handler.hpp.

Definition at line 52 of file message_handler.hpp.

Constructor & Destructor Documentation

novatel_oem7_driver::MessageHandler::MessageHandler ( ros::NodeHandle nh)

Constructs the handler by loading the plugins based on user-defined parameters

Definition at line 37 of file message_handler.cpp.

Member Function Documentation

void novatel_oem7_driver::MessageHandler::handleMessage ( Oem7RawMessageIf::ConstPtr  raw_msg)

Dispatches raw messages to plugins for decoding.

Definition at line 65 of file message_handler.cpp.

Member Data Documentation

pluginlib::ClassLoader<novatel_oem7_driver::Oem7MessageHandlerIf> novatel_oem7_driver::MessageHandler::msg_handler_loader_
private

Plugin loader.

Definition at line 49 of file message_handler.hpp.

MessageHandlerMap novatel_oem7_driver::MessageHandler::msg_handler_map_
private

Dispatch map for raw messages.

Definition at line 55 of file message_handler.hpp.


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


novatel_oem7_driver
Author(s):
autogenerated on Tue Mar 9 2021 03:48:00