00001 /* 00002 * Duration.hpp 00003 * 00004 * Created on: Oct 27, 2011 00005 * Author: mriedel 00006 */ 00007 00008 #ifndef DURATION_HPP_ 00009 #define DURATION_HPP_ 00010 00011 #include <telekyb_base/Time/Time.hpp> 00012 00013 // convience class. User should use duration for durations. Not Time. 00014 00015 namespace TELEKYB_NAMESPACE { 00016 00017 class Duration : public Time { 00018 private: 00019 // overwrite 00020 Duration(); 00021 00022 public: 00023 Duration(long int s,long int u); 00024 00025 Duration(double t); 00026 00027 Duration(const Time& t); 00028 virtual ~Duration(); 00029 }; 00030 00031 } 00032 00033 #endif /* DURATION_HPP_ */