KSquare Utilities
KKLSC::ScannerClock Class Reference

Used by Scanner file routines to keep track of most current buffers. More...

#include <ScannerClock.h>

Public Types

typedef ScannerClockScannerClockPtr
 

Public Member Functions

 ScannerClock ()
 
kkint32 Time ()
 Returns the current value of 'time' them increments by 1. More...
 
void Time (kkint32 _time)
 

Detailed Description

Used by Scanner file routines to keep track of most current buffers.

Used by SscannerFileBuffered to keep track of age if Buffered Frames *
Every time a buffered frame is accessed it will update its TimeStamp *
from a global instance of 'UmiScannerClock' *

Definition at line 23 of file ScannerClock.h.

Member Typedef Documentation

Constructor & Destructor Documentation

ScannerClock::ScannerClock ( )

Definition at line 13 of file ScannerClock.cpp.

13  :
14  time (0)
15 {
16 }

Member Function Documentation

kkint32 ScannerClock::Time ( )

Returns the current value of 'time' them increments by 1.

Definition at line 19 of file ScannerClock.cpp.

Referenced by KKLSC::ScannerFrame::ScanLines().

20 {
21  kkint32 x = time;
22  time++;
23  return x;
24 }
__int32 kkint32
Definition: KKBaseTypes.h:88
void ScannerClock::Time ( kkint32  _time)

Definition at line 28 of file ScannerClock.cpp.

29 {
30  time = _time;
31 }

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