/usr/share/genlisp/srv.lisp.template is in python-genlisp 0.4.16-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | @###############################################
@#
@# ROS message source code generation for C++
@#
@# EmPy template for generating <msg>.h files
@#
@###############################################
@# Start of Template
@#
@# Context:
@# - file_name_in (String) Source file
@# - spec (msggen.MsgSpec) Parsed specification of the .msg file
@# - md5sum (String) MD5Sum of the .msg specification
@###############################################
#include <boost/python.hpp>
#include <@(spec.package)/@(spec.short_name).h>
using namespace boost::python;
void export_@(spec.short_name)()
{
class_<@(spec.package)::@(spec.short_name)>("@(spec.short_name)")
.def_readwrite("request", &@(spec.package)::@(spec.short_name)::request)
.def_readwrite("response", &@(spec.package)::@(spec.short_name)::response);
}
|