primitives

package
v0.0.0-...-56b24e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 4 Imported by: 33

Documentation

Overview

These types implement the rosidl_runtime_c primitive types handling semantics.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool__Array_to_C

func Bool__Array_to_C(cSlice []CBool, goSlice []bool)

func Bool__Array_to_Go

func Bool__Array_to_Go(goSlice []bool, cSlice []CBool)

func Bool__Sequence_to_C

func Bool__Sequence_to_C(cSlice *CBool__Sequence, goSlice []bool)

func Bool__Sequence_to_Go

func Bool__Sequence_to_Go(goSlice *[]bool, cSlice CBool__Sequence)

func Byte__Array_to_C

func Byte__Array_to_C(cSlice []CByte, goSlice []byte)

func Byte__Array_to_Go

func Byte__Array_to_Go(goSlice []byte, cSlice []CByte)

func Byte__Sequence_to_C

func Byte__Sequence_to_C(cSlice *CByte__Sequence, goSlice []byte)

func Byte__Sequence_to_Go

func Byte__Sequence_to_Go(goSlice *[]byte, cSlice CByte__Sequence)

func Char__Array_to_C

func Char__Array_to_C(cSlice []CChar, goSlice []byte)

func Char__Array_to_Go

func Char__Array_to_Go(goSlice []byte, cSlice []CChar)

func Char__Sequence_to_C

func Char__Sequence_to_C(cSlice *CChar__Sequence, goSlice []byte)

func Char__Sequence_to_Go

func Char__Sequence_to_Go(goSlice *[]byte, cSlice CChar__Sequence)

func Float32__Array_to_C

func Float32__Array_to_C(cSlice []CFloat32, goSlice []float32)

func Float32__Array_to_Go

func Float32__Array_to_Go(goSlice []float32, cSlice []CFloat32)

func Float32__Sequence_to_C

func Float32__Sequence_to_C(cSlice *CFloat32__Sequence, goSlice []float32)

func Float32__Sequence_to_Go

func Float32__Sequence_to_Go(goSlice *[]float32, cSlice CFloat32__Sequence)

func Float64__Array_to_C

func Float64__Array_to_C(cSlice []CFloat64, goSlice []float64)

func Float64__Array_to_Go

func Float64__Array_to_Go(goSlice []float64, cSlice []CFloat64)

func Float64__Sequence_to_C

func Float64__Sequence_to_C(cSlice *CFloat64__Sequence, goSlice []float64)

func Float64__Sequence_to_Go

func Float64__Sequence_to_Go(goSlice *[]float64, cSlice CFloat64__Sequence)

func Int16__Array_to_C

func Int16__Array_to_C(cSlice []CInt16, goSlice []int16)

func Int16__Array_to_Go

func Int16__Array_to_Go(goSlice []int16, cSlice []CInt16)

func Int16__Sequence_to_C

func Int16__Sequence_to_C(cSlice *CInt16__Sequence, goSlice []int16)

func Int16__Sequence_to_Go

func Int16__Sequence_to_Go(goSlice *[]int16, cSlice CInt16__Sequence)

func Int32__Array_to_C

func Int32__Array_to_C(cSlice []CInt32, goSlice []int32)

func Int32__Array_to_Go

func Int32__Array_to_Go(goSlice []int32, cSlice []CInt32)

func Int32__Sequence_to_C

func Int32__Sequence_to_C(cSlice *CInt32__Sequence, goSlice []int32)

func Int32__Sequence_to_Go

func Int32__Sequence_to_Go(goSlice *[]int32, cSlice CInt32__Sequence)

func Int64__Array_to_C

func Int64__Array_to_C(cSlice []CInt64, goSlice []int64)

func Int64__Array_to_Go

func Int64__Array_to_Go(goSlice []int64, cSlice []CInt64)

func Int64__Sequence_to_C

func Int64__Sequence_to_C(cSlice *CInt64__Sequence, goSlice []int64)

func Int64__Sequence_to_Go

func Int64__Sequence_to_Go(goSlice *[]int64, cSlice CInt64__Sequence)

func Int8__Array_to_C

func Int8__Array_to_C(cSlice []CInt8, goSlice []int8)

func Int8__Array_to_Go

func Int8__Array_to_Go(goSlice []int8, cSlice []CInt8)

func Int8__Sequence_to_C

func Int8__Sequence_to_C(cSlice *CInt8__Sequence, goSlice []int8)

func Int8__Sequence_to_Go

func Int8__Sequence_to_Go(goSlice *[]int8, cSlice CInt8__Sequence)

func StringAsCStruct

func StringAsCStruct(dst unsafe.Pointer, m string)

func StringAsGoStruct

func StringAsGoStruct(m *string, ros2_message_buffer unsafe.Pointer)

func String__Array_to_C

func String__Array_to_C(cSlice []CString, goSlice []string)

func String__Array_to_Go

func String__Array_to_Go(goSlice []string, cSlice []CString)

func String__Sequence_to_C

func String__Sequence_to_C(cSlice *CString__Sequence, goSlice []string)

func String__Sequence_to_Go

func String__Sequence_to_Go(goSlice *[]string, cSlice CString__Sequence)

func U16StringAsCStruct

func U16StringAsCStruct(dst unsafe.Pointer, m string)

func U16StringAsGoStruct

func U16StringAsGoStruct(msg *string, ros2_message_buffer unsafe.Pointer)

func U16String__Array_to_C

func U16String__Array_to_C(cSlice []CU16String, goSlice []string)

func U16String__Array_to_Go

func U16String__Array_to_Go(goSlice []string, cSlice []CU16String)

func U16String__Sequence_to_C

func U16String__Sequence_to_C(cSlice *CU16String__Sequence, goSlice []string)

func U16String__Sequence_to_Go

func U16String__Sequence_to_Go(goSlice *[]string, cSlice CU16String__Sequence)

func Uint16__Array_to_C

func Uint16__Array_to_C(cSlice []CUint16, goSlice []uint16)

func Uint16__Array_to_Go

func Uint16__Array_to_Go(goSlice []uint16, cSlice []CUint16)

func Uint16__Sequence_to_C

func Uint16__Sequence_to_C(cSlice *CUint16__Sequence, goSlice []uint16)

func Uint16__Sequence_to_Go

func Uint16__Sequence_to_Go(goSlice *[]uint16, cSlice CUint16__Sequence)

func Uint32__Array_to_C

func Uint32__Array_to_C(cSlice []CUint32, goSlice []uint32)

func Uint32__Array_to_Go

func Uint32__Array_to_Go(goSlice []uint32, cSlice []CUint32)

func Uint32__Sequence_to_C

func Uint32__Sequence_to_C(cSlice *CUint32__Sequence, goSlice []uint32)

func Uint32__Sequence_to_Go

func Uint32__Sequence_to_Go(goSlice *[]uint32, cSlice CUint32__Sequence)

func Uint64__Array_to_C

func Uint64__Array_to_C(cSlice []CUint64, goSlice []uint64)

func Uint64__Array_to_Go

func Uint64__Array_to_Go(goSlice []uint64, cSlice []CUint64)

func Uint64__Sequence_to_C

func Uint64__Sequence_to_C(cSlice *CUint64__Sequence, goSlice []uint64)

func Uint64__Sequence_to_Go

func Uint64__Sequence_to_Go(goSlice *[]uint64, cSlice CUint64__Sequence)

func Uint8__Array_to_C

func Uint8__Array_to_C(cSlice []CUint8, goSlice []uint8)

func Uint8__Array_to_Go

func Uint8__Array_to_Go(goSlice []uint8, cSlice []CUint8)

func Uint8__Sequence_to_C

func Uint8__Sequence_to_C(cSlice *CUint8__Sequence, goSlice []uint8)

func Uint8__Sequence_to_Go

func Uint8__Sequence_to_Go(goSlice *[]uint8, cSlice CUint8__Sequence)

Types

type CBool

type CBool = C.bool

Bool

type CByte

type CByte = C.uint8_t

Byte

type CChar

type CChar = C.schar

Char has some strange naming conventions under the ROS2 IDL hood, so it is easier to define the Char type manually, than refactor the whole generator templating.

type CFloat32

type CFloat32 = C.float

Float32

type CFloat32__Sequence

type CFloat32__Sequence = C.rosidl_runtime_c__float__Sequence

type CFloat64

type CFloat64 = C.double

Float64

type CInt16

type CInt16 = C.int16_t

Int16

type CInt32

type CInt32 = C.int32_t

Int32

type CInt64

type CInt64 = C.int64_t

Int64

type CInt8

type CInt8 = C.int8_t

Int8

type CString

type CString = C.rosidl_runtime_c__String

type CU16String

type CU16String = C.rosidl_runtime_c__U16String

type CUint16

type CUint16 = C.uint16_t

Uint16

type CUint32

type CUint32 = C.uint32_t

Uint32

type CUint64

type CUint64 = C.uint64_t

Uint64

type CUint8

type CUint8 = C.uint8_t

Uint8

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL