Query: device::usb::pcsensor::hidtemper::sensor
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Device::USB::PCSensor::HidTEMPer::Sensor(3pm) User Contributed Perl Documentation Device::USB::PCSensor::HidTEMPer::Sensor(3pm) Device::USB::PCSensor::HidTEMPer::Sensor - Generic sensor classVERSIONVersion 0.02SYNOPSISNoneDESCRIPTIONThis module contains a generic class that all HidTEMPer sensors should inherit from keeping the implemented methods consistent, and making it possible to use the same code to contact every supported device. CONSTANTS o MAX_TEMPERATURE The highest temperature(Celsius) this sensor can detect. o MIN_TEMPERATURE The lowest temperature(Celsius) this sensor can detect. METHODS o new( $device ) Generic initializing method, creating a sensor object. Input parameter $device = A pre-initialized Device::USB::PCSensor::HidTEMPer::Device that the sensor is connected to. This device will be used to handle communication. o fahrenheit() Reads the current temperature and returns the corresponding value in fahrenheit degrees. o max() Returns the highest temperature(Celsius) the sensor can detect. o min() Returns the lowest temperature(Celsius) the sensor can detect. o celsius() Empty method that should be implemented in each sensor, returing the current degrees in celsius.DEPENDENCIESThis module internally includes and takes use of the following packages: use Scalar::Util qw/ weaken /; 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::Sensor(3pm)
Similar Topics in the Unix Linux Community |
---|
temperature censors in linux machine |
Can expr deal with decimals? |
Max CPU temperature? |
Mounting temperature logger on Centos 7.0 |
Test temperature and alert |