Zen
A cross-platform functional programming language

timer Class Reference

Intrinsic timer type. More...

#include <zbl.hpp>

List of all members.

Public Member Functions

 timer (const bool &start=false)
 Default constructor.
int getElapsed () const
 Get the elapsed time.

Private Attributes

QTime _val
 The value.

Detailed Description

Intrinsic timer type.


Constructor & Destructor Documentation

timer ( const bool &  start = false) [inline, explicit]

Default constructor.

Parameters:
startTrue if timer should start right away

Member Function Documentation

int getElapsed ( ) const [inline]

Get the elapsed time.

Returns:
The elapsed time

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines