ptz

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbsoluteMove

type AbsoluteMove struct {
	XMLName      string               `xml:"tptz:AbsoluteMove"`
	ProfileToken onvif.ReferenceToken `xml:"tptz:ProfileToken"`
	Position     Vector               `xml:"tptz:Position"`
	Speed        Speed                `xml:"tptz:Speed"`
}

type AbsoluteMoveFunction

type AbsoluteMoveFunction struct{}

func (*AbsoluteMoveFunction) Request

func (function *AbsoluteMoveFunction) Request() interface{}

func (*AbsoluteMoveFunction) Response

func (function *AbsoluteMoveFunction) Response() interface{}

type AbsoluteMoveResponse

type AbsoluteMoveResponse struct {
}

type Capabilities

type Capabilities struct {
	EFlip                       xsd.Boolean `xml:"EFlip,attr"`
	Reverse                     xsd.Boolean `xml:"Reverse,attr"`
	GetCompatibleConfigurations xsd.Boolean `xml:"GetCompatibleConfigurations,attr"`
	MoveStatus                  xsd.Boolean `xml:"MoveStatus,attr"`
	StatusPosition              xsd.Boolean `xml:"StatusPosition,attr"`
}

type ContinuousMove

type ContinuousMove struct {
	XMLName      string                `xml:"tptz:ContinuousMove"`
	ProfileToken *onvif.ReferenceToken `xml:"tptz:ProfileToken,omitempty"`
	Velocity     *onvif.PTZSpeed       `xml:"tptz:Velocity,omitempty"`
	Timeout      *xsd.Duration         `xml:"tptz:Timeout,omitempty"`
}

type ContinuousMoveFunction

type ContinuousMoveFunction struct{}

func (*ContinuousMoveFunction) Request

func (function *ContinuousMoveFunction) Request() interface{}

func (*ContinuousMoveFunction) Response

func (function *ContinuousMoveFunction) Response() interface{}

type ContinuousMoveResponse

type ContinuousMoveResponse struct {
}

type CreatePresetTour

type CreatePresetTour struct {
	XMLName      string               `xml:"tptz:CreatePresetTour"`
	ProfileToken onvif.ReferenceToken `xml:"tptz:ProfileToken"`
}

type CreatePresetTourResponse

type CreatePresetTourResponse struct {
	PresetTourToken onvif.ReferenceToken
}

type GeoMove

type GeoMove struct {
	XMLName      string               `xml:"tptz:GeoMove"`
	ProfileToken onvif.ReferenceToken `xml:"tptz:ProfileToken"`
	Target       onvif.GeoLocation    `xml:"tptz:Target"`
	Speed        onvif.PTZSpeed       `xml:"tptz:Speed"`
	AreaHeight   xsd.Float            `xml:"tptz:AreaHeight"`
	AreaWidth    xsd.Float            `xml:"tptz:AreaWidth"`
}

type GeoMoveResponse

type GeoMoveResponse struct {
}

type GetCompatibleConfigurations

type GetCompatibleConfigurations struct {
	XMLName      string               `xml:"tptz:GetCompatibleConfigurations"`
	ProfileToken onvif.ReferenceToken `xml:"tptz:ProfileToken"`
}

type GetCompatibleConfigurationsResponse

type GetCompatibleConfigurationsResponse struct {
	PTZConfiguration onvif.PTZConfiguration
}

type GetConfiguration

type GetConfiguration struct {
	XMLName               string               `xml:"tptz:GetConfiguration"`
	PTZConfigurationToken onvif.ReferenceToken `xml:"tptz:PTZConfigurationToken"`
}

type GetConfigurationFunction

type GetConfigurationFunction struct{}

func (*GetConfigurationFunction) Request

func (function *GetConfigurationFunction) Request() interface{}

func (*GetConfigurationFunction) Response

func (function *GetConfigurationFunction) Response() interface{}

type GetConfigurationOptions

type GetConfigurationOptions struct {
	XMLName            string               `xml:"tptz:GetConfigurationOptions"`
	ConfigurationToken onvif.ReferenceToken `xml:"tptz:ConfigurationToken"`
}

type GetConfigurationOptionsFunction

type GetConfigurationOptionsFunction struct{}

func (*GetConfigurationOptionsFunction) Request

func (function *GetConfigurationOptionsFunction) Request() interface{}

func (*GetConfigurationOptionsFunction) Response

func (function *GetConfigurationOptionsFunction) Response() interface{}

type GetConfigurationOptionsResponse

type GetConfigurationOptionsResponse struct {
	PTZConfigurationOptions onvif.PTZConfigurationOptions
}

type GetConfigurationResponse

type GetConfigurationResponse struct {
	PTZConfiguration onvif.PTZConfiguration
}

type GetConfigurations

type GetConfigurations struct {
	XMLName string `xml:"tptz:GetConfigurations"`
}

type GetConfigurationsFunction

type GetConfigurationsFunction struct{}

func (*GetConfigurationsFunction) Request

func (function *GetConfigurationsFunction) Request() interface{}

func (*GetConfigurationsFunction) Response

func (function *GetConfigurationsFunction) Response() interface{}

type GetConfigurationsResponse

type GetConfigurationsResponse struct {
	PTZConfiguration []onvif.PTZConfiguration
}

type GetNode

type GetNode struct {
	XMLName   string               `xml:"tptz:GetNode"`
	NodeToken onvif.ReferenceToken `xml:"tptz:NodeToken"`
}

type GetNodeFunction

type GetNodeFunction struct{}

func (*GetNodeFunction) Request

func (function *GetNodeFunction) Request() interface{}

func (*GetNodeFunction) Response

func (function *GetNodeFunction) Response() interface{}

type GetNodeResponse

type GetNodeResponse struct {
	PTZNode onvif.PTZNode
}

type GetNodes

type GetNodes struct {
	XMLName string `xml:"tptz:GetNodes"`
}

type GetNodesFunction

type GetNodesFunction struct{}

func (*GetNodesFunction) Request

func (function *GetNodesFunction) Request() interface{}

func (*GetNodesFunction) Response

func (function *GetNodesFunction) Response() interface{}

type GetNodesResponse

type GetNodesResponse struct {
	PTZNode []onvif.PTZNode
}

type GetPresetTour

type GetPresetTour struct {
	XMLName         string               `xml:"tptz:GetPresetTour"`
	ProfileToken    onvif.ReferenceToken `xml:"tptz:ProfileToken"`
	PresetTourToken onvif.ReferenceToken `xml:"tptz:PresetTourToken"`
}

type GetPresetTourOptions

type GetPresetTourOptions struct {
	XMLName         string               `xml:"tptz:GetPresetTourOptions"`
	ProfileToken    onvif.ReferenceToken `xml:"tptz:ProfileToken"`
	PresetTourToken onvif.ReferenceToken `xml:"tptz:PresetTourToken"`
}

type GetPresetTourOptionsResponse

type GetPresetTourOptionsResponse struct {
	Options onvif.PTZPresetTourOptions
}

type GetPresetTourResponse

type GetPresetTourResponse struct {
	PresetTour onvif.PresetTour
}

type GetPresetTours

type GetPresetTours struct {
	XMLName      string               `xml:"tptz:GetPresetTours"`
	ProfileToken onvif.ReferenceToken `xml:"tptz:ProfileToken"`
}

type GetPresetToursResponse

type GetPresetToursResponse struct {
	PresetTour onvif.PresetTour
}

type GetPresets

type GetPresets struct {
	XMLName      string               `xml:"tptz:GetPresets"`
	ProfileToken onvif.ReferenceToken `xml:"tptz:ProfileToken"`
}

type GetPresetsFunction

type GetPresetsFunction struct{}

func (*GetPresetsFunction) Request

func (function *GetPresetsFunction) Request() interface{}

func (*GetPresetsFunction) Response

func (function *GetPresetsFunction) Response() interface{}

type GetPresetsResponse

type GetPresetsResponse struct {
	Preset []onvif.PTZPreset
}

type GetServiceCapabilities

type GetServiceCapabilities struct {
	XMLName string `xml:"tptz:GetServiceCapabilities"`
}

type GetServiceCapabilitiesResponse

type GetServiceCapabilitiesResponse struct {
	Capabilities Capabilities
}

type GetStatus

type GetStatus struct {
	XMLName      string               `xml:"tptz:GetStatus"`
	ProfileToken onvif.ReferenceToken `xml:"tptz:ProfileToken"`
}

type GetStatusFunction

type GetStatusFunction struct{}

func (*GetStatusFunction) Request

func (function *GetStatusFunction) Request() interface{}

func (*GetStatusFunction) Response

func (function *GetStatusFunction) Response() interface{}

type GetStatusResponse

type GetStatusResponse struct {
	PTZStatus onvif.PTZStatus
}

type GotoHomePosition

type GotoHomePosition struct {
	XMLName      string                `xml:"tptz:GotoHomePosition"`
	ProfileToken *onvif.ReferenceToken `xml:"tptz:ProfileToken,omitempty"`
	Speed        *onvif.PTZSpeed       `xml:"tptz:Speed,omitempty"`
}

type GotoHomePositionFunction

type GotoHomePositionFunction struct{}

func (*GotoHomePositionFunction) Request

func (function *GotoHomePositionFunction) Request() interface{}

func (*GotoHomePositionFunction) Response

func (function *GotoHomePositionFunction) Response() interface{}

type GotoHomePositionResponse

type GotoHomePositionResponse struct {
}

type GotoPreset

type GotoPreset struct {
	XMLName      string                `xml:"tptz:GotoPreset,omitempty"`
	ProfileToken *onvif.ReferenceToken `xml:"tptz:ProfileToken,omitempty"`
	PresetToken  *onvif.ReferenceToken `xml:"tptz:PresetToken,omitempty"`
	Speed        *onvif.PTZSpeed       `xml:"tptz:Speed,omitempty"`
}

type GotoPresetFunction

type GotoPresetFunction struct{}

func (*GotoPresetFunction) Request

func (function *GotoPresetFunction) Request() interface{}

func (*GotoPresetFunction) Response

func (function *GotoPresetFunction) Response() interface{}

type GotoPresetResponse

type GotoPresetResponse struct {
}

type ModifyPresetTour

type ModifyPresetTour struct {
	XMLName      string               `xml:"tptz:ModifyPresetTour"`
	ProfileToken onvif.ReferenceToken `xml:"tptz:ProfileToken"`
	PresetTour   onvif.PresetTour     `xml:"tptz:PresetTour"`
}

type ModifyPresetTourResponse

type ModifyPresetTourResponse struct {
}

type OperatePresetTour

type OperatePresetTour struct {
	XMLName         string                       `xml:"tptz:OperatePresetTour"`
	ProfileToken    onvif.ReferenceToken         `xml:"tptz:ProfileToken"`
	PresetTourToken onvif.ReferenceToken         `xml:"onvif:PresetTourToken"`
	Operation       onvif.PTZPresetTourOperation `xml:"onvif:Operation"`
}

type OperatePresetTourResponse

type OperatePresetTourResponse struct {
}

type RelativeMove

type RelativeMove struct {
	XMLName      string               `xml:"tptz:RelativeMove"`
	ProfileToken onvif.ReferenceToken `xml:"tptz:ProfileToken"`
	Translation  Vector               `json:",omitempty" xml:"tptz:Translation,omitempty"`
	Speed        Speed                `json:",omitempty" xml:"tptz:Speed,omitempty"`
}

type RelativeMoveFunction

type RelativeMoveFunction struct{}

func (*RelativeMoveFunction) Request

func (function *RelativeMoveFunction) Request() interface{}

func (*RelativeMoveFunction) Response

func (function *RelativeMoveFunction) Response() interface{}

type RelativeMoveResponse

type RelativeMoveResponse struct {
}

type RemovePreset

type RemovePreset struct {
	XMLName      string               `xml:"tptz:RemovePreset"`
	ProfileToken onvif.ReferenceToken `xml:"tptz:ProfileToken"`
	PresetToken  onvif.ReferenceToken `xml:"tptz:PresetToken"`
}

type RemovePresetFunction

type RemovePresetFunction struct{}

func (*RemovePresetFunction) Request

func (function *RemovePresetFunction) Request() interface{}

func (*RemovePresetFunction) Response

func (function *RemovePresetFunction) Response() interface{}

type RemovePresetResponse

type RemovePresetResponse struct {
}

type RemovePresetTour

type RemovePresetTour struct {
	XMLName         string               `xml:"tptz:RemovePresetTour"`
	ProfileToken    onvif.ReferenceToken `xml:"tptz:ProfileToken"`
	PresetTourToken onvif.ReferenceToken `xml:"tptz:PresetTourToken"`
}

type RemovePresetTourResponse

type RemovePresetTourResponse struct {
}

type SendAuxiliaryCommand

type SendAuxiliaryCommand struct {
	XMLName       string               `xml:"tptz:SendAuxiliaryCommand"`
	ProfileToken  onvif.ReferenceToken `xml:"tptz:ProfileToken"`
	AuxiliaryData onvif.AuxiliaryData  `xml:"tptz:AuxiliaryData"`
}

type SendAuxiliaryCommandFunction

type SendAuxiliaryCommandFunction struct{}

func (*SendAuxiliaryCommandFunction) Request

func (function *SendAuxiliaryCommandFunction) Request() interface{}

func (*SendAuxiliaryCommandFunction) Response

func (function *SendAuxiliaryCommandFunction) Response() interface{}

type SendAuxiliaryCommandResponse

type SendAuxiliaryCommandResponse struct {
	AuxiliaryResponse onvif.AuxiliaryData
}

type SetConfiguration

type SetConfiguration struct {
	XMLName          string                 `xml:"tptz:SetConfiguration"`
	PTZConfiguration onvif.PTZConfiguration `xml:"tptz:PTZConfiguration"`
	ForcePersistence xsd.Boolean            `xml:"tptz:ForcePersistence"`
}

type SetConfigurationFunction

type SetConfigurationFunction struct{}

func (*SetConfigurationFunction) Request

func (function *SetConfigurationFunction) Request() interface{}

func (*SetConfigurationFunction) Response

func (function *SetConfigurationFunction) Response() interface{}

type SetConfigurationResponse

type SetConfigurationResponse struct {
}

type SetHomePosition

type SetHomePosition struct {
	XMLName      string               `xml:"tptz:SetHomePosition"`
	ProfileToken onvif.ReferenceToken `xml:"tptz:ProfileToken"`
}

type SetHomePositionFunction

type SetHomePositionFunction struct{}

func (*SetHomePositionFunction) Request

func (function *SetHomePositionFunction) Request() interface{}

func (*SetHomePositionFunction) Response

func (function *SetHomePositionFunction) Response() interface{}

type SetHomePositionResponse

type SetHomePositionResponse struct {
}

type SetPreset

type SetPreset struct {
	XMLName      string                `xml:"tptz:SetPreset"`
	ProfileToken *onvif.ReferenceToken `xml:"tptz:ProfileToken,omitempty"`
	PresetName   *xsd.String           `xml:"tptz:PresetName,omitempty"`
	PresetToken  *onvif.ReferenceToken `xml:"tptz:PresetToken,omitempty"`
}

type SetPresetFunction

type SetPresetFunction struct{}

func (*SetPresetFunction) Request

func (function *SetPresetFunction) Request() interface{}

func (*SetPresetFunction) Response

func (function *SetPresetFunction) Response() interface{}

type SetPresetResponse

type SetPresetResponse struct {
	PresetToken onvif.ReferenceToken
}

type Speed

type Speed struct {
	PanTilt *onvif.Vector2D `json:",omitempty" xml:"onvif:PanTilt,omitempty"`
	Zoom    *onvif.Vector1D `json:",omitempty" xml:"onvif:Zoom,omitempty"`
}

type Stop

type Stop struct {
	XMLName      string               `xml:"tptz:Stop"`
	ProfileToken onvif.ReferenceToken `xml:"tptz:ProfileToken"`
	PanTilt      xsd.Boolean          `xml:"tptz:PanTilt"`
	Zoom         xsd.Boolean          `xml:"tptz:Zoom"`
}

type StopFunction

type StopFunction struct{}

func (*StopFunction) Request

func (function *StopFunction) Request() interface{}

func (*StopFunction) Response

func (function *StopFunction) Response() interface{}

type StopResponse

type StopResponse struct {
}

type Vector

type Vector struct {
	PanTilt *onvif.Vector2D `json:",omitempty" xml:"onvif:PanTilt,omitempty"`
	Zoom    *onvif.Vector1D `json:",omitempty" xml:"onvif:Zoom,omitempty"`
}

Jump to

Keyboard shortcuts

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