Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

timer_test Class Reference

Inheritance diagram for timer_test::

my_timer my_timer my_timer Basic_PThread Basic_PThread Basic_PThread List of all members.

Public Methods

 timer_test (ULONG clk=200000000)
virtual void tick ()
 timer_test (ULONG clk=200000000)
virtual void tick ()
 timer_test (ULONG clk=200000000)
virtual void tick ()

Private Methods

 timer_test (const timer_test &)
const timer_test & operator= (const timer_test &)
 timer_test (const timer_test &)
const timer_test & operator= (const timer_test &)

Private Attributes

USHORT val
USHORT old_val
Board b

Constructor & Destructor Documentation

timer_test::timer_test ULONG    clk = 200000000 [inline]
 

Definition at line 18 of file boardTimer.cpp.

00019   : my_timer( clk ), val( 0 ), old_val( 0 ) { }

timer_test::timer_test const timer_test &    [private]
 

timer_test::timer_test ULONG    clk = 200000000 [inline]
 

Definition at line 19 of file timer_test.cpp.

00020   : my_timer( clk ) { }

timer_test::timer_test ULONG    clk = 200000000 [inline]
 

Definition at line 18 of file boardTimer.cpp.

00019   : my_timer( clk ), val( 0 ), old_val( 0 ) { }

timer_test::timer_test const timer_test &    [private]
 


Member Function Documentation

const timer_test& timer_test::operator= const timer_test &    [private]
 

const timer_test& timer_test::operator= const timer_test &    [private]
 

virtual void timer_test::tick   [inline, virtual]
 

Reimplemented from my_timer.

Definition at line 21 of file boardTimer.cpp.

00022  {
00023     printf( "#" );
00024     fflush( stdout );
00025 
00026     old_val = val;
00027     val = b.Read();
00028 
00029     if ( val != old_val )
00030       b.FastWrite( val );
00031     
00032  }

virtual void timer_test::tick   [inline, virtual]
 

Reimplemented from my_timer.

Definition at line 22 of file timer_test.cpp.

00023  {
00024     printf( "#" );
00025     fflush( stdout );
00026  }

virtual void timer_test::tick   [inline, virtual]
 

Reimplemented from my_timer.

Definition at line 21 of file boardTimer.cpp.

00022  {
00023     printf( "#" );
00024     fflush( stdout );
00025 
00026     old_val = val;
00027     val = b.Read();
00028 
00029     if ( val != old_val )
00030       b.FastWrite( val );
00031     
00032  }


Member Data Documentation

Board timer_test::b [private]
 

Definition at line 36 of file boardTimer.cpp.

USHORT timer_test::old_val [private]
 

Definition at line 35 of file boardTimer.cpp.

USHORT timer_test::val [private]
 

Definition at line 35 of file boardTimer.cpp.


The documentation for this class was generated from the following files:
Generated on Sun Oct 14 18:50:16 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001