ACT-CV - Machine Vision for Cognitive Modeling
Public Member Functions | Protected Attributes | List of all members
RundenZeitenClock Class Reference

take a time using the ANSI C time() function More...

#include <StoppUhr.h>

Collaboration diagram for RundenZeitenClock:
Collaboration graph

Public Member Functions

 RundenZeitenClock ()
 
void Start ()
 
void Messung ()
 
double GetSeconds () const
 
double GetMSec () const
 

Protected Attributes

clock_t zeit [2]
 
int idx
 
int n
 

Detailed Description

take a time using the ANSI C time() function

Definition at line 109 of file StoppUhr.h.

Constructor & Destructor Documentation

RundenZeitenClock::RundenZeitenClock ( )

Definition at line 115 of file StoppUhr.h.

References Start().

Member Function Documentation

double RundenZeitenClock::GetMSec ( ) const
Returns
-1000 if no data present

Definition at line 136 of file StoppUhr.h.

References GetSeconds().

double RundenZeitenClock::GetSeconds ( ) const
Returns
-1 if no data present

Definition at line 129 of file StoppUhr.h.

References idx, n, and zeit.

Referenced by FpsFrameObs::FrameNotify(), and GetMSec().

void RundenZeitenClock::Messung ( )

Definition at line 122 of file StoppUhr.h.

References idx, n, and zeit.

Referenced by FpsFrameObs::FrameNotify().

void RundenZeitenClock::Start ( )

Definition at line 118 of file StoppUhr.h.

References idx, and n.

Referenced by RundenZeitenClock().

Member Data Documentation

int RundenZeitenClock::idx
protected

Definition at line 112 of file StoppUhr.h.

Referenced by GetSeconds(), Messung(), and Start().

int RundenZeitenClock::n
protected

Definition at line 113 of file StoppUhr.h.

Referenced by GetSeconds(), Messung(), and Start().

clock_t RundenZeitenClock::zeit[2]
protected

Definition at line 111 of file StoppUhr.h.

Referenced by GetSeconds(), and Messung().


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


ACT-CV - Machine Vision for Cognitive Modeling
© 2015 Marc Halbruegge (actcvlibrary@googlemail.com)