builtin_interfaces_msg

package
v0.0.0-...-7321826 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DurationTypeSupport types.MessageTypeSupport = _DurationTypeSupport{}

Modifying this variable is undefined behavior.

View Source
var TimeTypeSupport types.MessageTypeSupport = _TimeTypeSupport{}

Modifying this variable is undefined behavior.

Functions

func CloneDurationSlice

func CloneDurationSlice(dst, src []Duration)

CloneDurationSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).

func CloneTimeSlice

func CloneTimeSlice(dst, src []Time)

CloneTimeSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).

func Duration__Array_to_C

func Duration__Array_to_C(cSlice []CDuration, goSlice []Duration)

func Duration__Array_to_Go

func Duration__Array_to_Go(goSlice []Duration, cSlice []CDuration)

func Duration__Sequence_to_C

func Duration__Sequence_to_C(cSlice *CDuration__Sequence, goSlice []Duration)

func Duration__Sequence_to_Go

func Duration__Sequence_to_Go(goSlice *[]Duration, cSlice CDuration__Sequence)

func Time__Array_to_C

func Time__Array_to_C(cSlice []CTime, goSlice []Time)

func Time__Array_to_Go

func Time__Array_to_Go(goSlice []Time, cSlice []CTime)

func Time__Sequence_to_C

func Time__Sequence_to_C(cSlice *CTime__Sequence, goSlice []Time)

func Time__Sequence_to_Go

func Time__Sequence_to_Go(goSlice *[]Time, cSlice CTime__Sequence)

Types

type Duration

type Duration struct {
	Sec     int32  `yaml:"sec"`     // Seconds component, range is valid over any possible int32 value.
	Nanosec uint32 `yaml:"nanosec"` // Nanoseconds component in the range of [0, 10e9).
}

Do not create instances of this type directly. Always use NewDuration function instead.

func NewDuration

func NewDuration() *Duration

NewDuration creates a new Duration with default values.

func (*Duration) Clone

func (t *Duration) Clone() *Duration

func (*Duration) CloneMsg

func (t *Duration) CloneMsg() types.Message

func (*Duration) SetDefaults

func (t *Duration) SetDefaults()

type Time

type Time struct {
	Sec     int32  `yaml:"sec"`     // The seconds component, valid over all int32 values.
	Nanosec uint32 `yaml:"nanosec"` // The nanoseconds component, valid in the range [0, 10e9).
}

Do not create instances of this type directly. Always use NewTime function instead.

func NewTime

func NewTime() *Time

NewTime creates a new Time with default values.

func (*Time) Clone

func (t *Time) Clone() *Time

func (*Time) CloneMsg

func (t *Time) CloneMsg() types.Message

func (*Time) SetDefaults

func (t *Time) SetDefaults()

Jump to

Keyboard shortcuts

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