00001 /* 00002 This software is Copyright by the Board of Trustees of Michigan 00003 State University (c) Copyright 2005. 00004 00005 You may use this software under the terms of the GNU public license 00006 (GPL). The terms of this license are described at: 00007 00008 http://www.gnu.org/licenses/gpl.txt 00009 00010 Author: 00011 Ron Fox 00012 NSCL 00013 Michigan State University 00014 East Lansing, MI 48824-1321 00015 */ 00016 00017 00019 00020 #ifndef __CCAMACSCALERLRS2551_H 00021 #define __CCAMACSCALERLRS2551_H 00022 00023 #ifndef __CSCALER_H 00024 #include "CScaler.h" 00025 #endif 00026 00027 #ifndef __CCAMACMODULE_H 00028 #include <CCamacModule.h> 00029 #endif 00030 00038 class CCAMACScalerLRS2551 : public CScaler 00039 { 00040 private: 00041 CCamacModule m_Scaler; 00042 public: 00043 // Constructors, destructors and other cannonical operations: 00044 00045 CCAMACScalerLRS2551 (unsigned int b, 00046 unsigned int c, 00047 unsigned int n); 00048 CCAMACScalerLRS2551(const CCAMACScalerLRS2551& rhs); 00049 ~CCAMACScalerLRS2551 ( ) { } 00050 00051 CCAMACScalerLRS2551& operator= (const CCAMACScalerLRS2551& rhs); 00052 int operator==(const CCAMACScalerLRS2551& rhs) const; 00053 int operator!=(const CCAMACScalerLRS2551& rhs) const { 00054 return !(operator==(rhs)); 00055 } 00056 00057 // Selectors for class attributes: 00058 public: 00059 00060 // Mutators: 00061 protected: 00062 00063 // Class operations: 00064 public: 00065 virtual void Initialize () ; 00066 virtual void Read (STD(vector)<unsigned long>& Scalers) ; 00067 virtual void Clear () ; 00068 virtual unsigned int size () ; 00069 00070 }; 00071 00072 #endif