ONVIF:...ration(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

✨ 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 β€” a ReferenceToken. that's the type, that's the tea.
  • DefaultAbsolutePantTiltPositionSpace β€” an anyURI.
  • DefaultAbsoluteZoomPositionSpace β€” an anyURI.
  • DefaultRelativePanTiltTranslationSpace β€” an anyURI.
  • DefaultRelativeZoomTranslationSpace β€” an anyURI.
  • DefaultContinuousPanTiltVelocitySpace β€” an anyURI.
  • DefaultContinuousZoomVelocitySpace β€” an anyURI.
  • DefaultPTZSpeed β€” nested ONVIF::PTZ::Types::PTZSpeed, and inside it there's PanTilt and Zoom, both sitting there empty, waiting for you.
  • DefaultPTZTimeout β€” a duration.
  • PanTiltLimits β€” nested ONVIF::PTZ::Types::PanTiltLimits, holding a Range which is a ONVIF::PTZ::Types::Space2DDescription, which holds URI (anyURI) plus XRange and YRange, each a ONVIF::PTZ::Types::FloatRange with a Min and a Max (float, both).
  • ZoomLimits β€” nested ONVIF::PTZ::Types::ZoomLimits, holding a Range which is a ONVIF::PTZ::Types::Space1DDescription, which holds URI (anyURI) and an XRange, a ONVIF::PTZ::Types::FloatRange with Min and Max (float, again).
  • Extension β€” nested ONVIF::PTZ::Types::PTZConfigurationExtension, holding PTControlDirection (a ONVIF::PTZ::Types::PTControlDirection), which holds EFlip (a ONVIF::PTZ::Types::EFlip with a Mode, an EFlipMode), Reverse (a ONVIF::PTZ::Types::Reverse with a Mode, a ReverseMode), and an Extension (a ONVIF::PTZ::Types::PTControlDirectionExtension, just vibing, empty). plus a sibling Extension up top, a ONVIF::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