1 #ifndef __JLANG__JTIMEVAL__ 
    2 #define __JLANG__JTIMEVAL__ 
   17 namespace JPP { 
using namespace JLANG; }
 
   49       this->tv_usec = tv_us;
 
   62       this->tv_usec = tv_us;
 
   73       return static_cast<const JTimeval&
>(*this);
 
   84       return static_cast<JTimeval&
>(*this);
 
   95       static_cast<JTimeval&
>(*this) = timeval;
 
  107       if (this->tv_sec == value.tv_sec)
 
  108         return this->tv_usec < value.tv_usec;
 
  110         return this->tv_sec  < value.tv_sec;
 
  133       return JTimeval(std::numeric_limits<int>::max(), std::numeric_limits<int>::max());
 
  143     const timeval* 
get() 
const 
  145       return static_cast<const timeval*
>(
this);
 
  156       return static_cast<timeval*
>(
this);
 
  191       return in >> time.tv_sec >> time.tv_usec;
 
  204       return out << time.tv_sec << 
' ' << time.tv_usec;
 
friend std::ostream & operator<<(std::ostream &out, const JTimeval &time)
Write time value to output. 
 
static JTimeval min()
Get minimal time value. 
 
const JTimeval & getTimeval() const 
Get time value. 
 
bool less(const JTimeval &value) const 
Less than method. 
 
Auxiliary class for time values. 
 
static JTimeval max()
Get maximal time value. 
 
JTimeval(const int tv_s, const int tv_us)
Constructor. 
 
JTimeval(const int tv_us)
Constructor. 
 
Template definition of auxiliary base class for comparison of data structures. 
 
const timeval * operator&() const 
Address of operator. 
 
JTimeval & getTimeval()
Get time value. 
 
friend std::istream & operator>>(std::istream &in, JTimeval &time)
Read time value from input. 
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
 
JTimeval()
Default constructor. 
 
void setTimeval(const JTimeval &timeval)
Set time value.