ptz

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 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     onvif.PTZVector      `xml:"tptz:Position"`
	Speed        onvif.PTZSpeed       `xml:"tptz:Speed"`
}

type AbsoluteMoveFunction added in v0.0.13

type AbsoluteMoveFunction struct{}

func (*AbsoluteMoveFunction) Request added in v0.0.13

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

func (*AbsoluteMoveFunction) Response added in v0.0.13

func (_ *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 added in v0.0.13

type ContinuousMoveFunction struct{}

func (*ContinuousMoveFunction) Request added in v0.0.13

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

func (*ContinuousMoveFunction) Response added in v0.0.13

func (_ *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 CreatePresetTourFunction added in v0.0.13

type CreatePresetTourFunction struct{}

func (*CreatePresetTourFunction) Request added in v0.0.13

func (_ *CreatePresetTourFunction) Request() interface{}

func (*CreatePresetTourFunction) Response added in v0.0.13

func (_ *CreatePresetTourFunction) Response() interface{}

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 GeoMoveFunction added in v0.0.13

type GeoMoveFunction struct{}

func (*GeoMoveFunction) Request added in v0.0.13

func (_ *GeoMoveFunction) Request() interface{}

func (*GeoMoveFunction) Response added in v0.0.13

func (_ *GeoMoveFunction) Response() interface{}

type GeoMoveResponse

type GeoMoveResponse struct {
}

type GetCompatibleConfigurations

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

type GetCompatibleConfigurationsFunction added in v0.0.13

type GetCompatibleConfigurationsFunction struct{}

func (*GetCompatibleConfigurationsFunction) Request added in v0.0.13

func (_ *GetCompatibleConfigurationsFunction) Request() interface{}

func (*GetCompatibleConfigurationsFunction) Response added in v0.0.13

func (_ *GetCompatibleConfigurationsFunction) Response() interface{}

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 added in v0.0.13

type GetConfigurationFunction struct{}

func (*GetConfigurationFunction) Request added in v0.0.13

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

func (*GetConfigurationFunction) Response added in v0.0.13

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

type GetConfigurationOptions

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

type GetConfigurationOptionsFunction added in v0.0.13

type GetConfigurationOptionsFunction struct{}

func (*GetConfigurationOptionsFunction) Request added in v0.0.13

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

func (*GetConfigurationOptionsFunction) Response added in v0.0.13

func (_ *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 added in v0.0.13

type GetConfigurationsFunction struct{}

func (*GetConfigurationsFunction) Request added in v0.0.13

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

func (*GetConfigurationsFunction) Response added in v0.0.13

func (_ *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 added in v0.0.13

type GetNodeFunction struct{}

func (*GetNodeFunction) Request added in v0.0.13

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

func (*GetNodeFunction) Response added in v0.0.13

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

type GetNodeResponse

type GetNodeResponse struct {
	PTZNode onvif.PTZNode
}

type GetNodes

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

type GetNodesFunction added in v0.0.13

type GetNodesFunction struct{}

func (*GetNodesFunction) Request added in v0.0.13

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

func (*GetNodesFunction) Response added in v0.0.13

func (_ *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 GetPresetTourFunction added in v0.0.13

type GetPresetTourFunction struct{}

func (*GetPresetTourFunction) Request added in v0.0.13

func (_ *GetPresetTourFunction) Request() interface{}

func (*GetPresetTourFunction) Response added in v0.0.13

func (_ *GetPresetTourFunction) Response() interface{}

type GetPresetTourOptions

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

type GetPresetTourOptionsFunction added in v0.0.13

type GetPresetTourOptionsFunction struct{}

func (*GetPresetTourOptionsFunction) Request added in v0.0.13

func (_ *GetPresetTourOptionsFunction) Request() interface{}

func (*GetPresetTourOptionsFunction) Response added in v0.0.13

func (_ *GetPresetTourOptionsFunction) Response() interface{}

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 GetPresetToursFunction added in v0.0.13

type GetPresetToursFunction struct{}

func (*GetPresetToursFunction) Request added in v0.0.13

func (_ *GetPresetToursFunction) Request() interface{}

func (*GetPresetToursFunction) Response added in v0.0.13

func (_ *GetPresetToursFunction) Response() interface{}

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 added in v0.0.13

type GetPresetsFunction struct{}

func (*GetPresetsFunction) Request added in v0.0.13

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

func (*GetPresetsFunction) Response added in v0.0.13

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

type GetPresetsResponse

type GetPresetsResponse struct {
	Preset []onvif.PTZPreset
}

type GetServiceCapabilities

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

type GetServiceCapabilitiesFunction added in v0.0.13

type GetServiceCapabilitiesFunction struct{}

func (*GetServiceCapabilitiesFunction) Request added in v0.0.13

func (_ *GetServiceCapabilitiesFunction) Request() interface{}

func (*GetServiceCapabilitiesFunction) Response added in v0.0.13

func (_ *GetServiceCapabilitiesFunction) Response() interface{}

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 added in v0.0.13

type GetStatusFunction struct{}

func (*GetStatusFunction) Request added in v0.0.13

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

func (*GetStatusFunction) Response added in v0.0.13

func (_ *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 added in v0.0.13

type GotoHomePositionFunction struct{}

func (*GotoHomePositionFunction) Request added in v0.0.13

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

func (*GotoHomePositionFunction) Response added in v0.0.13

func (_ *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 added in v0.0.13

type GotoPresetFunction struct{}

func (*GotoPresetFunction) Request added in v0.0.13

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

func (*GotoPresetFunction) Response added in v0.0.13

func (_ *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 ModifyPresetTourFunction added in v0.0.13

type ModifyPresetTourFunction struct{}

func (*ModifyPresetTourFunction) Request added in v0.0.13

func (_ *ModifyPresetTourFunction) Request() interface{}

func (*ModifyPresetTourFunction) Response added in v0.0.13

func (_ *ModifyPresetTourFunction) Response() interface{}

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 OperatePresetTourFunction added in v0.0.13

type OperatePresetTourFunction struct{}

func (*OperatePresetTourFunction) Request added in v0.0.13

func (_ *OperatePresetTourFunction) Request() interface{}

func (*OperatePresetTourFunction) Response added in v0.0.13

func (_ *OperatePresetTourFunction) Response() interface{}

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 added in v0.0.13

type RelativeMoveFunction struct{}

func (*RelativeMoveFunction) Request added in v0.0.13

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

func (*RelativeMoveFunction) Response added in v0.0.13

func (_ *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 added in v0.0.13

type RemovePresetFunction struct{}

func (*RemovePresetFunction) Request added in v0.0.13

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

func (*RemovePresetFunction) Response added in v0.0.13

func (_ *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 RemovePresetTourFunction added in v0.0.13

type RemovePresetTourFunction struct{}

func (*RemovePresetTourFunction) Request added in v0.0.13

func (_ *RemovePresetTourFunction) Request() interface{}

func (*RemovePresetTourFunction) Response added in v0.0.13

func (_ *RemovePresetTourFunction) Response() interface{}

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 added in v0.0.13

type SendAuxiliaryCommandFunction struct{}

func (*SendAuxiliaryCommandFunction) Request added in v0.0.13

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

func (*SendAuxiliaryCommandFunction) Response added in v0.0.13

func (_ *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 added in v0.0.13

type SetConfigurationFunction struct{}

func (*SetConfigurationFunction) Request added in v0.0.13

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

func (*SetConfigurationFunction) Response added in v0.0.13

func (_ *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 added in v0.0.13

type SetHomePositionFunction struct{}

func (*SetHomePositionFunction) Request added in v0.0.13

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

func (*SetHomePositionFunction) Response added in v0.0.13

func (_ *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 added in v0.0.13

type SetPresetFunction struct{}

func (*SetPresetFunction) Request added in v0.0.13

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

func (*SetPresetFunction) Response added in v0.0.13

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

type SetPresetResponse

type SetPresetResponse struct {
	PresetToken onvif.ReferenceToken
}

type Speed added in v0.0.13

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 added in v0.0.13

type StopFunction struct{}

func (*StopFunction) Request added in v0.0.13

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

func (*StopFunction) Response added in v0.0.13

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

type StopResponse

type StopResponse struct {
}

type Vector added in v0.0.13

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