Namespaces | Functions | Variables
rosmsg_cpp.cpp File Reference
#include "rosmsg_cpp/rosmsg_cpp.h"
#include <iostream>
#include <cstdlib>
#include <Python.h>
#include <ros/package.h>
#include <ros/platform.h>
Include dependency graph for rosmsg_cpp.cpp:

Go to the source code of this file.

Namespaces

 ros
 
 ros::message
 

Functions

std::vector< std::string > ros::message::getFieldNames (const std::string &messageType)
 Return the names of fields of the message type (non-recursive). More...
 
std::vector< std::string > ros::message::getFieldTypes (const std::string &messageType)
 Return the types of fields of the message type (non-recursive). More...
 
std::string ros::message::getFullDef (const std::string &messageType)
 Return the full recursive definition of the message type - the same as genpy generates. More...
 
std::string ros::message::getMD5Sum (const std::string &messageType)
 Return the MD5 sum of the message type - the same as genpy generates. More...
 
std::string ros::message::getMD5Text (const std::string &messageType)
 Return the exact text from which the MD5 sum of the message is computed. More...
 
PyObject * ros::message::getMsgField (const std::string &messageType, const std::string &field)
 
std::string ros::message::getMsgFile (const std::string &messageType)
 Get the path to the .msg file corresponding to the given message type. More...
 
bool ros::message::hasHeader (const std::string &messageType)
 Tell whether the given message type has a header field. More...
 
void ros::message::printPythonError ()
 
PyObject * ros::message::pythonBorrowAttrString (PyObject *o, const std::string &name)
 
std::string ros::message::stringFromPython (PyObject *input)
 
PyObject * ros::message::stringToPython (const std::string &input)
 

Variables

static bool ros::message::pythonInitialized
 


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