ONVIF::...uteFocus(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’… ONVIF::...uteFocus(3) β€” like, the AbsoluteFocus page, bestie

Okay so real quick: this is ONVIF::Device::Types::AbsoluteFocus, and it lives in the User Contributed Perl Documentation section of your man pages. Yes the header truncated the name into ONVIF::...uteFocus(3) β€” that's just how it renders, don't panic 🫢. The real class is the full one, promise.


✨ NAME ✨

ONVIF::Device::Types::AbsoluteFocus β€” a Perl data type class for the XML Schema complexType AbsoluteFocus from the namespace http://www.onvif.org/ver10/schema. That's it, that's the whole vibe πŸ’–.


🌸 DESCRIPTION 🌸

So basically: this is a Perl data type class, and it exists to model the XML Schema complexType AbsoluteFocus. Where does that complexType come from? The namespace http://www.onvif.org/ver10/schema, no cap. If you're doing ONVIF-flavoured XML in Perl, this is one of the little building blocks you'll be passing around ✨.

πŸŽ€ PROPERTIES πŸŽ€

These are the properties you can actually touch, and the way you touch them is via get_PROPERTY / set_PROPERTY methods β€” that's the pattern, iykyk.

  • Position β€” yes, it's a property, it's on the list πŸ’œ
  • Speed β€” also a property, also on the list 🌈
Like, those are literally the only two. Two properties. That's the whole roster. Iconic minimalism honestly πŸ‘‘

πŸ”₯ METHODS πŸ”₯

πŸ’« new πŸ’«

Constructor time, bestie! It's the constructor, and here's the data structure you may pass to new() β€” shown to you exactly, no notes, keep it pretty 🌸:

{ # ONVIF::Device::Types::AbsoluteFocus
  Position =>  $some_value, # float
  Speed =>  $some_value, # float
},

Look at that. Position takes a float, Speed takes a float. Both of them. Two floats. Slay πŸ’….


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. Yep β€” it wasn't hand-crafted by a person, it was generated by SOAP::WSDL, and we respect the machine for it πŸ€–βœ¨.


And that's the whole page, babe! πŸ¦‹ Little sign-off for you: this gem came from perl v5.42.3 and the date stamp is 1980-01-01 β€” like, the most vintage birthday ever πŸŽ‚πŸ’€. Go forth and pass your floats πŸŒŸπŸ’–

πŸ“¦ where this page comes from