Go to the documentation of this file.
41 namespace message_handler
49 this->setConnection(NULL);
65 if (NULL != connection)
67 this->setConnection(connection);
98 LOG_ERROR(
"Invalid message passed to callback");
118 LOG_WARN(
"Message type: %d, doesn't match handler type: %d",
125 LOG_WARN(
"Passed in message invalid");
bool validateMsg(industrial::simple_message::SimpleMessage &in)
Validates incoming message for processing by internal callback.
bool callback(industrial::simple_message::SimpleMessage &in)
Callback function that should be executed when a message arrives DO NOT OVERRIDE THIS FUNCTION....
~MessageHandler()
Destructor.
#define LOG_WARN(format,...)
bool init(int msg_type, industrial::smpl_msg_connection::SmplMsgConnection *connection)
Class initializer.
MessageHandler()
Constructor.
#define LOG_ERROR(format,...)
This class defines a simple messaging protocol for communicating with an industrial robot controller.
bool validateMessage()
performs logical checks to ensure that the message is fully defined and adheres to the message conven...
Defines an interface and common methods for sending simple messages (see simple_message)....
int getMessageType()
Gets message type(see StandardMsgType)
simple_message
Author(s): Shaun Edwards
autogenerated on Wed Mar 2 2022 00:24:53