Scippy

SoPlex

Sequential object-oriented simPlex

NoTimer Class Reference

#include <notimer.h>

Public Member Functions

Construction / destruction
 NoTimer ()
 default constructor More...
 
 NoTimer (const NoTimer &)
 copy constructor More...
 
NoTimeroperator= (const NoTimer &)
 assignment operator More...
 
virtual ~NoTimer ()
 
Control
virtual void reset ()
 initialize timer More...
 
virtual void start ()
 start timer More...
 
virtual Real stop ()
 stop timer More...
 
virtual TYPE type ()
 return type of timer More...
 
Access
virtual Real time () const
 
virtual Real lastTime () const
 
- Public Member Functions inherited from Timer
 Timer ()
 default constructor More...
 
 Timer (const Timer &old)
 copy constructor More...
 
Timeroperator= (const Timer &old)
 assignment operator More...
 
virtual ~Timer ()
 
void getLastTimes (Real *userTime, Real *systemTime, Real *realTime) const
 return accounted time. get accounted user, system, or real time when ticks were updated last More...
 
Real realTimeLast () const
 return accounted real time without rechecking the clock More...
 

Additional Inherited Members

- Public Types inherited from Timer
enum  TYPE { OFF = 0, USER_TIME = 1, WALLCLOCK_TIME = 2 }
 types of timers More...
 
- Protected Types inherited from Timer
enum  { RESET, STOPPED, RUNNING }
 status of the timer More...
 
- Protected Attributes inherited from Timer
enum soplex::Timer:: { ... }  status
 status of the timer More...
 

Detailed Description

Definition at line 29 of file notimer.h.

Constructor & Destructor Documentation

◆ NoTimer() [1/2]

NoTimer ( )

default constructor

Definition at line 38 of file notimer.h.

◆ NoTimer() [2/2]

NoTimer ( const NoTimer )

copy constructor

Definition at line 42 of file notimer.h.

◆ ~NoTimer()

virtual ~NoTimer ( )
virtual

Definition at line 51 of file notimer.h.

Member Function Documentation

◆ lastTime()

virtual Real lastTime ( ) const
virtual

Implements Timer.

Definition at line 87 of file notimer.h.

◆ operator=()

NoTimer& operator= ( const NoTimer )

assignment operator

Definition at line 46 of file notimer.h.

◆ reset()

virtual void reset ( )
virtual

initialize timer

Implements Timer.

Definition at line 59 of file notimer.h.

◆ start()

virtual void start ( )
virtual

start timer

Implements Timer.

Definition at line 63 of file notimer.h.

◆ stop()

virtual Real stop ( )
virtual

stop timer

Implements Timer.

Definition at line 67 of file notimer.h.

◆ time()

virtual Real time ( ) const
virtual

Implements Timer.

Definition at line 82 of file notimer.h.

◆ type()

virtual TYPE type ( )
virtual

return type of timer

Implements Timer.

Definition at line 73 of file notimer.h.

References Timer::OFF.