Subversion Repositories ALCASAR

Rev

Details | Last modification | View Log

Rev Author Line No. Line
2775 rexy 1
<?php
2
/**
3
 * Basic Sensor Functions
4
 *
5
 * PHP version 5
6
 *
7
 * @category  PHP
8
 * @package   PSI_Interfaces
9
 * @author    Michael Cramer <BigMichi1@users.sourceforge.net>
10
 * @copyright 2009 phpSysInfo
11
 * @license   http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
12
 * @version   SVN: $Id: class.PSI_Interface_Sensor.inc.php 263 2009-06-22 13:01:52Z bigmichi1 $
13
 * @link      http://phpsysinfo.sourceforge.net
14
 */
15
 /**
16
 * define which methods every sensor class for phpsysinfo must implement
17
 * to be recognized and fully work without errors, these are the methods which
18
 * are called from outside to include the information in the main application
19
 *
20
 * @category  PHP
21
 * @package   PSI_Interfaces
22
 * @author    Michael Cramer <BigMichi1@users.sourceforge.net>
23
 * @copyright 2009 phpSysInfo
24
 * @license   http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
25
 * @version   Release: 3.0
26
 * @link      http://phpsysinfo.sourceforge.net
27
 */
28
interface PSI_Interface_Sensor
29
{
30
    /**
31
     * build the mbinfo information
32
     *
33
     * @return void
34
     */
35
    public function build();
36
 
37
    /**
38
     * get the filled or unfilled (with default values) MBInfo object
39
     *
40
     * @return MBInfo
41
     */
42
    public function getMBInfo();
43
}