data

package
v0.0.0-...-e36989d Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2018 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const StreamCollection_TypeID = 0xc1faf22fef67d15b

StreamCollection_TypeID is the unique identifier for the type StreamCollection.

View Source
const Stream_TypeID = 0xcf2858cf0a901da3

Stream_TypeID is the unique identifier for the type Stream.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stream

type Stream struct{ capnp.Struct }

func NewRootStream

func NewRootStream(s *capnp.Segment) (Stream, error)

func NewStream

func NewStream(s *capnp.Segment) (Stream, error)

func ReadRootStream

func ReadRootStream(msg *capnp.Message) (Stream, error)

func (Stream) HasTimes

func (s Stream) HasTimes() bool

func (Stream) HasValues

func (s Stream) HasValues() bool

func (Stream) NewTimes

func (s Stream) NewTimes(n int32) (capnp.Int64List, error)

NewTimes sets the times field to a newly allocated capnp.Int64List, preferring placement in s's segment.

func (Stream) NewValues

func (s Stream) NewValues(n int32) (capnp.Float64List, error)

NewValues sets the values field to a newly allocated capnp.Float64List, preferring placement in s's segment.

func (Stream) SetTimes

func (s Stream) SetTimes(v capnp.Int64List) error

func (Stream) SetValues

func (s Stream) SetValues(v capnp.Float64List) error

func (Stream) String

func (s Stream) String() string

func (Stream) Times

func (s Stream) Times() (capnp.Int64List, error)

func (Stream) Values

func (s Stream) Values() (capnp.Float64List, error)

type StreamCollection

type StreamCollection struct{ capnp.Struct }

func NewRootStreamCollection

func NewRootStreamCollection(s *capnp.Segment) (StreamCollection, error)

func NewStreamCollection

func NewStreamCollection(s *capnp.Segment) (StreamCollection, error)

func ReadRootStreamCollection

func ReadRootStreamCollection(msg *capnp.Message) (StreamCollection, error)

func (StreamCollection) HasStreams

func (s StreamCollection) HasStreams() bool

func (StreamCollection) HasTimes

func (s StreamCollection) HasTimes() bool

func (StreamCollection) NewStreams

func (s StreamCollection) NewStreams(n int32) (Stream_List, error)

NewStreams sets the streams field to a newly allocated Stream_List, preferring placement in s's segment.

func (StreamCollection) NewTimes

func (s StreamCollection) NewTimes(n int32) (capnp.Int64List, error)

NewTimes sets the times field to a newly allocated capnp.Int64List, preferring placement in s's segment.

func (StreamCollection) SetStreams

func (s StreamCollection) SetStreams(v Stream_List) error

func (StreamCollection) SetTimes

func (s StreamCollection) SetTimes(v capnp.Int64List) error

func (StreamCollection) Streams

func (s StreamCollection) Streams() (Stream_List, error)

func (StreamCollection) String

func (s StreamCollection) String() string

func (StreamCollection) Times

func (s StreamCollection) Times() (capnp.Int64List, error)

type StreamCollection_List

type StreamCollection_List struct{ capnp.List }

StreamCollection_List is a list of StreamCollection.

func NewStreamCollection_List

func NewStreamCollection_List(s *capnp.Segment, sz int32) (StreamCollection_List, error)

NewStreamCollection creates a new list of StreamCollection.

func (StreamCollection_List) At

func (StreamCollection_List) Set

func (StreamCollection_List) String

func (s StreamCollection_List) String() string

type StreamCollection_Promise

type StreamCollection_Promise struct{ *capnp.Pipeline }

StreamCollection_Promise is a wrapper for a StreamCollection promised by a client call.

func (StreamCollection_Promise) Struct

type Stream_List

type Stream_List struct{ capnp.List }

Stream_List is a list of Stream.

func NewStream_List

func NewStream_List(s *capnp.Segment, sz int32) (Stream_List, error)

NewStream creates a new list of Stream.

func (Stream_List) At

func (s Stream_List) At(i int) Stream

func (Stream_List) Set

func (s Stream_List) Set(i int, v Stream) error

func (Stream_List) String

func (s Stream_List) String() string

type Stream_Promise

type Stream_Promise struct{ *capnp.Pipeline }

Stream_Promise is a wrapper for a Stream promised by a client call.

func (Stream_Promise) Struct

func (p Stream_Promise) Struct() (Stream, error)

Jump to

Keyboard shortcuts

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