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 }
ros
ros::message::getMD5Text
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
ros::message::getFieldNames
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
ros::message::getFieldTypes
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
ros::message::getFullDef
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
ros::message::hasHeader
bool hasHeader(const std::string &messageType)
Tell whether the given message type has a header field.
Definition: rosmsg_cpp.cpp:162
ros::message::getMsgFile
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
ros::message::getMD5Sum
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


rosmsg_cpp
Author(s): Martin Pecka
autogenerated on Mon Apr 17 2023 02:30:24