|
quantities/RealLatency.hGo to the documentation of this file.00001 //============================================================================ 00002 // Author : Alessandro Pinto <apinto@eecs.berkeley.edu> 00003 // University of California, Berkeley 00004 // 545 Cory Hall, Berkeley, CA 94720 00005 // Copyright : See COPYING file that comes with this distribution 00006 //============================================================================ 00007 00008 #ifndef REALLATENCY_H_ 00009 #define REALLATENCY_H_ 00010 00011 #include <iostream> 00012 #include <string> 00013 #include "../core/Quantity.h" 00014 00015 namespace cosi { 00016 00017 class RealLatency : public RealQuantity { 00018 00019 public: 00020 RealLatency(); 00021 RealLatency( double pValue ) ; 00022 ~RealLatency(); 00023 RealLatency Get(); 00024 void Set(RealLatency pL) ; 00025 bool operator <(RealLatency pValue); 00026 bool operator >(RealLatency pValue); 00027 bool operator ==(RealLatency pValue); 00028 00029 RealLatency operator+(RealLatency pL) ; 00030 RealLatency operator-(RealLatency pL) ; 00031 00032 friend std::ostream& operator<<(std::ostream &pOs , const RealLatency &pL) ; 00033 00034 static std::string sQuantityName; 00035 }; 00036 00037 00038 } 00039 00040 #endif /*REALLATENCY_H_*/ Generated on Sun Sep 7 18:37:43 2008 for COSI by 1.5.4 |