Documentation ¶
Index ¶
- Variables
- func RegisterTrackingServerServiceServer(s grpc.ServiceRegistrar, srv TrackingServerServiceServer)
- type CommandAnswer
- func (CommandAnswer) Descriptor() protoreflect.EnumDescriptor
- func (x CommandAnswer) Enum() *CommandAnswer
- func (CommandAnswer) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommandAnswer) Number() protoreflect.EnumNumber
- func (x CommandAnswer) String() string
- func (CommandAnswer) Type() protoreflect.EnumType
- type RespondTrackingOffCommandRequest
- func (*RespondTrackingOffCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RespondTrackingOffCommandRequest) GetCommandAnswer() CommandAnswer
- func (*RespondTrackingOffCommandRequest) ProtoMessage()
- func (x *RespondTrackingOffCommandRequest) ProtoReflect() protoreflect.Message
- func (x *RespondTrackingOffCommandRequest) Reset()
- func (x *RespondTrackingOffCommandRequest) String() string
- type RespondTrackingOffCommandResponse
- func (*RespondTrackingOffCommandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RespondTrackingOffCommandResponse) GetTrackingServerResult() *TrackingServerResult
- func (*RespondTrackingOffCommandResponse) ProtoMessage()
- func (x *RespondTrackingOffCommandResponse) ProtoReflect() protoreflect.Message
- func (x *RespondTrackingOffCommandResponse) Reset()
- func (x *RespondTrackingOffCommandResponse) String() string
- type RespondTrackingPointCommandRequest
- func (*RespondTrackingPointCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RespondTrackingPointCommandRequest) GetCommandAnswer() CommandAnswer
- func (*RespondTrackingPointCommandRequest) ProtoMessage()
- func (x *RespondTrackingPointCommandRequest) ProtoReflect() protoreflect.Message
- func (x *RespondTrackingPointCommandRequest) Reset()
- func (x *RespondTrackingPointCommandRequest) String() string
- type RespondTrackingPointCommandResponse
- func (*RespondTrackingPointCommandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RespondTrackingPointCommandResponse) GetTrackingServerResult() *TrackingServerResult
- func (*RespondTrackingPointCommandResponse) ProtoMessage()
- func (x *RespondTrackingPointCommandResponse) ProtoReflect() protoreflect.Message
- func (x *RespondTrackingPointCommandResponse) Reset()
- func (x *RespondTrackingPointCommandResponse) String() string
- type RespondTrackingRectangleCommandRequest
- func (*RespondTrackingRectangleCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RespondTrackingRectangleCommandRequest) GetCommandAnswer() CommandAnswer
- func (*RespondTrackingRectangleCommandRequest) ProtoMessage()
- func (x *RespondTrackingRectangleCommandRequest) ProtoReflect() protoreflect.Message
- func (x *RespondTrackingRectangleCommandRequest) Reset()
- func (x *RespondTrackingRectangleCommandRequest) String() string
- type RespondTrackingRectangleCommandResponse
- func (*RespondTrackingRectangleCommandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RespondTrackingRectangleCommandResponse) GetTrackingServerResult() *TrackingServerResult
- func (*RespondTrackingRectangleCommandResponse) ProtoMessage()
- func (x *RespondTrackingRectangleCommandResponse) ProtoReflect() protoreflect.Message
- func (x *RespondTrackingRectangleCommandResponse) Reset()
- func (x *RespondTrackingRectangleCommandResponse) String() string
- type ServiceImpl
- func (s *ServiceImpl) RespondTrackingOffCommand(ctx context.Context, commandAnswer *CommandAnswer) (*RespondTrackingOffCommandResponse, error)
- func (s *ServiceImpl) RespondTrackingPointCommand(ctx context.Context, commandAnswer *CommandAnswer) (*RespondTrackingPointCommandResponse, error)
- func (s *ServiceImpl) RespondTrackingRectangleCommand(ctx context.Context, commandAnswer *CommandAnswer) (*RespondTrackingRectangleCommandResponse, error)
- func (s *ServiceImpl) SetTrackingOffStatus(ctx context.Context) (*SetTrackingOffStatusResponse, error)
- func (s *ServiceImpl) SetTrackingPointStatus(ctx context.Context, trackedPoint *TrackPoint) (*SetTrackingPointStatusResponse, error)
- func (s *ServiceImpl) SetTrackingRectangleStatus(ctx context.Context, trackedRectangle *TrackRectangle) (*SetTrackingRectangleStatusResponse, error)
- func (a *ServiceImpl) TrackingOffCommand(ctx context.Context) (<-chan int32, error)
- func (a *ServiceImpl) TrackingPointCommand(ctx context.Context) (<-chan *TrackPoint, error)
- func (a *ServiceImpl) TrackingRectangleCommand(ctx context.Context) (<-chan *TrackRectangle, error)
- type SetTrackingOffStatusRequest
- type SetTrackingOffStatusResponse
- func (*SetTrackingOffStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetTrackingOffStatusResponse) ProtoMessage()
- func (x *SetTrackingOffStatusResponse) ProtoReflect() protoreflect.Message
- func (x *SetTrackingOffStatusResponse) Reset()
- func (x *SetTrackingOffStatusResponse) String() string
- type SetTrackingPointStatusRequest
- func (*SetTrackingPointStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetTrackingPointStatusRequest) GetTrackedPoint() *TrackPoint
- func (*SetTrackingPointStatusRequest) ProtoMessage()
- func (x *SetTrackingPointStatusRequest) ProtoReflect() protoreflect.Message
- func (x *SetTrackingPointStatusRequest) Reset()
- func (x *SetTrackingPointStatusRequest) String() string
- type SetTrackingPointStatusResponse
- func (*SetTrackingPointStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetTrackingPointStatusResponse) ProtoMessage()
- func (x *SetTrackingPointStatusResponse) ProtoReflect() protoreflect.Message
- func (x *SetTrackingPointStatusResponse) Reset()
- func (x *SetTrackingPointStatusResponse) String() string
- type SetTrackingRectangleStatusRequest
- func (*SetTrackingRectangleStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetTrackingRectangleStatusRequest) GetTrackedRectangle() *TrackRectangle
- func (*SetTrackingRectangleStatusRequest) ProtoMessage()
- func (x *SetTrackingRectangleStatusRequest) ProtoReflect() protoreflect.Message
- func (x *SetTrackingRectangleStatusRequest) Reset()
- func (x *SetTrackingRectangleStatusRequest) String() string
- type SetTrackingRectangleStatusResponse
- func (*SetTrackingRectangleStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetTrackingRectangleStatusResponse) ProtoMessage()
- func (x *SetTrackingRectangleStatusResponse) ProtoReflect() protoreflect.Message
- func (x *SetTrackingRectangleStatusResponse) Reset()
- func (x *SetTrackingRectangleStatusResponse) String() string
- type SubscribeTrackingOffCommandRequest
- func (*SubscribeTrackingOffCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeTrackingOffCommandRequest) ProtoMessage()
- func (x *SubscribeTrackingOffCommandRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeTrackingOffCommandRequest) Reset()
- func (x *SubscribeTrackingOffCommandRequest) String() string
- type SubscribeTrackingPointCommandRequest
- func (*SubscribeTrackingPointCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeTrackingPointCommandRequest) ProtoMessage()
- func (x *SubscribeTrackingPointCommandRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeTrackingPointCommandRequest) Reset()
- func (x *SubscribeTrackingPointCommandRequest) String() string
- type SubscribeTrackingRectangleCommandRequest
- func (*SubscribeTrackingRectangleCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeTrackingRectangleCommandRequest) ProtoMessage()
- func (x *SubscribeTrackingRectangleCommandRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeTrackingRectangleCommandRequest) Reset()
- func (x *SubscribeTrackingRectangleCommandRequest) String() string
- type TrackPoint
- func (*TrackPoint) Descriptor() ([]byte, []int)deprecated
- func (x *TrackPoint) GetPointX() float32
- func (x *TrackPoint) GetPointY() float32
- func (x *TrackPoint) GetRadius() float32
- func (*TrackPoint) ProtoMessage()
- func (x *TrackPoint) ProtoReflect() protoreflect.Message
- func (x *TrackPoint) Reset()
- func (x *TrackPoint) String() string
- type TrackRectangle
- func (*TrackRectangle) Descriptor() ([]byte, []int)deprecated
- func (x *TrackRectangle) GetBottomRightCornerX() float32
- func (x *TrackRectangle) GetBottomRightCornerY() float32
- func (x *TrackRectangle) GetTopLeftCornerX() float32
- func (x *TrackRectangle) GetTopLeftCornerY() float32
- func (*TrackRectangle) ProtoMessage()
- func (x *TrackRectangle) ProtoReflect() protoreflect.Message
- func (x *TrackRectangle) Reset()
- func (x *TrackRectangle) String() string
- type TrackingOffCommandResponse
- func (*TrackingOffCommandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TrackingOffCommandResponse) GetDummy() int32
- func (*TrackingOffCommandResponse) ProtoMessage()
- func (x *TrackingOffCommandResponse) ProtoReflect() protoreflect.Message
- func (x *TrackingOffCommandResponse) Reset()
- func (x *TrackingOffCommandResponse) String() string
- type TrackingPointCommandResponse
- func (*TrackingPointCommandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TrackingPointCommandResponse) GetTrackPoint() *TrackPoint
- func (*TrackingPointCommandResponse) ProtoMessage()
- func (x *TrackingPointCommandResponse) ProtoReflect() protoreflect.Message
- func (x *TrackingPointCommandResponse) Reset()
- func (x *TrackingPointCommandResponse) String() string
- type TrackingRectangleCommandResponse
- func (*TrackingRectangleCommandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TrackingRectangleCommandResponse) GetTrackRectangle() *TrackRectangle
- func (*TrackingRectangleCommandResponse) ProtoMessage()
- func (x *TrackingRectangleCommandResponse) ProtoReflect() protoreflect.Message
- func (x *TrackingRectangleCommandResponse) Reset()
- func (x *TrackingRectangleCommandResponse) String() string
- type TrackingServerResult
- func (*TrackingServerResult) Descriptor() ([]byte, []int)deprecated
- func (x *TrackingServerResult) GetResult() TrackingServerResult_Result
- func (x *TrackingServerResult) GetResultStr() string
- func (*TrackingServerResult) ProtoMessage()
- func (x *TrackingServerResult) ProtoReflect() protoreflect.Message
- func (x *TrackingServerResult) Reset()
- func (x *TrackingServerResult) String() string
- type TrackingServerResult_Result
- func (TrackingServerResult_Result) Descriptor() protoreflect.EnumDescriptor
- func (x TrackingServerResult_Result) Enum() *TrackingServerResult_Result
- func (TrackingServerResult_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x TrackingServerResult_Result) Number() protoreflect.EnumNumber
- func (x TrackingServerResult_Result) String() string
- func (TrackingServerResult_Result) Type() protoreflect.EnumType
- type TrackingServerServiceClient
- type TrackingServerServiceServer
- type TrackingServerService_SubscribeTrackingOffCommandClient
- type TrackingServerService_SubscribeTrackingOffCommandServer
- type TrackingServerService_SubscribeTrackingPointCommandClient
- type TrackingServerService_SubscribeTrackingPointCommandServer
- type TrackingServerService_SubscribeTrackingRectangleCommandClient
- type TrackingServerService_SubscribeTrackingRectangleCommandServer
- type UnimplementedTrackingServerServiceServer
- func (UnimplementedTrackingServerServiceServer) RespondTrackingOffCommand(context.Context, *RespondTrackingOffCommandRequest) (*RespondTrackingOffCommandResponse, error)
- func (UnimplementedTrackingServerServiceServer) RespondTrackingPointCommand(context.Context, *RespondTrackingPointCommandRequest) (*RespondTrackingPointCommandResponse, error)
- func (UnimplementedTrackingServerServiceServer) RespondTrackingRectangleCommand(context.Context, *RespondTrackingRectangleCommandRequest) (*RespondTrackingRectangleCommandResponse, error)
- func (UnimplementedTrackingServerServiceServer) SetTrackingOffStatus(context.Context, *SetTrackingOffStatusRequest) (*SetTrackingOffStatusResponse, error)
- func (UnimplementedTrackingServerServiceServer) SetTrackingPointStatus(context.Context, *SetTrackingPointStatusRequest) (*SetTrackingPointStatusResponse, error)
- func (UnimplementedTrackingServerServiceServer) SetTrackingRectangleStatus(context.Context, *SetTrackingRectangleStatusRequest) (*SetTrackingRectangleStatusResponse, error)
- func (UnimplementedTrackingServerServiceServer) SubscribeTrackingOffCommand(*SubscribeTrackingOffCommandRequest, ...) error
- func (UnimplementedTrackingServerServiceServer) SubscribeTrackingPointCommand(*SubscribeTrackingPointCommandRequest, ...) error
- func (UnimplementedTrackingServerServiceServer) SubscribeTrackingRectangleCommand(*SubscribeTrackingRectangleCommandRequest, ...) error
- type UnsafeTrackingServerServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( CommandAnswer_name = map[int32]string{ 0: "COMMAND_ANSWER_ACCEPTED", 1: "COMMAND_ANSWER_TEMPORARILY_REJECTED", 2: "COMMAND_ANSWER_DENIED", 3: "COMMAND_ANSWER_UNSUPPORTED", 4: "COMMAND_ANSWER_FAILED", } CommandAnswer_value = map[string]int32{ "COMMAND_ANSWER_ACCEPTED": 0, "COMMAND_ANSWER_TEMPORARILY_REJECTED": 1, "COMMAND_ANSWER_DENIED": 2, "COMMAND_ANSWER_UNSUPPORTED": 3, "COMMAND_ANSWER_FAILED": 4, } )
Enum value maps for CommandAnswer.
var ( TrackingServerResult_Result_name = map[int32]string{ 0: "RESULT_UNKNOWN", 1: "RESULT_SUCCESS", 2: "RESULT_NO_SYSTEM", 3: "RESULT_CONNECTION_ERROR", } TrackingServerResult_Result_value = map[string]int32{ "RESULT_UNKNOWN": 0, "RESULT_SUCCESS": 1, "RESULT_NO_SYSTEM": 2, "RESULT_CONNECTION_ERROR": 3, } )
Enum value maps for TrackingServerResult_Result.
var File_tracking_server_proto protoreflect.FileDescriptor
var TrackingServerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mavsdk.rpc.tracking_server.TrackingServerService", HandlerType: (*TrackingServerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetTrackingPointStatus", Handler: _TrackingServerService_SetTrackingPointStatus_Handler, }, { MethodName: "SetTrackingRectangleStatus", Handler: _TrackingServerService_SetTrackingRectangleStatus_Handler, }, { MethodName: "SetTrackingOffStatus", Handler: _TrackingServerService_SetTrackingOffStatus_Handler, }, { MethodName: "RespondTrackingPointCommand", Handler: _TrackingServerService_RespondTrackingPointCommand_Handler, }, { MethodName: "RespondTrackingRectangleCommand", Handler: _TrackingServerService_RespondTrackingRectangleCommand_Handler, }, { MethodName: "RespondTrackingOffCommand", Handler: _TrackingServerService_RespondTrackingOffCommand_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubscribeTrackingPointCommand", Handler: _TrackingServerService_SubscribeTrackingPointCommand_Handler, ServerStreams: true, }, { StreamName: "SubscribeTrackingRectangleCommand", Handler: _TrackingServerService_SubscribeTrackingRectangleCommand_Handler, ServerStreams: true, }, { StreamName: "SubscribeTrackingOffCommand", Handler: _TrackingServerService_SubscribeTrackingOffCommand_Handler, ServerStreams: true, }, }, Metadata: "tracking_server.proto", }
TrackingServerService_ServiceDesc is the grpc.ServiceDesc for TrackingServerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTrackingServerServiceServer ¶
func RegisterTrackingServerServiceServer(s grpc.ServiceRegistrar, srv TrackingServerServiceServer)
Types ¶
type CommandAnswer ¶
type CommandAnswer int32
Answer to respond to an incoming command
const ( CommandAnswer_COMMAND_ANSWER_ACCEPTED CommandAnswer = 0 // Command accepted CommandAnswer_COMMAND_ANSWER_TEMPORARILY_REJECTED CommandAnswer = 1 // Command temporarily rejected CommandAnswer_COMMAND_ANSWER_DENIED CommandAnswer = 2 // Command denied CommandAnswer_COMMAND_ANSWER_UNSUPPORTED CommandAnswer = 3 // Command unsupported CommandAnswer_COMMAND_ANSWER_FAILED CommandAnswer = 4 // Command failed )
func (CommandAnswer) Descriptor ¶
func (CommandAnswer) Descriptor() protoreflect.EnumDescriptor
func (CommandAnswer) Enum ¶
func (x CommandAnswer) Enum() *CommandAnswer
func (CommandAnswer) EnumDescriptor
deprecated
func (CommandAnswer) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommandAnswer.Descriptor instead.
func (CommandAnswer) Number ¶
func (x CommandAnswer) Number() protoreflect.EnumNumber
func (CommandAnswer) String ¶
func (x CommandAnswer) String() string
func (CommandAnswer) Type ¶
func (CommandAnswer) Type() protoreflect.EnumType
type RespondTrackingOffCommandRequest ¶
type RespondTrackingOffCommandRequest struct { CommandAnswer CommandAnswer `` // The ack to answer to the incoming command /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RespondTrackingOffCommandRequest) Descriptor
deprecated
func (*RespondTrackingOffCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use RespondTrackingOffCommandRequest.ProtoReflect.Descriptor instead.
func (*RespondTrackingOffCommandRequest) GetCommandAnswer ¶
func (x *RespondTrackingOffCommandRequest) GetCommandAnswer() CommandAnswer
func (*RespondTrackingOffCommandRequest) ProtoMessage ¶
func (*RespondTrackingOffCommandRequest) ProtoMessage()
func (*RespondTrackingOffCommandRequest) ProtoReflect ¶
func (x *RespondTrackingOffCommandRequest) ProtoReflect() protoreflect.Message
func (*RespondTrackingOffCommandRequest) Reset ¶
func (x *RespondTrackingOffCommandRequest) Reset()
func (*RespondTrackingOffCommandRequest) String ¶
func (x *RespondTrackingOffCommandRequest) String() string
type RespondTrackingOffCommandResponse ¶
type RespondTrackingOffCommandResponse struct { TrackingServerResult *TrackingServerResult `protobuf:"bytes,1,opt,name=tracking_server_result,json=trackingServerResult,proto3" json:"tracking_server_result,omitempty"` // The result of sending the response. // contains filtered or unexported fields }
func (*RespondTrackingOffCommandResponse) Descriptor
deprecated
func (*RespondTrackingOffCommandResponse) Descriptor() ([]byte, []int)
Deprecated: Use RespondTrackingOffCommandResponse.ProtoReflect.Descriptor instead.
func (*RespondTrackingOffCommandResponse) GetTrackingServerResult ¶
func (x *RespondTrackingOffCommandResponse) GetTrackingServerResult() *TrackingServerResult
func (*RespondTrackingOffCommandResponse) ProtoMessage ¶
func (*RespondTrackingOffCommandResponse) ProtoMessage()
func (*RespondTrackingOffCommandResponse) ProtoReflect ¶
func (x *RespondTrackingOffCommandResponse) ProtoReflect() protoreflect.Message
func (*RespondTrackingOffCommandResponse) Reset ¶
func (x *RespondTrackingOffCommandResponse) Reset()
func (*RespondTrackingOffCommandResponse) String ¶
func (x *RespondTrackingOffCommandResponse) String() string
type RespondTrackingPointCommandRequest ¶
type RespondTrackingPointCommandRequest struct { CommandAnswer CommandAnswer `` // The ack to answer to the incoming command /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RespondTrackingPointCommandRequest) Descriptor
deprecated
func (*RespondTrackingPointCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use RespondTrackingPointCommandRequest.ProtoReflect.Descriptor instead.
func (*RespondTrackingPointCommandRequest) GetCommandAnswer ¶
func (x *RespondTrackingPointCommandRequest) GetCommandAnswer() CommandAnswer
func (*RespondTrackingPointCommandRequest) ProtoMessage ¶
func (*RespondTrackingPointCommandRequest) ProtoMessage()
func (*RespondTrackingPointCommandRequest) ProtoReflect ¶
func (x *RespondTrackingPointCommandRequest) ProtoReflect() protoreflect.Message
func (*RespondTrackingPointCommandRequest) Reset ¶
func (x *RespondTrackingPointCommandRequest) Reset()
func (*RespondTrackingPointCommandRequest) String ¶
func (x *RespondTrackingPointCommandRequest) String() string
type RespondTrackingPointCommandResponse ¶
type RespondTrackingPointCommandResponse struct { TrackingServerResult *TrackingServerResult `protobuf:"bytes,1,opt,name=tracking_server_result,json=trackingServerResult,proto3" json:"tracking_server_result,omitempty"` // The result of sending the response. // contains filtered or unexported fields }
func (*RespondTrackingPointCommandResponse) Descriptor
deprecated
func (*RespondTrackingPointCommandResponse) Descriptor() ([]byte, []int)
Deprecated: Use RespondTrackingPointCommandResponse.ProtoReflect.Descriptor instead.
func (*RespondTrackingPointCommandResponse) GetTrackingServerResult ¶
func (x *RespondTrackingPointCommandResponse) GetTrackingServerResult() *TrackingServerResult
func (*RespondTrackingPointCommandResponse) ProtoMessage ¶
func (*RespondTrackingPointCommandResponse) ProtoMessage()
func (*RespondTrackingPointCommandResponse) ProtoReflect ¶
func (x *RespondTrackingPointCommandResponse) ProtoReflect() protoreflect.Message
func (*RespondTrackingPointCommandResponse) Reset ¶
func (x *RespondTrackingPointCommandResponse) Reset()
func (*RespondTrackingPointCommandResponse) String ¶
func (x *RespondTrackingPointCommandResponse) String() string
type RespondTrackingRectangleCommandRequest ¶
type RespondTrackingRectangleCommandRequest struct { CommandAnswer CommandAnswer `` // The ack to answer to the incoming command /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RespondTrackingRectangleCommandRequest) Descriptor
deprecated
func (*RespondTrackingRectangleCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use RespondTrackingRectangleCommandRequest.ProtoReflect.Descriptor instead.
func (*RespondTrackingRectangleCommandRequest) GetCommandAnswer ¶
func (x *RespondTrackingRectangleCommandRequest) GetCommandAnswer() CommandAnswer
func (*RespondTrackingRectangleCommandRequest) ProtoMessage ¶
func (*RespondTrackingRectangleCommandRequest) ProtoMessage()
func (*RespondTrackingRectangleCommandRequest) ProtoReflect ¶
func (x *RespondTrackingRectangleCommandRequest) ProtoReflect() protoreflect.Message
func (*RespondTrackingRectangleCommandRequest) Reset ¶
func (x *RespondTrackingRectangleCommandRequest) Reset()
func (*RespondTrackingRectangleCommandRequest) String ¶
func (x *RespondTrackingRectangleCommandRequest) String() string
type RespondTrackingRectangleCommandResponse ¶
type RespondTrackingRectangleCommandResponse struct { TrackingServerResult *TrackingServerResult `protobuf:"bytes,1,opt,name=tracking_server_result,json=trackingServerResult,proto3" json:"tracking_server_result,omitempty"` // The result of sending the response. // contains filtered or unexported fields }
func (*RespondTrackingRectangleCommandResponse) Descriptor
deprecated
func (*RespondTrackingRectangleCommandResponse) Descriptor() ([]byte, []int)
Deprecated: Use RespondTrackingRectangleCommandResponse.ProtoReflect.Descriptor instead.
func (*RespondTrackingRectangleCommandResponse) GetTrackingServerResult ¶
func (x *RespondTrackingRectangleCommandResponse) GetTrackingServerResult() *TrackingServerResult
func (*RespondTrackingRectangleCommandResponse) ProtoMessage ¶
func (*RespondTrackingRectangleCommandResponse) ProtoMessage()
func (*RespondTrackingRectangleCommandResponse) ProtoReflect ¶
func (x *RespondTrackingRectangleCommandResponse) ProtoReflect() protoreflect.Message
func (*RespondTrackingRectangleCommandResponse) Reset ¶
func (x *RespondTrackingRectangleCommandResponse) Reset()
func (*RespondTrackingRectangleCommandResponse) String ¶
func (x *RespondTrackingRectangleCommandResponse) String() string
type ServiceImpl ¶
type ServiceImpl struct {
Client TrackingServerServiceClient
}
func (*ServiceImpl) RespondTrackingOffCommand ¶
func (s *ServiceImpl) RespondTrackingOffCommand(ctx context.Context, commandAnswer *CommandAnswer) (*RespondTrackingOffCommandResponse, error)
func (*ServiceImpl) RespondTrackingPointCommand ¶
func (s *ServiceImpl) RespondTrackingPointCommand(ctx context.Context, commandAnswer *CommandAnswer) (*RespondTrackingPointCommandResponse, error)
func (*ServiceImpl) RespondTrackingRectangleCommand ¶
func (s *ServiceImpl) RespondTrackingRectangleCommand(ctx context.Context, commandAnswer *CommandAnswer) (*RespondTrackingRectangleCommandResponse, error)
func (*ServiceImpl) SetTrackingOffStatus ¶
func (s *ServiceImpl) SetTrackingOffStatus(ctx context.Context) (*SetTrackingOffStatusResponse, error)
func (*ServiceImpl) SetTrackingPointStatus ¶
func (s *ServiceImpl) SetTrackingPointStatus(ctx context.Context, trackedPoint *TrackPoint) (*SetTrackingPointStatusResponse, error)
func (*ServiceImpl) SetTrackingRectangleStatus ¶
func (s *ServiceImpl) SetTrackingRectangleStatus(ctx context.Context, trackedRectangle *TrackRectangle) (*SetTrackingRectangleStatusResponse, error)
func (*ServiceImpl) TrackingOffCommand ¶
func (a *ServiceImpl) TrackingOffCommand(ctx context.Context) (<-chan int32, error)
func (*ServiceImpl) TrackingPointCommand ¶
func (a *ServiceImpl) TrackingPointCommand(ctx context.Context) (<-chan *TrackPoint, error)
func (*ServiceImpl) TrackingRectangleCommand ¶
func (a *ServiceImpl) TrackingRectangleCommand(ctx context.Context) (<-chan *TrackRectangle, error)
type SetTrackingOffStatusRequest ¶
type SetTrackingOffStatusRequest struct {
// contains filtered or unexported fields
}
func (*SetTrackingOffStatusRequest) Descriptor
deprecated
func (*SetTrackingOffStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetTrackingOffStatusRequest.ProtoReflect.Descriptor instead.
func (*SetTrackingOffStatusRequest) ProtoMessage ¶
func (*SetTrackingOffStatusRequest) ProtoMessage()
func (*SetTrackingOffStatusRequest) ProtoReflect ¶
func (x *SetTrackingOffStatusRequest) ProtoReflect() protoreflect.Message
func (*SetTrackingOffStatusRequest) Reset ¶
func (x *SetTrackingOffStatusRequest) Reset()
func (*SetTrackingOffStatusRequest) String ¶
func (x *SetTrackingOffStatusRequest) String() string
type SetTrackingOffStatusResponse ¶
type SetTrackingOffStatusResponse struct {
// contains filtered or unexported fields
}
func (*SetTrackingOffStatusResponse) Descriptor
deprecated
func (*SetTrackingOffStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetTrackingOffStatusResponse.ProtoReflect.Descriptor instead.
func (*SetTrackingOffStatusResponse) ProtoMessage ¶
func (*SetTrackingOffStatusResponse) ProtoMessage()
func (*SetTrackingOffStatusResponse) ProtoReflect ¶
func (x *SetTrackingOffStatusResponse) ProtoReflect() protoreflect.Message
func (*SetTrackingOffStatusResponse) Reset ¶
func (x *SetTrackingOffStatusResponse) Reset()
func (*SetTrackingOffStatusResponse) String ¶
func (x *SetTrackingOffStatusResponse) String() string
type SetTrackingPointStatusRequest ¶
type SetTrackingPointStatusRequest struct { TrackedPoint *TrackPoint `protobuf:"bytes,1,opt,name=tracked_point,json=trackedPoint,proto3" json:"tracked_point,omitempty"` // The tracked point // contains filtered or unexported fields }
func (*SetTrackingPointStatusRequest) Descriptor
deprecated
func (*SetTrackingPointStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetTrackingPointStatusRequest.ProtoReflect.Descriptor instead.
func (*SetTrackingPointStatusRequest) GetTrackedPoint ¶
func (x *SetTrackingPointStatusRequest) GetTrackedPoint() *TrackPoint
func (*SetTrackingPointStatusRequest) ProtoMessage ¶
func (*SetTrackingPointStatusRequest) ProtoMessage()
func (*SetTrackingPointStatusRequest) ProtoReflect ¶
func (x *SetTrackingPointStatusRequest) ProtoReflect() protoreflect.Message
func (*SetTrackingPointStatusRequest) Reset ¶
func (x *SetTrackingPointStatusRequest) Reset()
func (*SetTrackingPointStatusRequest) String ¶
func (x *SetTrackingPointStatusRequest) String() string
type SetTrackingPointStatusResponse ¶
type SetTrackingPointStatusResponse struct {
// contains filtered or unexported fields
}
func (*SetTrackingPointStatusResponse) Descriptor
deprecated
func (*SetTrackingPointStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetTrackingPointStatusResponse.ProtoReflect.Descriptor instead.
func (*SetTrackingPointStatusResponse) ProtoMessage ¶
func (*SetTrackingPointStatusResponse) ProtoMessage()
func (*SetTrackingPointStatusResponse) ProtoReflect ¶
func (x *SetTrackingPointStatusResponse) ProtoReflect() protoreflect.Message
func (*SetTrackingPointStatusResponse) Reset ¶
func (x *SetTrackingPointStatusResponse) Reset()
func (*SetTrackingPointStatusResponse) String ¶
func (x *SetTrackingPointStatusResponse) String() string
type SetTrackingRectangleStatusRequest ¶
type SetTrackingRectangleStatusRequest struct { TrackedRectangle *TrackRectangle `protobuf:"bytes,1,opt,name=tracked_rectangle,json=trackedRectangle,proto3" json:"tracked_rectangle,omitempty"` // The tracked rectangle // contains filtered or unexported fields }
func (*SetTrackingRectangleStatusRequest) Descriptor
deprecated
func (*SetTrackingRectangleStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetTrackingRectangleStatusRequest.ProtoReflect.Descriptor instead.
func (*SetTrackingRectangleStatusRequest) GetTrackedRectangle ¶
func (x *SetTrackingRectangleStatusRequest) GetTrackedRectangle() *TrackRectangle
func (*SetTrackingRectangleStatusRequest) ProtoMessage ¶
func (*SetTrackingRectangleStatusRequest) ProtoMessage()
func (*SetTrackingRectangleStatusRequest) ProtoReflect ¶
func (x *SetTrackingRectangleStatusRequest) ProtoReflect() protoreflect.Message
func (*SetTrackingRectangleStatusRequest) Reset ¶
func (x *SetTrackingRectangleStatusRequest) Reset()
func (*SetTrackingRectangleStatusRequest) String ¶
func (x *SetTrackingRectangleStatusRequest) String() string
type SetTrackingRectangleStatusResponse ¶
type SetTrackingRectangleStatusResponse struct {
// contains filtered or unexported fields
}
func (*SetTrackingRectangleStatusResponse) Descriptor
deprecated
func (*SetTrackingRectangleStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetTrackingRectangleStatusResponse.ProtoReflect.Descriptor instead.
func (*SetTrackingRectangleStatusResponse) ProtoMessage ¶
func (*SetTrackingRectangleStatusResponse) ProtoMessage()
func (*SetTrackingRectangleStatusResponse) ProtoReflect ¶
func (x *SetTrackingRectangleStatusResponse) ProtoReflect() protoreflect.Message
func (*SetTrackingRectangleStatusResponse) Reset ¶
func (x *SetTrackingRectangleStatusResponse) Reset()
func (*SetTrackingRectangleStatusResponse) String ¶
func (x *SetTrackingRectangleStatusResponse) String() string
type SubscribeTrackingOffCommandRequest ¶
type SubscribeTrackingOffCommandRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeTrackingOffCommandRequest) Descriptor
deprecated
func (*SubscribeTrackingOffCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeTrackingOffCommandRequest.ProtoReflect.Descriptor instead.
func (*SubscribeTrackingOffCommandRequest) ProtoMessage ¶
func (*SubscribeTrackingOffCommandRequest) ProtoMessage()
func (*SubscribeTrackingOffCommandRequest) ProtoReflect ¶
func (x *SubscribeTrackingOffCommandRequest) ProtoReflect() protoreflect.Message
func (*SubscribeTrackingOffCommandRequest) Reset ¶
func (x *SubscribeTrackingOffCommandRequest) Reset()
func (*SubscribeTrackingOffCommandRequest) String ¶
func (x *SubscribeTrackingOffCommandRequest) String() string
type SubscribeTrackingPointCommandRequest ¶
type SubscribeTrackingPointCommandRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeTrackingPointCommandRequest) Descriptor
deprecated
func (*SubscribeTrackingPointCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeTrackingPointCommandRequest.ProtoReflect.Descriptor instead.
func (*SubscribeTrackingPointCommandRequest) ProtoMessage ¶
func (*SubscribeTrackingPointCommandRequest) ProtoMessage()
func (*SubscribeTrackingPointCommandRequest) ProtoReflect ¶
func (x *SubscribeTrackingPointCommandRequest) ProtoReflect() protoreflect.Message
func (*SubscribeTrackingPointCommandRequest) Reset ¶
func (x *SubscribeTrackingPointCommandRequest) Reset()
func (*SubscribeTrackingPointCommandRequest) String ¶
func (x *SubscribeTrackingPointCommandRequest) String() string
type SubscribeTrackingRectangleCommandRequest ¶
type SubscribeTrackingRectangleCommandRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeTrackingRectangleCommandRequest) Descriptor
deprecated
func (*SubscribeTrackingRectangleCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeTrackingRectangleCommandRequest.ProtoReflect.Descriptor instead.
func (*SubscribeTrackingRectangleCommandRequest) ProtoMessage ¶
func (*SubscribeTrackingRectangleCommandRequest) ProtoMessage()
func (*SubscribeTrackingRectangleCommandRequest) ProtoReflect ¶
func (x *SubscribeTrackingRectangleCommandRequest) ProtoReflect() protoreflect.Message
func (*SubscribeTrackingRectangleCommandRequest) Reset ¶
func (x *SubscribeTrackingRectangleCommandRequest) Reset()
func (*SubscribeTrackingRectangleCommandRequest) String ¶
func (x *SubscribeTrackingRectangleCommandRequest) String() string
type TrackPoint ¶
type TrackPoint struct { PointX float32 `protobuf:"fixed32,1,opt,name=point_x,json=pointX,proto3" json:"point_x,omitempty"` // Point to track x value (normalized 0..1, 0 is left, 1 is right). PointY float32 `protobuf:"fixed32,2,opt,name=point_y,json=pointY,proto3" json:"point_y,omitempty"` // Point to track y value (normalized 0..1, 0 is top, 1 is bottom). Radius float32 `protobuf:"fixed32,3,opt,name=radius,proto3" json:"radius,omitempty"` // Point to track y value (normalized 0..1, 0 is top, 1 is bottom). // contains filtered or unexported fields }
Point description type
func (*TrackPoint) Descriptor
deprecated
func (*TrackPoint) Descriptor() ([]byte, []int)
Deprecated: Use TrackPoint.ProtoReflect.Descriptor instead.
func (*TrackPoint) GetPointX ¶
func (x *TrackPoint) GetPointX() float32
func (*TrackPoint) GetPointY ¶
func (x *TrackPoint) GetPointY() float32
func (*TrackPoint) GetRadius ¶
func (x *TrackPoint) GetRadius() float32
func (*TrackPoint) ProtoMessage ¶
func (*TrackPoint) ProtoMessage()
func (*TrackPoint) ProtoReflect ¶
func (x *TrackPoint) ProtoReflect() protoreflect.Message
func (*TrackPoint) Reset ¶
func (x *TrackPoint) Reset()
func (*TrackPoint) String ¶
func (x *TrackPoint) String() string
type TrackRectangle ¶
type TrackRectangle struct { TopLeftCornerX float32 `protobuf:"fixed32,1,opt,name=top_left_corner_x,json=topLeftCornerX,proto3" json:"top_left_corner_x,omitempty"` // Top left corner of rectangle x value (normalized 0..1, 0 is left, 1 is right). TopLeftCornerY float32 `protobuf:"fixed32,2,opt,name=top_left_corner_y,json=topLeftCornerY,proto3" json:"top_left_corner_y,omitempty"` // Top left corner of rectangle y value (normalized 0..1, 0 is top, 1 is bottom). BottomRightCornerX float32 `protobuf:"fixed32,3,opt,name=bottom_right_corner_x,json=bottomRightCornerX,proto3" json:"bottom_right_corner_x,omitempty"` // Bottom right corner of rectangle x value (normalized 0..1, 0 is left, 1 is right). BottomRightCornerY float32 `protobuf:"fixed32,4,opt,name=bottom_right_corner_y,json=bottomRightCornerY,proto3" json:"bottom_right_corner_y,omitempty"` // Bottom right corner of rectangle y value (normalized 0..1, 0 is top, 1 is bottom). // contains filtered or unexported fields }
Rectangle description type
func (*TrackRectangle) Descriptor
deprecated
func (*TrackRectangle) Descriptor() ([]byte, []int)
Deprecated: Use TrackRectangle.ProtoReflect.Descriptor instead.
func (*TrackRectangle) GetBottomRightCornerX ¶
func (x *TrackRectangle) GetBottomRightCornerX() float32
func (*TrackRectangle) GetBottomRightCornerY ¶
func (x *TrackRectangle) GetBottomRightCornerY() float32
func (*TrackRectangle) GetTopLeftCornerX ¶
func (x *TrackRectangle) GetTopLeftCornerX() float32
func (*TrackRectangle) GetTopLeftCornerY ¶
func (x *TrackRectangle) GetTopLeftCornerY() float32
func (*TrackRectangle) ProtoMessage ¶
func (*TrackRectangle) ProtoMessage()
func (*TrackRectangle) ProtoReflect ¶
func (x *TrackRectangle) ProtoReflect() protoreflect.Message
func (*TrackRectangle) Reset ¶
func (x *TrackRectangle) Reset()
func (*TrackRectangle) String ¶
func (x *TrackRectangle) String() string
type TrackingOffCommandResponse ¶
type TrackingOffCommandResponse struct { Dummy int32 `protobuf:"varint,1,opt,name=dummy,proto3" json:"dummy,omitempty"` // Unused // contains filtered or unexported fields }
func (*TrackingOffCommandResponse) Descriptor
deprecated
func (*TrackingOffCommandResponse) Descriptor() ([]byte, []int)
Deprecated: Use TrackingOffCommandResponse.ProtoReflect.Descriptor instead.
func (*TrackingOffCommandResponse) GetDummy ¶
func (x *TrackingOffCommandResponse) GetDummy() int32
func (*TrackingOffCommandResponse) ProtoMessage ¶
func (*TrackingOffCommandResponse) ProtoMessage()
func (*TrackingOffCommandResponse) ProtoReflect ¶
func (x *TrackingOffCommandResponse) ProtoReflect() protoreflect.Message
func (*TrackingOffCommandResponse) Reset ¶
func (x *TrackingOffCommandResponse) Reset()
func (*TrackingOffCommandResponse) String ¶
func (x *TrackingOffCommandResponse) String() string
type TrackingPointCommandResponse ¶
type TrackingPointCommandResponse struct { TrackPoint *TrackPoint `protobuf:"bytes,1,opt,name=track_point,json=trackPoint,proto3" json:"track_point,omitempty"` // The point to track if a point is to be tracked // contains filtered or unexported fields }
func (*TrackingPointCommandResponse) Descriptor
deprecated
func (*TrackingPointCommandResponse) Descriptor() ([]byte, []int)
Deprecated: Use TrackingPointCommandResponse.ProtoReflect.Descriptor instead.
func (*TrackingPointCommandResponse) GetTrackPoint ¶
func (x *TrackingPointCommandResponse) GetTrackPoint() *TrackPoint
func (*TrackingPointCommandResponse) ProtoMessage ¶
func (*TrackingPointCommandResponse) ProtoMessage()
func (*TrackingPointCommandResponse) ProtoReflect ¶
func (x *TrackingPointCommandResponse) ProtoReflect() protoreflect.Message
func (*TrackingPointCommandResponse) Reset ¶
func (x *TrackingPointCommandResponse) Reset()
func (*TrackingPointCommandResponse) String ¶
func (x *TrackingPointCommandResponse) String() string
type TrackingRectangleCommandResponse ¶
type TrackingRectangleCommandResponse struct { TrackRectangle *TrackRectangle `protobuf:"bytes,1,opt,name=track_rectangle,json=trackRectangle,proto3" json:"track_rectangle,omitempty"` // The point to track if a point is to be tracked // contains filtered or unexported fields }
func (*TrackingRectangleCommandResponse) Descriptor
deprecated
func (*TrackingRectangleCommandResponse) Descriptor() ([]byte, []int)
Deprecated: Use TrackingRectangleCommandResponse.ProtoReflect.Descriptor instead.
func (*TrackingRectangleCommandResponse) GetTrackRectangle ¶
func (x *TrackingRectangleCommandResponse) GetTrackRectangle() *TrackRectangle
func (*TrackingRectangleCommandResponse) ProtoMessage ¶
func (*TrackingRectangleCommandResponse) ProtoMessage()
func (*TrackingRectangleCommandResponse) ProtoReflect ¶
func (x *TrackingRectangleCommandResponse) ProtoReflect() protoreflect.Message
func (*TrackingRectangleCommandResponse) Reset ¶
func (x *TrackingRectangleCommandResponse) Reset()
func (*TrackingRectangleCommandResponse) String ¶
func (x *TrackingRectangleCommandResponse) String() string
type TrackingServerResult ¶
type TrackingServerResult struct { Result TrackingServerResult_Result `` // Result enum value /* 126-byte string literal not displayed */ ResultStr string `protobuf:"bytes,2,opt,name=result_str,json=resultStr,proto3" json:"result_str,omitempty"` // Human-readable English string describing the result // contains filtered or unexported fields }
Result type
func (*TrackingServerResult) Descriptor
deprecated
func (*TrackingServerResult) Descriptor() ([]byte, []int)
Deprecated: Use TrackingServerResult.ProtoReflect.Descriptor instead.
func (*TrackingServerResult) GetResult ¶
func (x *TrackingServerResult) GetResult() TrackingServerResult_Result
func (*TrackingServerResult) GetResultStr ¶
func (x *TrackingServerResult) GetResultStr() string
func (*TrackingServerResult) ProtoMessage ¶
func (*TrackingServerResult) ProtoMessage()
func (*TrackingServerResult) ProtoReflect ¶
func (x *TrackingServerResult) ProtoReflect() protoreflect.Message
func (*TrackingServerResult) Reset ¶
func (x *TrackingServerResult) Reset()
func (*TrackingServerResult) String ¶
func (x *TrackingServerResult) String() string
type TrackingServerResult_Result ¶
type TrackingServerResult_Result int32
Possible results returned for tracking_server requests.
const ( TrackingServerResult_RESULT_UNKNOWN TrackingServerResult_Result = 0 // Unknown result TrackingServerResult_RESULT_SUCCESS TrackingServerResult_Result = 1 // Request succeeded TrackingServerResult_RESULT_NO_SYSTEM TrackingServerResult_Result = 2 // No system is connected TrackingServerResult_RESULT_CONNECTION_ERROR TrackingServerResult_Result = 3 // Connection error )
func (TrackingServerResult_Result) Descriptor ¶
func (TrackingServerResult_Result) Descriptor() protoreflect.EnumDescriptor
func (TrackingServerResult_Result) Enum ¶
func (x TrackingServerResult_Result) Enum() *TrackingServerResult_Result
func (TrackingServerResult_Result) EnumDescriptor
deprecated
func (TrackingServerResult_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use TrackingServerResult_Result.Descriptor instead.
func (TrackingServerResult_Result) Number ¶
func (x TrackingServerResult_Result) Number() protoreflect.EnumNumber
func (TrackingServerResult_Result) String ¶
func (x TrackingServerResult_Result) String() string
func (TrackingServerResult_Result) Type ¶
func (TrackingServerResult_Result) Type() protoreflect.EnumType
type TrackingServerServiceClient ¶
type TrackingServerServiceClient interface { // Set/update the current point tracking status. SetTrackingPointStatus(ctx context.Context, in *SetTrackingPointStatusRequest, opts ...grpc.CallOption) (*SetTrackingPointStatusResponse, error) // Set/update the current rectangle tracking status. SetTrackingRectangleStatus(ctx context.Context, in *SetTrackingRectangleStatusRequest, opts ...grpc.CallOption) (*SetTrackingRectangleStatusResponse, error) // Set the current tracking status to off. SetTrackingOffStatus(ctx context.Context, in *SetTrackingOffStatusRequest, opts ...grpc.CallOption) (*SetTrackingOffStatusResponse, error) // Subscribe to incoming tracking point command. SubscribeTrackingPointCommand(ctx context.Context, in *SubscribeTrackingPointCommandRequest, opts ...grpc.CallOption) (TrackingServerService_SubscribeTrackingPointCommandClient, error) // Subscribe to incoming tracking rectangle command. SubscribeTrackingRectangleCommand(ctx context.Context, in *SubscribeTrackingRectangleCommandRequest, opts ...grpc.CallOption) (TrackingServerService_SubscribeTrackingRectangleCommandClient, error) // Subscribe to incoming tracking off command. SubscribeTrackingOffCommand(ctx context.Context, in *SubscribeTrackingOffCommandRequest, opts ...grpc.CallOption) (TrackingServerService_SubscribeTrackingOffCommandClient, error) // Respond to an incoming tracking point command. RespondTrackingPointCommand(ctx context.Context, in *RespondTrackingPointCommandRequest, opts ...grpc.CallOption) (*RespondTrackingPointCommandResponse, error) // Respond to an incoming tracking rectangle command. RespondTrackingRectangleCommand(ctx context.Context, in *RespondTrackingRectangleCommandRequest, opts ...grpc.CallOption) (*RespondTrackingRectangleCommandResponse, error) // Respond to an incoming tracking off command. RespondTrackingOffCommand(ctx context.Context, in *RespondTrackingOffCommandRequest, opts ...grpc.CallOption) (*RespondTrackingOffCommandResponse, error) }
TrackingServerServiceClient is the client API for TrackingServerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTrackingServerServiceClient ¶
func NewTrackingServerServiceClient(cc grpc.ClientConnInterface) TrackingServerServiceClient
type TrackingServerServiceServer ¶
type TrackingServerServiceServer interface { // Set/update the current point tracking status. SetTrackingPointStatus(context.Context, *SetTrackingPointStatusRequest) (*SetTrackingPointStatusResponse, error) // Set/update the current rectangle tracking status. SetTrackingRectangleStatus(context.Context, *SetTrackingRectangleStatusRequest) (*SetTrackingRectangleStatusResponse, error) // Set the current tracking status to off. SetTrackingOffStatus(context.Context, *SetTrackingOffStatusRequest) (*SetTrackingOffStatusResponse, error) // Subscribe to incoming tracking point command. SubscribeTrackingPointCommand(*SubscribeTrackingPointCommandRequest, TrackingServerService_SubscribeTrackingPointCommandServer) error // Subscribe to incoming tracking rectangle command. SubscribeTrackingRectangleCommand(*SubscribeTrackingRectangleCommandRequest, TrackingServerService_SubscribeTrackingRectangleCommandServer) error // Subscribe to incoming tracking off command. SubscribeTrackingOffCommand(*SubscribeTrackingOffCommandRequest, TrackingServerService_SubscribeTrackingOffCommandServer) error // Respond to an incoming tracking point command. RespondTrackingPointCommand(context.Context, *RespondTrackingPointCommandRequest) (*RespondTrackingPointCommandResponse, error) // Respond to an incoming tracking rectangle command. RespondTrackingRectangleCommand(context.Context, *RespondTrackingRectangleCommandRequest) (*RespondTrackingRectangleCommandResponse, error) // Respond to an incoming tracking off command. RespondTrackingOffCommand(context.Context, *RespondTrackingOffCommandRequest) (*RespondTrackingOffCommandResponse, error) // contains filtered or unexported methods }
TrackingServerServiceServer is the server API for TrackingServerService service. All implementations must embed UnimplementedTrackingServerServiceServer for forward compatibility
type TrackingServerService_SubscribeTrackingOffCommandClient ¶
type TrackingServerService_SubscribeTrackingOffCommandClient interface { Recv() (*TrackingOffCommandResponse, error) grpc.ClientStream }
type TrackingServerService_SubscribeTrackingOffCommandServer ¶
type TrackingServerService_SubscribeTrackingOffCommandServer interface { Send(*TrackingOffCommandResponse) error grpc.ServerStream }
type TrackingServerService_SubscribeTrackingPointCommandClient ¶
type TrackingServerService_SubscribeTrackingPointCommandClient interface { Recv() (*TrackingPointCommandResponse, error) grpc.ClientStream }
type TrackingServerService_SubscribeTrackingPointCommandServer ¶
type TrackingServerService_SubscribeTrackingPointCommandServer interface { Send(*TrackingPointCommandResponse) error grpc.ServerStream }
type TrackingServerService_SubscribeTrackingRectangleCommandClient ¶
type TrackingServerService_SubscribeTrackingRectangleCommandClient interface { Recv() (*TrackingRectangleCommandResponse, error) grpc.ClientStream }
type TrackingServerService_SubscribeTrackingRectangleCommandServer ¶
type TrackingServerService_SubscribeTrackingRectangleCommandServer interface { Send(*TrackingRectangleCommandResponse) error grpc.ServerStream }
type UnimplementedTrackingServerServiceServer ¶
type UnimplementedTrackingServerServiceServer struct { }
UnimplementedTrackingServerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTrackingServerServiceServer) RespondTrackingOffCommand ¶
func (UnimplementedTrackingServerServiceServer) RespondTrackingOffCommand(context.Context, *RespondTrackingOffCommandRequest) (*RespondTrackingOffCommandResponse, error)
func (UnimplementedTrackingServerServiceServer) RespondTrackingPointCommand ¶
func (UnimplementedTrackingServerServiceServer) RespondTrackingPointCommand(context.Context, *RespondTrackingPointCommandRequest) (*RespondTrackingPointCommandResponse, error)
func (UnimplementedTrackingServerServiceServer) RespondTrackingRectangleCommand ¶
func (UnimplementedTrackingServerServiceServer) RespondTrackingRectangleCommand(context.Context, *RespondTrackingRectangleCommandRequest) (*RespondTrackingRectangleCommandResponse, error)
func (UnimplementedTrackingServerServiceServer) SetTrackingOffStatus ¶
func (UnimplementedTrackingServerServiceServer) SetTrackingOffStatus(context.Context, *SetTrackingOffStatusRequest) (*SetTrackingOffStatusResponse, error)
func (UnimplementedTrackingServerServiceServer) SetTrackingPointStatus ¶
func (UnimplementedTrackingServerServiceServer) SetTrackingPointStatus(context.Context, *SetTrackingPointStatusRequest) (*SetTrackingPointStatusResponse, error)
func (UnimplementedTrackingServerServiceServer) SetTrackingRectangleStatus ¶
func (UnimplementedTrackingServerServiceServer) SetTrackingRectangleStatus(context.Context, *SetTrackingRectangleStatusRequest) (*SetTrackingRectangleStatusResponse, error)
func (UnimplementedTrackingServerServiceServer) SubscribeTrackingOffCommand ¶
func (UnimplementedTrackingServerServiceServer) SubscribeTrackingOffCommand(*SubscribeTrackingOffCommandRequest, TrackingServerService_SubscribeTrackingOffCommandServer) error
func (UnimplementedTrackingServerServiceServer) SubscribeTrackingPointCommand ¶
func (UnimplementedTrackingServerServiceServer) SubscribeTrackingPointCommand(*SubscribeTrackingPointCommandRequest, TrackingServerService_SubscribeTrackingPointCommandServer) error
func (UnimplementedTrackingServerServiceServer) SubscribeTrackingRectangleCommand ¶
func (UnimplementedTrackingServerServiceServer) SubscribeTrackingRectangleCommand(*SubscribeTrackingRectangleCommandRequest, TrackingServerService_SubscribeTrackingRectangleCommandServer) error
type UnsafeTrackingServerServiceServer ¶
type UnsafeTrackingServerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTrackingServerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TrackingServerServiceServer will result in compilation errors.