Documentation ¶
Index ¶
- Variables
- func ReadDelimitedMessage(stream io.Reader, pb proto.Message) (bool, error)
- func SafeEncode(pb proto.Message) ([]byte, error)
- type FileLine
- type Footer
- type FrameReadout
- func (*FrameReadout) Descriptor() ([]byte, []int)deprecated
- func (x *FrameReadout) GetCueend() *timestamp.Timestamp
- func (x *FrameReadout) GetCuestart() *timestamp.Timestamp
- func (x *FrameReadout) GetError() FrameReadout_Error
- func (x *FrameReadout) GetExtensions() []*any.Any
- func (x *FrameReadout) GetFrameID() int64
- func (x *FrameReadout) GetHeight() int32
- func (x *FrameReadout) GetProducerUuid() string
- func (x *FrameReadout) GetQuads() int32
- func (x *FrameReadout) GetTags() []*Tag
- func (x *FrameReadout) GetTime() *timestamp.Timestamp
- func (x *FrameReadout) GetTimestamp() int64
- func (x *FrameReadout) GetWidth() int32
- func (*FrameReadout) ProtoMessage()
- func (x *FrameReadout) ProtoReflect() protoreflect.Message
- func (x *FrameReadout) Reset()
- func (x *FrameReadout) String() string
- type FrameReadout_Error
- func (FrameReadout_Error) Descriptor() protoreflect.EnumDescriptor
- func (x FrameReadout_Error) Enum() *FrameReadout_Error
- func (FrameReadout_Error) EnumDescriptor() ([]byte, []int)deprecated
- func (x FrameReadout_Error) Number() protoreflect.EnumNumber
- func (x FrameReadout_Error) String() string
- func (FrameReadout_Error) Type() protoreflect.EnumType
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetExtensionTypes() []string
- func (x *Header) GetHeight() int32
- func (x *Header) GetPrevious() string
- func (x *Header) GetType() Header_Type
- func (x *Header) GetVersion() *Version
- func (x *Header) GetWidth() int32
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
- type Header_Type
- func (Header_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Header_Type) Enum() *Header_Type
- func (Header_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Header_Type) Number() protoreflect.EnumNumber
- func (x Header_Type) String() string
- func (Header_Type) Type() protoreflect.EnumType
- type Tag
- type Version
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
View Source
var File_Tag_proto protoreflect.FileDescriptor
Functions ¶
func ReadDelimitedMessage ¶
Types ¶
type FileLine ¶
type FileLine struct { Readout *FrameReadout `protobuf:"bytes,1,opt,name=readout,proto3" json:"readout,omitempty"` // contains filtered or unexported fields }
func (*FileLine) Descriptor
deprecated
func (*FileLine) GetReadout ¶
func (x *FileLine) GetReadout() *FrameReadout
func (*FileLine) ProtoMessage ¶
func (*FileLine) ProtoMessage()
func (*FileLine) ProtoReflect ¶
func (x *FileLine) ProtoReflect() protoreflect.Message
type Footer ¶
type Footer struct { // contains filtered or unexported fields }
func (*Footer) Descriptor
deprecated
func (*Footer) ProtoMessage ¶
func (*Footer) ProtoMessage()
func (*Footer) ProtoReflect ¶
func (x *Footer) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (FrameReadout_Error) Enum ¶
func (x FrameReadout_Error) Enum() *FrameReadout_Error
func (FrameReadout_Error) EnumDescriptor
deprecated
func (FrameReadout_Error) EnumDescriptor() ([]byte, []int)
Deprecated: Use FrameReadout_Error.Descriptor instead.
func (FrameReadout_Error) Number ¶
func (x FrameReadout_Error) Number() protoreflect.EnumNumber
func (FrameReadout_Error) String ¶
func (x FrameReadout_Error) String() string
func (FrameReadout_Error) Type ¶
func (FrameReadout_Error) Type() protoreflect.EnumType
type Header ¶
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) GetExtensionTypes ¶
func (*Header) GetPrevious ¶
func (*Header) GetType ¶
func (x *Header) GetType() Header_Type
func (*Header) GetVersion ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (Header_Type) Type() protoreflect.EnumType
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) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.