Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

/root/resourcemonitord/resourcemonitord/Monitor.h

Go to the documentation of this file.
00001 // ResourceMonitor
00002 
00003 // 
00005 // FILE:        Monitor
00006 // PACKAGE: SubsystemMonitor
00007 //  Implements the following classes:
00008 //          Monitor
00009 //  Date:   July 19, 2001
00010 //  Author: Perry G. Vincent
00012 
00013 
00014 /*M*
00015 BSD License
00016 
00017 Copyright (c) 2002, Intel Corporation
00018 All rights reserved.
00019 
00020 Redistribution and use in source and binary forms, with or without
00021 modification, are permitted provided that the following conditions are met:
00022 
00023   a.. Redistributions of source code must retain the above copyright notice,
00024       this list of conditions and the following disclaimer.
00025   b.. Redistributions in binary form must reproduce the above copyright notice,
00026       this list of conditions and the following disclaimer in the documentation
00027       and/or other materials provided with the distribution.
00028   c.. Neither the name of Intel Corporation nor the names of its contributors
00029       may be used to endorse or promote products derived from this software
00030       without specific prior written permission.
00031 
00032 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
00033 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00034 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00035 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
00036 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00037 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00038 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
00039 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00040 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00041 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00042 
00043  *M*/
00044 
00045 #ifndef __Monitor__
00046 #define __Monitor__
00047 
00048 // Include files
00049 #include "ResourceMonitorTypes.h"
00050 
00051 //  todo
00052 namespace SubsystemMonitor
00053 {
00060 class Monitor
00061 {
00062 public:
00068     virtual ~Monitor() {};
00074     virtual int startMonitor()=0;
00081     virtual int stopMonitor()=0;
00088     virtual int resetMonitor()=0;
00094     virtual int pauseNotification()=0;
00102     virtual int resetNotification()=0;
00108     virtual int getMonitorConfiguration(rmMonitorConfiguration *config)=0;
00115     virtual int setMonitorConfiguration(rmMonitorConfiguration &config)=0;
00121     virtual int getMonitorControl(rmMonitorControl *control)=0;
00128     virtual int setMonitorControl(rmMonitorControl &control)=0;
00134     virtual int checkMonitor(rmMonitorState *state)=0;
00135 };
00136 
00137 // END CLASS DEFINITION Monitor
00138 
00139 }
00140 #endif // __Monitor__
00141 

Generated at Sat Sep 7 21:21:07 2002 for Resource Monitoring Facility by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001