SNAP Library, User Reference  2012-10-15 15:06:59
SNAP, a general purpose network analysis and graph mining library
 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 433 of file tm.h.


Constructor & Destructor Documentation

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

Definition at line 440 of file tm.h.

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

Member Function Documentation

bool TTmTimer::IsTimeUp ( ) const [inline]

Definition at line 445 of file tm.h.

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

Definition at line 443 of file tm.h.

{ StopWatch.Reset(true); }

Member Data Documentation

int TTmTimer::MxMSecs [private]

Definition at line 435 of file tm.h.

Definition at line 436 of file tm.h.


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