Drake
DrakeLcmMessageHandlerInterface Class Referenceabstract

Defines a message handler interface that must be implemented by all LCM subscribers within Drake. More...

#include <drake/lcm/drake_lcm_message_handler_interface.h>

Inheritance diagram for DrakeLcmMessageHandlerInterface:
[legend]

Public Member Functions

 DrakeLcmMessageHandlerInterface ()=default
 
virtual ~DrakeLcmMessageHandlerInterface ()=default
 
virtual void HandleMessage (const std::string &channel, const void *message_buffer, int message_size)=0
 This method is called when an LCM message arrives over the subscribed channel. More...
 
Does not allow copy, move, or assignment
 DrakeLcmMessageHandlerInterface (const DrakeLcmMessageHandlerInterface &)=delete
 
DrakeLcmMessageHandlerInterfaceoperator= (const DrakeLcmMessageHandlerInterface &)=delete
 
 DrakeLcmMessageHandlerInterface (DrakeLcmMessageHandlerInterface &&)=delete
 
DrakeLcmMessageHandlerInterfaceoperator= (DrakeLcmMessageHandlerInterface &&)=delete
 

Detailed Description

Defines a message handler interface that must be implemented by all LCM subscribers within Drake.

See also
DrakeLcmInterface::Subscribe().

Constructor & Destructor Documentation

virtual ~DrakeLcmMessageHandlerInterface ( )
virtualdefault

Member Function Documentation

virtual void HandleMessage ( const std::string &  channel,
const void *  message_buffer,
int  message_size 
)
pure virtual

This method is called when an LCM message arrives over the subscribed channel.

Parameters
[in]channelThe channel on which the LCM message was received.
[in]message_bufferA pointer to the byte vector that is the serial representation of the LCM message.
[in]message_sizeThe size of message_buffer.

Here is the caller graph for this function:


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