Query: device::usb::pcsensor::hidtemper::device
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Device::USB::PCSensor::HidTEMPer::Device(3pm) User Contributed Perl Documentation Device::USB::PCSensor::HidTEMPer::Device(3pm) Device::USB::PCSensor::HidTEMPer::Device - Generic device classVERSIONVersion 0.02SYNOPSISNoneDESCRIPTIONThis 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 o CONNECTION_TIMEOUT USB communication timeout, specified in milliseconds. METHODS o new( $usb_device ) Creates a new generic Device object. o identifier() This method is used to acquire the numerical value representing the device type identifier. o 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. o 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. o init() Empty method that should be implemented in order to be able to initialize a object instance.DEPENDENCIESThis 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.BUGSPlease report any bugs or missing features using the CPAN RT tool.FOR MORE INFORMATIONNoneAUTHORMagnus Sulland < msulland@cpan.org >ACKNOWLEDGEMENTSNone COPYRIGHT & LICENSE Copyright (c) 2010 Magnus Sulland This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2010-07-24 Device::USB::PCSensor::HidTEMPer::Device(3pm)