ONVIF:...TZNode(3pm)

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

πŸ’– NAME πŸ’–

ONVIF::Media::Types::PTZNode β€” bestie, this is a Perl data type class, and it lives in the User Contributed Perl Documentation corner of your man pages. Yes, the header line is a whole mouthful (ONVIF:...TZNode(3pm)), we're folding it in and moving on. ✨


🌸 DESCRIPTION 🌸

Okay so. This is a Perl data type class for the XML Schema defined complexType PTZNode, and it comes from the namespace http://www.onvif.org/ver10/schema.

That's it. That's the whole vibe. It's a class that knows how to be a PTZNode so you don't have to hand-roll the XML yourself. Iconic behavior honestly. πŸŽ€


πŸ¦‹ PROPERTIES πŸ¦‹

These are the properties you can get at with get_PROPERTY / set_PROPERTY methods. Lowkey the whole point of the class:

  • Name
  • SupportedPTZSpaces
  • MaximumNumberOfPresets
  • HomeSupported
  • AuxiliaryCommands
  • Extension

πŸ’… METHODS πŸ’…

✨ new ✨

Constructor, babes. It's giving "build me a PTZNode". Here's the data structure you may pass to new() β€” and yes, I'm giving you the entire thing, nested hashrefs and all, no skips, no cap:

{ # ONVIF::Media::Types::PTZNode
  Name => $some_value, # Name
  SupportedPTZSpaces =>  { # ONVIF::Media::Types::PTZSpaces
    AbsolutePanTiltPositionSpace =>  { # ONVIF::Media::Types::Space2DDescription
      URI =>  $some_value, # anyURI
      XRange =>  { # ONVIF::Media::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
      YRange =>  { # ONVIF::Media::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
    },
    AbsoluteZoomPositionSpace =>  { # ONVIF::Media::Types::Space1DDescription
      URI =>  $some_value, # anyURI
      XRange =>  { # ONVIF::Media::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
    },
    RelativePanTiltTranslationSpace =>  { # ONVIF::Media::Types::Space2DDescription
      URI =>  $some_value, # anyURI
      XRange =>  { # ONVIF::Media::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
      YRange =>  { # ONVIF::Media::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
    },
    RelativeZoomTranslationSpace =>  { # ONVIF::Media::Types::Space1DDescription
      URI =>  $some_value, # anyURI
      XRange =>  { # ONVIF::Media::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
    },
    ContinuousPanTiltVelocitySpace =>  { # ONVIF::Media::Types::Space2DDescription
      URI =>  $some_value, # anyURI
      XRange =>  { # ONVIF::Media::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
      YRange =>  { # ONVIF::Media::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
    },
    ContinuousZoomVelocitySpace =>  { # ONVIF::Media::Types::Space1DDescription
      URI =>  $some_value, # anyURI
      XRange =>  { # ONVIF::Media::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
    },
    PanTiltSpeedSpace =>  { # ONVIF::Media::Types::Space1DDescription
      URI =>  $some_value, # anyURI
      XRange =>  { # ONVIF::Media::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
    },
    ZoomSpeedSpace =>  { # ONVIF::Media::Types::Space1DDescription
      URI =>  $some_value, # anyURI
      XRange =>  { # ONVIF::Media::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
    },
    Extension =>  { # ONVIF::Media::Types::PTZSpacesExtension
    },
  },
  MaximumNumberOfPresets =>  $some_value, # int
  HomeSupported =>  $some_value, # boolean
  AuxiliaryCommands => $some_value, # AuxiliaryData
  Extension =>  { # ONVIF::Media::Types::PTZNodeExtension
    SupportedPresetTour =>  { # ONVIF::Media::Types::PTZPresetTourSupported
      MaximumNumberOfPresetTours =>  $some_value, # int
      PTZPresetTourOperation => $some_value, # PTZPresetTourOperation
      Extension =>  { # ONVIF::Media::Types::PTZPresetTourSupportedExtension
      },
    },
    Extension =>  { # ONVIF::Media::Types::PTZNodeExtension2
    },
  },
},

🫢 attr 🫢

NOTE: Attribute documentation is experimental, and may be inaccurate. See the correspondent WSDL/XML Schema if in question.

Read that again bestie, because I mean it: experimental, possibly inaccurate β€” if you're unsure, go check the correspondent WSDL/XML Schema. Don't come for me, come for the schema. 😭

So this class has additional attributes, and you reach them through the attr() method.

attr() returns an object of the class ONVIF::Media::Types::PTZNode::_PTZNode::XmlAttr.

On that object you can access the following attributes with the corresponding get_ / set_ methods:

  • FixedHomePosition β€” Indication whether the HomePosition of a Node is fixed or it can be changed via the SetHomePosition command.

This attribute is of type SOAP::WSDL::XSD::Typelib::Builtin::boolean.


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. Like, the whole class just… appeared. Automated queen behavior. ✨


and that's the page!! πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

Cute lil sign-off: this one's from perl v5.40.1, dated 2026-02-01, and it answers to ONVIF:...TZNode(3pm) in the manual index. Periodt. πŸ‘‘πŸŒˆβ­

πŸ“¦ where this page comes from