00001 // SubsystemMonitor 00002 00003 // 00005 // FILE: ISubsystemMonitor 00006 // PACKAGE: SubsystemMonitor 00007 // Implements the following classes: 00008 // ISubsystemMonitor 00009 // Date: June 01, 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 __ISubsystemMonitor__ 00046 #define __ISubsystemMonitor__ 00047 // Include files 00048 #include "ResourceMonitorTypes.h" 00049 namespace SubsystemMonitor 00050 { 00069 class ISubsystemMonitor 00070 { 00071 public: 00072 virtual ~ISubsystemMonitor() {}; 00073 00078 virtual int getSubsystemInterfaceVersion()=0; 00085 virtual rmSubsystemInfo *getSubsystemInfo()=0; 00094 virtual rmResourceInfo *getResourceInfo(size_t index)=0; 00103 virtual rmStatisticInfo *getStatisticInfo(size_t index)=0; 00112 virtual void refreshSubsystemRegistration(); 00113 protected: 00114 private: 00115 }; 00116 00117 // END CLASS DEFINITION ISubsystemMonitor 00118 00119 } 00120 00121 #endif // __ISubsystemMonitor__ 00122