#include <message_handler.hpp>
Public Member Functions | |
void | handleMessage (Oem7RawMessageIf::ConstPtr raw_msg) |
MessageHandler (ros::NodeHandle &nh) | |
Private Types | |
typedef boost::scoped_ptr< MsgHandlerList > | MessageHandlerListPtr |
typedef std::map< int, MessageHandlerListPtr > | MessageHandlerMap |
typedef boost::shared_ptr< novatel_oem7_driver::Oem7MessageHandlerIf > | MessageHandlerShPtr |
typedef std::list< MessageHandlerShPtr > | MsgHandlerList |
Private Attributes | |
pluginlib::ClassLoader< novatel_oem7_driver::Oem7MessageHandlerIf > | msg_handler_loader_ |
Plugin loader. More... | |
MessageHandlerMap | msg_handler_map_ |
Dispatch map for raw messages. More... | |
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.
|
private |
Definition at line 53 of file message_handler.hpp.
|
private |
Definition at line 54 of file message_handler.hpp.
|
private |
Definition at line 51 of file message_handler.hpp.
|
private |
Definition at line 52 of file message_handler.hpp.
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.
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.
|
private |
Plugin loader.
Definition at line 49 of file message_handler.hpp.
|
private |
Dispatch map for raw messages.
Definition at line 55 of file message_handler.hpp.