PikeAero::CEventTick Class Reference

#include <ceventtick.h>

Inheritance diagram for PikeAero::CEventTick:

Inheritance graph
[legend]
Collaboration diagram for PikeAero::CEventTick:

Collaboration graph
[legend]

Public Member Functions

 CEventTick (CEventTick *other)
 CEventTick (CObject *sender=NULL)
virtual void copy (CEventTick *other)
void setTicks (CMachine::ubit64 ticks)
CMachine::ubit64 ticks ()
virtual ~CEventTick ()

Private Attributes

CMachine::ubit64 mTicks

Detailed Description

Implements a clock tick event (1/10th second) - emited every second by timebase classes.
Author:
Michael Sharkey <mike@pikeaero.com>

Definition at line 31 of file ceventtick.h.


Constructor & Destructor Documentation

PikeAero::CEventTick::CEventTick ( CObject sender = NULL  ) 

Definition at line 26 of file ceventtick.cpp.

References PikeAero::CEvent::setType(), and PikeAero::CEvent::Tick.

00027  : CEvent(sender)
00028  , mTicks(0)
00029 {
00030     setType(Tick);
00031 }

Here is the call graph for this function:

PikeAero::CEventTick::CEventTick ( CEventTick other  )  [inline]

Definition at line 35 of file ceventtick.h.

References copy().

00035 {copy(other);}

Here is the call graph for this function:

PikeAero::CEventTick::~CEventTick (  )  [virtual]

Definition at line 34 of file ceventtick.cpp.

00035 {
00036 }


Member Function Documentation

void PikeAero::CEventTick::copy ( CEventTick other  )  [virtual]

Definition at line 38 of file ceventtick.cpp.

References setTicks(), and ticks().

Referenced by CEventTick().

00039 {
00040     inherited::copy( other );
00041     setTicks(   other->ticks() );
00042 }

Here is the call graph for this function:

Here is the caller graph for this function:

void PikeAero::CEventTick::setTicks ( CMachine::ubit64  ticks  )  [inline]

Definition at line 40 of file ceventtick.h.

References mTicks.

Referenced by copy().

00040 {mTicks=ticks;}

Here is the caller graph for this function:

CMachine::ubit64 PikeAero::CEventTick::ticks (  )  [inline]

Definition at line 39 of file ceventtick.h.

References mTicks.

Referenced by copy().

00039 {return mTicks;}

Here is the caller graph for this function:


Field Documentation

Definition at line 43 of file ceventtick.h.

Referenced by setTicks(), and ticks().


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

Generated on Sun Oct 25 14:00:03 2009 for stingray3 by  doxygen 1.5.8