libcluon
0.0.148
|
#include <LCMToGenericMessage.hpp>
Public Member Functions | |
LCMToGenericMessage ()=default | |
int32_t | setMessageSpecification (const std::string &ms) noexcept |
cluon::GenericMessage | getGenericMessage (const std::string &data) noexcept |
This class transforms a given LCM message into a GenericMessage.
|
default |
|
noexcept |
This method transforms the given LCM payload into a GenericMessage.
data | LCM Payload. |
References cluon::GenericMessage::accept(), cluon::GenericMessage::createFrom(), and cluon::FromLCMVisitor::decodeFrom().
|
noexcept |
This method sets the message specification to be used for interpreting a given LCM-encoded message.
ms | Message specification following the ODVD format. |
References mm, cluon::MessageParser::parse(), and retVal.