ONVIF:...ration(3pm)

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

✨ NAME ✨

okay so this is ONVIF::Device::Types::PTZConfiguration β€” a Perl data type class for the XML Schema defined complexType PTZConfiguration from the namespace http://www.onvif.org/ver10/schema. it lives in the User Contributed Perl Documentation corner of the perl 3pm man pages, and bestie, it's giving pan-tilt-zoom but make it schema-valid. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so basically, this is a Perl data type class for the XML Schema defined complexType PTZConfiguration from the namespace http://www.onvif.org/ver10/schema. that's the whole vibe. it's a Perl class that exists so your ONVIF PTZ configuration data has somewhere to live. iconic behavior honestly.

🌸 PROPERTIES 🌸

the following properties may be accessed using get_PROPERTY / set_PROPERTY methods. that's the pattern, babes β€” getter and setter, one for each:

  • NodeToken
  • DefaultAbsolutePantTiltPositionSpace
  • DefaultAbsoluteZoomPositionSpace
  • DefaultRelativePanTiltTranslationSpace
  • DefaultRelativeZoomTranslationSpace
  • DefaultContinuousPanTiltVelocitySpace
  • DefaultContinuousZoomVelocitySpace
  • DefaultPTZSpeed
  • DefaultPTZTimeout
  • PanTiltLimits
  • ZoomLimits
  • Extension

twelve properties. twelve little slots. all of them accessed through get_PROPERTY / set_PROPERTY. no cap. πŸŽ€


πŸ’– METHODS πŸ’–

🧚 new

Constructor energy. it makes you a new one. ✨

the following data structure may be passed to new():

{ # ONVIF::Device::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::Device::Types::PTZSpeed
    PanTilt => ,
    Zoom => ,
  },
  DefaultPTZTimeout =>  $some_value, # duration
  PanTiltLimits =>  { # ONVIF::Device::Types::PanTiltLimits
    Range =>  { # ONVIF::Device::Types::Space2DDescription
      URI =>  $some_value, # anyURI
      XRange =>  { # ONVIF::Device::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
      YRange =>  { # ONVIF::Device::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
    },
  },
  ZoomLimits =>  { # ONVIF::Device::Types::ZoomLimits
    Range =>  { # ONVIF::Device::Types::Space1DDescription
      URI =>  $some_value, # anyURI
      XRange =>  { # ONVIF::Device::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
    },
  },
  Extension =>  { # ONVIF::Device::Types::PTZConfigurationExtension
    PTControlDirection =>  { # ONVIF::Device::Types::PTControlDirection
      EFlip =>  { # ONVIF::Device::Types::EFlip
        Mode => $some_value, # EFlipMode
      },
      Reverse =>  { # ONVIF::Device::Types::Reverse
        Mode => $some_value, # ReverseMode
      },
      Extension =>  { # ONVIF::Device::Types::PTControlDirectionExtension
      },
    },
    Extension =>  { # ONVIF::Device::Types::PTZConfigurationExtension2
    },
  },
},

look at that nesting though. DefaultPTZSpeed holding a PTZSpeed with PanTilt and Zoom. PanTiltLimits carrying a Range that's a Space2DDescription with URI, XRange and YRange, and those are FloatRanges with Min and Max. ZoomLimits does the same but with a Space1DDescription so it only gets URI and XRange. and then Extension goes full inception β€” PTZConfigurationExtension, PTControlDirection, EFlip with its EFlipMode Mode, Reverse with its ReverseMode Mode, a PTControlDirectionExtension, and a PTZConfigurationExtension2. it's turtles all the way down fr fr. 🐒

heads up bestie: that PTControlDirectionExtension and PTZConfigurationExtension2 are literally empty inside the braces β€” no properties listed. don't go inventing any, okay? we only write down what's actually there. πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. that's it, that's the author. the machine did it and honestly? it ate. πŸ”₯


and that's the whole page, gorgeous. it's from the User Contributed Perl Documentation, running under perl v5.40.1, dated 2026-02-01. mwah, go forth and configure your PTZ. πŸ«ΆπŸ’–

πŸ“¦ where this page comes from