TwiceAsNice  2019-02-18
Public Member Functions | Private Attributes | List of all members
LinuxTimer Class Reference

linux implementation of the timmer More...

#include <LinuxTimer.h>

Inheritance diagram for LinuxTimer:
Inheritance graph
Collaboration diagram for LinuxTimer:
Collaboration graph

Public Member Functions

 LinuxTimer ()
 
virtual ~LinuxTimer ()
 
void Start ()
 
void Stop ()
 
double GetTimeInMs ()
 
double GetTimeInSec ()
 
- Public Member Functions inherited from ITimer
virtual ~ITimer ()
 

Private Attributes

struct timeval m_start
 
struct timeval m_end
 

Detailed Description

linux implementation of the timmer

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Copyright(c) 2011 Apogee Imaging Systems, Inc.

Constructor & Destructor Documentation

◆ LinuxTimer()

LinuxTimer::LinuxTimer ( )

◆ ~LinuxTimer()

LinuxTimer::~LinuxTimer ( )
virtual

Member Function Documentation

◆ GetTimeInMs()

double LinuxTimer::GetTimeInMs ( )
virtual

Implements ITimer.

◆ GetTimeInSec()

double LinuxTimer::GetTimeInSec ( )
virtual

Implements ITimer.

◆ Start()

void LinuxTimer::Start ( )
virtual

Implements ITimer.

◆ Stop()

void LinuxTimer::Stop ( )
virtual

Implements ITimer.

Member Data Documentation

◆ m_end

struct timeval LinuxTimer::m_end
private

◆ m_start

struct timeval LinuxTimer::m_start
private

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