hermes

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FrameReadout_Error_name = map[int32]string{
		0: "NO_ERROR",
		1: "PROCESS_OVERFLOW",
		2: "PROCESS_TIMEOUT",
		3: "ILLUMINATION_ERROR",
	}
	FrameReadout_Error_value = map[string]int32{
		"NO_ERROR":           0,
		"PROCESS_OVERFLOW":   1,
		"PROCESS_TIMEOUT":    2,
		"ILLUMINATION_ERROR": 3,
	}
)

Enum value maps for FrameReadout_Error.

View Source
var (
	Header_Type_name = map[int32]string{
		0: "Network",
		1: "File",
	}
	Header_Type_value = map[string]int32{
		"Network": 0,
		"File":    1,
	}
)

Enum value maps for Header_Type.

View Source
var File_FrameReadout_proto protoreflect.FileDescriptor
View Source
var File_Header_proto protoreflect.FileDescriptor

Functions

func ReadDelimitedMessage

func ReadDelimitedMessage(stream io.Reader, pb proto.Message) (bool, error)

func SafeEncode

func SafeEncode(pb proto.Message) ([]byte, error)

Types

type FileLine

type FileLine struct {
	Readout *FrameReadout `protobuf:"bytes,1,opt,name=readout,proto3" json:"readout,omitempty"`
	Footer  *Footer       `protobuf:"bytes,2,opt,name=footer,proto3" json:"footer,omitempty"`
	// contains filtered or unexported fields
}

func (*FileLine) Descriptor deprecated

func (*FileLine) Descriptor() ([]byte, []int)

Deprecated: Use FileLine.ProtoReflect.Descriptor instead.

func (*FileLine) GetFooter

func (x *FileLine) GetFooter() *Footer

func (*FileLine) GetReadout

func (x *FileLine) GetReadout() *FrameReadout

func (*FileLine) ProtoMessage

func (*FileLine) ProtoMessage()

func (*FileLine) ProtoReflect

func (x *FileLine) ProtoReflect() protoreflect.Message

func (*FileLine) Reset

func (x *FileLine) Reset()

func (*FileLine) String

func (x *FileLine) String() string
type Footer struct {
	Next string `protobuf:"bytes,1,opt,name=next,proto3" json:"next,omitempty"`
	// contains filtered or unexported fields
}

func (*Footer) Descriptor deprecated

func (*Footer) Descriptor() ([]byte, []int)

Deprecated: Use Footer.ProtoReflect.Descriptor instead.

func (*Footer) GetNext

func (x *Footer) GetNext() string

func (*Footer) ProtoMessage

func (*Footer) ProtoMessage()

func (*Footer) ProtoReflect

func (x *Footer) ProtoReflect() protoreflect.Message

func (*Footer) Reset

func (x *Footer) Reset()

func (*Footer) String

func (x *Footer) String() string

type FrameReadout

type FrameReadout struct {
	Timestamp    int64                `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	FrameID      int64                `protobuf:"varint,2,opt,name=frameID,proto3" json:"frameID,omitempty"`
	Tags         []*Tag               `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
	Time         *timestamp.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	Error        FrameReadout_Error   `protobuf:"varint,5,opt,name=error,proto3,enum=fort.hermes.FrameReadout_Error" json:"error,omitempty"`
	ProducerUuid string               `protobuf:"bytes,6,opt,name=producer_uuid,json=producerUuid,proto3" json:"producer_uuid,omitempty"`
	Quads        int32                `protobuf:"varint,7,opt,name=quads,proto3" json:"quads,omitempty"`
	Width        int32                `protobuf:"varint,8,opt,name=width,proto3" json:"width,omitempty"`
	Height       int32                `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"`
	Cuestart     *timestamp.Timestamp `protobuf:"bytes,10,opt,name=cuestart,proto3" json:"cuestart,omitempty"`
	Cueend       *timestamp.Timestamp `protobuf:"bytes,11,opt,name=cueend,proto3" json:"cueend,omitempty"`
	Extensions   []*any.Any           `protobuf:"bytes,12,rep,name=extensions,proto3" json:"extensions,omitempty"`
	// contains filtered or unexported fields
}

func (*FrameReadout) Descriptor deprecated

func (*FrameReadout) Descriptor() ([]byte, []int)

Deprecated: Use FrameReadout.ProtoReflect.Descriptor instead.

func (*FrameReadout) GetCueend

func (x *FrameReadout) GetCueend() *timestamp.Timestamp

func (*FrameReadout) GetCuestart

func (x *FrameReadout) GetCuestart() *timestamp.Timestamp

func (*FrameReadout) GetError

func (x *FrameReadout) GetError() FrameReadout_Error

func (*FrameReadout) GetExtensions

func (x *FrameReadout) GetExtensions() []*any.Any

func (*FrameReadout) GetFrameID

func (x *FrameReadout) GetFrameID() int64

func (*FrameReadout) GetHeight

func (x *FrameReadout) GetHeight() int32

func (*FrameReadout) GetProducerUuid

func (x *FrameReadout) GetProducerUuid() string

func (*FrameReadout) GetQuads

func (x *FrameReadout) GetQuads() int32

func (*FrameReadout) GetTags

func (x *FrameReadout) GetTags() []*Tag

func (*FrameReadout) GetTime

func (x *FrameReadout) GetTime() *timestamp.Timestamp

func (*FrameReadout) GetTimestamp

func (x *FrameReadout) GetTimestamp() int64

func (*FrameReadout) GetWidth

func (x *FrameReadout) GetWidth() int32

func (*FrameReadout) ProtoMessage

func (*FrameReadout) ProtoMessage()

func (*FrameReadout) ProtoReflect

func (x *FrameReadout) ProtoReflect() protoreflect.Message

func (*FrameReadout) Reset

func (x *FrameReadout) Reset()

func (*FrameReadout) String

func (x *FrameReadout) String() string

type FrameReadout_Error

type FrameReadout_Error int32
const (
	FrameReadout_NO_ERROR           FrameReadout_Error = 0
	FrameReadout_PROCESS_OVERFLOW   FrameReadout_Error = 1
	FrameReadout_PROCESS_TIMEOUT    FrameReadout_Error = 2
	FrameReadout_ILLUMINATION_ERROR FrameReadout_Error = 3
)

func (FrameReadout_Error) Descriptor

func (FrameReadout_Error) Enum

func (FrameReadout_Error) EnumDescriptor deprecated

func (FrameReadout_Error) EnumDescriptor() ([]byte, []int)

Deprecated: Use FrameReadout_Error.Descriptor instead.

func (FrameReadout_Error) Number

func (FrameReadout_Error) String

func (x FrameReadout_Error) String() string

func (FrameReadout_Error) Type

type Header struct {
	Version        *Version    `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Type           Header_Type `protobuf:"varint,2,opt,name=type,proto3,enum=fort.hermes.Header_Type" json:"type,omitempty"`
	Previous       string      `protobuf:"bytes,3,opt,name=previous,proto3" json:"previous,omitempty"`
	Width          int32       `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"`
	Height         int32       `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
	ExtensionTypes []string    `protobuf:"bytes,6,rep,name=extensionTypes,proto3" json:"extensionTypes,omitempty"`
	// contains filtered or unexported fields
}

func (*Header) Descriptor deprecated

func (*Header) Descriptor() ([]byte, []int)

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetExtensionTypes

func (x *Header) GetExtensionTypes() []string

func (*Header) GetHeight

func (x *Header) GetHeight() int32

func (*Header) GetPrevious

func (x *Header) GetPrevious() string

func (*Header) GetType

func (x *Header) GetType() Header_Type

func (*Header) GetVersion

func (x *Header) GetVersion() *Version

func (*Header) GetWidth

func (x *Header) GetWidth() int32

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

func (x *Header) ProtoReflect() protoreflect.Message

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string

type Header_Type

type Header_Type int32
const (
	Header_Network Header_Type = 0
	Header_File    Header_Type = 1
)

func (Header_Type) Descriptor

func (Header_Type) Enum

func (x Header_Type) Enum() *Header_Type

func (Header_Type) EnumDescriptor deprecated

func (Header_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Header_Type.Descriptor instead.

func (Header_Type) Number

func (x Header_Type) Number() protoreflect.EnumNumber

func (Header_Type) String

func (x Header_Type) String() string

func (Header_Type) Type

type Tag

type Tag struct {
	ID    uint32  `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	X     float64 `protobuf:"fixed64,2,opt,name=x,proto3" json:"x,omitempty"`
	Y     float64 `protobuf:"fixed64,3,opt,name=y,proto3" json:"y,omitempty"`
	Theta float64 `protobuf:"fixed64,4,opt,name=theta,proto3" json:"theta,omitempty"`
	// contains filtered or unexported fields
}

func (*Tag) Descriptor deprecated

func (*Tag) Descriptor() ([]byte, []int)

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetID

func (x *Tag) GetID() uint32

func (*Tag) GetTheta

func (x *Tag) GetTheta() float64

func (*Tag) GetX

func (x *Tag) GetX() float64

func (*Tag) GetY

func (x *Tag) GetY() float64

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

func (x *Tag) ProtoReflect() protoreflect.Message

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

type Version

type Version struct {
	Vmajor uint32 `protobuf:"varint,1,opt,name=vmajor,proto3" json:"vmajor,omitempty"` // do not use major it conflict with some macros
	Vminor uint32 `protobuf:"varint,2,opt,name=vminor,proto3" json:"vminor,omitempty"` // do not use minor it conflict with some macros
	// contains filtered or unexported fields
}

func (*Version) Descriptor deprecated

func (*Version) Descriptor() ([]byte, []int)

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetVmajor

func (x *Version) GetVmajor() uint32

func (*Version) GetVminor

func (x *Version) GetVminor() uint32

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

func (x *Version) ProtoReflect() protoreflect.Message

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

Jump to

Keyboard shortcuts

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