rosmsg_cpp.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 #include <vector>
5 
6 namespace ros
7 {
8 namespace message
9 {
10 
16 std::string getFullDef(const std::string& messageType);
17 
23 std::string getMD5Sum(const std::string& messageType);
24 
30 bool hasHeader(const std::string& messageType);
31 
37 std::vector<std::string> getFieldNames(const std::string& messageType);
38 
44 std::vector<std::string> getFieldTypes(const std::string& messageType);
45 
51 std::string getMsgFile(const std::string& messageType);
52 
59 std::string getMD5Text(const std::string& messageType);
60 
61 }
62 }
std::string getMsgFile(const std::string &messageType)
Get the path to the .msg file corresponding to the given message type.
Definition: rosmsg_cpp.cpp:204
std::string getMD5Text(const std::string &messageType)
Return the exact text from which the MD5 sum of the message is computed.
Definition: rosmsg_cpp.cpp:256
bool hasHeader(const std::string &messageType)
Tell whether the given message type has a header field.
Definition: rosmsg_cpp.cpp:162
std::string getMD5Sum(const std::string &messageType)
Return the MD5 sum of the message type - the same as genpy generates.
Definition: rosmsg_cpp.cpp:154
std::vector< std::string > getFieldTypes(const std::string &messageType)
Return the types of fields of the message type (non-recursive).
Definition: rosmsg_cpp.cpp:188
std::vector< std::string > getFieldNames(const std::string &messageType)
Return the names of fields of the message type (non-recursive).
Definition: rosmsg_cpp.cpp:172
std::string getFullDef(const std::string &messageType)
Return the full recursive definition of the message type - the same as genpy generates.
Definition: rosmsg_cpp.cpp:146


rosmsg_cpp
Author(s): Martin Pecka
autogenerated on Tue Apr 18 2023 02:08:03