SNAP Library 2.1, User Reference  2013-09-25 10:47:25
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TTmTimer Class Reference

#include <tm.h>

List of all members.

Public Member Functions

 TTmTimer (const int &_MxMSecs)
void Restart ()
bool IsTimeUp () const

Private Member Functions

 UndefDefaultCopyAssign (TTmTimer)

Private Attributes

int MxMSecs
TTmStopWatch StopWatch

Detailed Description

Definition at line 432 of file tm.h.


Constructor & Destructor Documentation

TTmTimer::TTmTimer ( const int &  _MxMSecs) [inline]

Definition at line 439 of file tm.h.

: MxMSecs(_MxMSecs), StopWatch(true) { }

Member Function Documentation

bool TTmTimer::IsTimeUp ( ) const [inline]

Definition at line 444 of file tm.h.

{ return (StopWatch.GetMSecInt() > MxMSecs); }
void TTmTimer::Restart ( ) [inline]

Definition at line 442 of file tm.h.

{ StopWatch.Reset(true); }

Member Data Documentation

int TTmTimer::MxMSecs [private]

Definition at line 434 of file tm.h.

Definition at line 435 of file tm.h.


The documentation for this class was generated from the following file: