CMS 3D CMS Logo

Public Member Functions | Public Attributes

boostFuture Struct Reference

#include <MutexUtils.h>

List of all members.

Public Member Functions

 boostFuture (int i)
 operator const boost::xtime & () const

Public Attributes

boost::xtime xt

Detailed Description

Definition at line 100 of file MutexUtils.h.


Constructor & Destructor Documentation

boostFuture::boostFuture ( int  i) [inline]

Definition at line 103 of file MutexUtils.h.

References i, and xt.

                     {
    boost::xtime_get(&xt, boost::TIME_UTC);
    xt.sec += i;
  }

Member Function Documentation

boostFuture::operator const boost::xtime & ( ) const [inline]

Definition at line 108 of file MutexUtils.h.

References xt.

{ return xt;}

Member Data Documentation

boost::xtime boostFuture::xt

Definition at line 101 of file MutexUtils.h.

Referenced by boostFuture(), and operator const boost::xtime &().