-
Notifications
You must be signed in to change notification settings - Fork 1
/
GetParameters.gen.go
52 lines (38 loc) · 1.47 KB
/
GetParameters.gen.go
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
This file is part of rclgo
Copyright © 2021 Technology Innovation Institute, United Arab Emirates
Licensed under the Apache License, Version 2.0 (the "License");
http://www.apache.org/licenses/LICENSE-2.0
*/
/*
THIS FILE IS AUTOGENERATED BY 'rclgo-gen generate'
*/
package rcl_interfaces_srv
/*
#cgo LDFLAGS: -L/opt/ros/foxy/lib -Wl,-rpath=/opt/ros/foxy/lib -lrcl -lrosidl_runtime_c -lrosidl_typesupport_c -lrcutils -lrmw_implementation
#cgo LDFLAGS: -lrcl_interfaces__rosidl_typesupport_c -lrcl_interfaces__rosidl_generator_c
#cgo CFLAGS: -I/opt/ros/foxy/include
#include <rosidl_runtime_c/message_type_support_struct.h>
#include <rcl_interfaces/srv/get_parameters.h>
*/
import "C"
import (
"github.com/TIERS/rclgo/pkg/rclgo/typemap"
"github.com/TIERS/rclgo/pkg/rclgo/types"
"unsafe"
)
func init() {
typemap.RegisterService("rcl_interfaces/GetParameters", GetParametersTypeSupport)
}
type _GetParametersTypeSupport struct {}
func (s _GetParametersTypeSupport) Request() types.MessageTypeSupport {
return GetParameters_RequestTypeSupport
}
func (s _GetParametersTypeSupport) Response() types.MessageTypeSupport {
return GetParameters_ResponseTypeSupport
}
func (s _GetParametersTypeSupport) TypeSupport() unsafe.Pointer {
return unsafe.Pointer(C.rosidl_typesupport_c__get_service_type_support_handle__rcl_interfaces__srv__GetParameters())
}
// Modifying this variable is undefined behavior.
var GetParametersTypeSupport types.ServiceTypeSupport = _GetParametersTypeSupport{}