Device::USB::PCSensor::HidTEMPer::Device(3pm)

Device::USB::PCSensor::HidTEMPer::Device3pm

Generic device class

Usage

None

Version

Version 0.02

Overview

This module contains a generic class that all HidTEMPer devices should inherit from, thereby keeping the implemented methods consistent and making it possible to use the same code to contact every supported device.

Constants

•

CONNECTION_TIMEOUT

USB communication timeout, specified in milliseconds.

Methods

•

new( $usb_device )

Creates a new generic Device object.

•

identifier()

This method is used to acquire the numerical value representing the device type identifier.

•

internal()

Returns the corresponding Sensor object representing the internal sensor connected to the device. If the device does not have an internal sensor undef is returned.

•

external()

Returns the corresponding Sensor object representing the external sensor connected to the device. If the device does not have an external sensor undef is returned.

•

init()

Empty method that should be implemented in order to be able to initialize a object instance.

Dependencies

This module internally includes and takes use of the following packages:

  use Carp;
  use Device::USB;
  use Device::USB::Device;

This module uses the strict and warning pragmas.

For more information

None

Acknowledgements

None

Releases

7 releases since Debian 7 (Wheezy); the text changed 4 times.

  1. 7
  2. 8–10
  3. 11
  4. 12
  5. 13

Bugs

Please report any bugs or missing features using the CPAN RT tool.

Author

Magnus Sulland < [email protected] >

From libdevice-usb-pcsensor-hidtemper-perl 2:0.04-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.