ONVIF:...ration(3pm)
β¨ NAME β¨
okay so bestie, welcome to ONVIF::PTZ::Elements::PTZConfiguration β a Perl data type class, living its best life in section 3pm of the User Contributed Perl Documentation. it's giving "I hold one specific XML element and I hold it correctly" π
πΈ DESCRIPTION πΈ
so basically? this is a Perl data type class for the XML Schema defined element PTZConfiguration β and that element comes from the namespace http://www.onvif.org/ver10/schema. that's it. that's the whole vibe. it's the Perl-side glow-up of one XML schema element, no cap π¦
π METHODS π
π new
my $element = ONVIF::PTZ::Elements::PTZConfiguration->new($data);
bestie this is the constructor. you feed it $data, it hands you back your element. iconic behaviour, honestly π«Ά
and here's the data structure you're allowed to pass to new() β every key, every nested type, every comment, all of it, not one crumb skipped:
{ # ONVIF::PTZ::Types::PTZConfiguration
NodeToken => $some_value, # ReferenceToken
DefaultAbsolutePantTiltPositionSpace => $some_value, # anyURI
DefaultAbsoluteZoomPositionSpace => $some_value, # anyURI
DefaultRelativePanTiltTranslationSpace => $some_value, # anyURI
DefaultRelativeZoomTranslationSpace => $some_value, # anyURI
DefaultContinuousPanTiltVelocitySpace => $some_value, # anyURI
DefaultContinuousZoomVelocitySpace => $some_value, # anyURI
DefaultPTZSpeed => { # ONVIF::PTZ::Types::PTZSpeed
PanTilt => ,
Zoom => ,
},
DefaultPTZTimeout => $some_value, # duration
PanTiltLimits => { # ONVIF::PTZ::Types::PanTiltLimits
Range => { # ONVIF::PTZ::Types::Space2DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::PTZ::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
YRange => { # ONVIF::PTZ::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
},
ZoomLimits => { # ONVIF::PTZ::Types::ZoomLimits
Range => { # ONVIF::PTZ::Types::Space1DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::PTZ::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
},
Extension => { # ONVIF::PTZ::Types::PTZConfigurationExtension
PTControlDirection => { # ONVIF::PTZ::Types::PTControlDirection
EFlip => { # ONVIF::PTZ::Types::EFlip
Mode => $some_value, # EFlipMode
},
Reverse => { # ONVIF::PTZ::Types::Reverse
Mode => $some_value, # ReverseMode
},
Extension => { # ONVIF::PTZ::Types::PTControlDirectionExtension
},
},
Extension => { # ONVIF::PTZ::Types::PTZConfigurationExtension2
},
},
},
quick tour so you're not out here guessing π§
NodeTokenβ aReferenceToken. that's the type, that's the tea.DefaultAbsolutePantTiltPositionSpaceβ ananyURI.DefaultAbsoluteZoomPositionSpaceβ ananyURI.DefaultRelativePanTiltTranslationSpaceβ ananyURI.DefaultRelativeZoomTranslationSpaceβ ananyURI.DefaultContinuousPanTiltVelocitySpaceβ ananyURI.DefaultContinuousZoomVelocitySpaceβ ananyURI.DefaultPTZSpeedβ nestedONVIF::PTZ::Types::PTZSpeed, and inside it there'sPanTiltandZoom, both sitting there empty, waiting for you.DefaultPTZTimeoutβ aduration.PanTiltLimitsβ nestedONVIF::PTZ::Types::PanTiltLimits, holding aRangewhich is aONVIF::PTZ::Types::Space2DDescription, which holdsURI(anyURI) plusXRangeandYRange, each aONVIF::PTZ::Types::FloatRangewith aMinand aMax(float, both).ZoomLimitsβ nestedONVIF::PTZ::Types::ZoomLimits, holding aRangewhich is aONVIF::PTZ::Types::Space1DDescription, which holdsURI(anyURI) and anXRange, aONVIF::PTZ::Types::FloatRangewithMinandMax(float, again).Extensionβ nestedONVIF::PTZ::Types::PTZConfigurationExtension, holdingPTControlDirection(aONVIF::PTZ::Types::PTControlDirection), which holdsEFlip(aONVIF::PTZ::Types::EFlipwith aMode, anEFlipMode),Reverse(aONVIF::PTZ::Types::Reversewith aMode, aReverseMode), and anExtension(aONVIF::PTZ::Types::PTControlDirectionExtension, just vibing, empty). plus a siblingExtensionup top, aONVIF::PTZ::Types::PTZConfigurationExtension2, also empty, also vibing.
the nesting is deep deep, but you got this πͺ
π AUTHOR π
Generated by SOAP::WSDL β yeah bestie, nobody hand-wrote this, it's autogenerated and honestly? it ate. β¨
okay that's the whole page, no notes. this was ONVIF:...ration(3pm) from the User Contributed Perl Documentation, footer says perl v5.40.1 and it's dated 2026-02-01. go forth and configure your PTZ, main character ππ
π¦ where this page comes from
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms