PikeAero::CEventClock Class Reference

#include <ceventclock.h>

Inheritance diagram for PikeAero::CEventClock:

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

Collaboration graph
[legend]

Public Member Functions

 CEventClock (CEventClock *other)
 CEventClock (CObject *sender, CMachine::ubit32 seconds, CMachine::ubit32 minutes, CMachine::ubit32 hours, CMachine::ubit32 days)
 CEventClock (CObject *sender=NULL)
virtual void copy (CEventClock *other)
CMachine::ubit32 days ()
CMachine::ubit32 hours ()
CMachine::ubit32 minutes ()
CMachine::ubit32 seconds ()
void setDays (CMachine::ubit32 days)
void setHours (CMachine::ubit32 hours)
void setMinutes (CMachine::ubit32 minutes)
void setSeconds (CMachine::ubit32 seconds)
virtual ~CEventClock ()

Private Attributes

CMachine::ubit32 mDays
CMachine::ubit32 mHours
CMachine::ubit32 mMinutes
CMachine::ubit32 mSeconds

Detailed Description

Implements a wall clock event - emited every second by timebase classes.
Author:
Michael Sharkey <mike@pikeaero.com>

Definition at line 31 of file ceventclock.h.


Constructor & Destructor Documentation

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

Definition at line 26 of file ceventclock.cpp.

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

00027  : CEvent(sender)
00028  , mSeconds(0)
00029  , mMinutes(0)
00030  , mHours(0)
00031  , mDays(0)
00032 {
00033     setType(Clock);
00034 }

Here is the call graph for this function:

PikeAero::CEventClock::CEventClock ( CObject sender,
CMachine::ubit32  seconds,
CMachine::ubit32  minutes,
CMachine::ubit32  hours,
CMachine::ubit32  days 
)

Definition at line 37 of file ceventclock.cpp.

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

00038  : CEvent(sender)
00039  , mSeconds(seconds)
00040  , mMinutes(minutes)
00041  , mHours(hours)
00042  , mDays(days)
00043 {
00044     setType(Clock);
00045 }

Here is the call graph for this function:

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

Definition at line 36 of file ceventclock.h.

References copy().

00036 {copy(other);}

Here is the call graph for this function:

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

Definition at line 48 of file ceventclock.cpp.

00049 {
00050 }


Member Function Documentation

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

Definition at line 52 of file ceventclock.cpp.

References days(), hours(), minutes(), seconds(), setDays(), setHours(), setMinutes(), and setSeconds().

Referenced by CEventClock().

00053 {
00054     inherited::copy( other );
00055     setSeconds( other->seconds() );
00056     setMinutes( other->minutes() );
00057     setHours( other->hours() );
00058     setDays( other->days() );
00059 }

Here is the call graph for this function:

Here is the caller graph for this function:

CMachine::ubit32 PikeAero::CEventClock::days (  )  [inline]

Definition at line 43 of file ceventclock.h.

References mDays.

Referenced by copy().

00043 {return mDays;}

Here is the caller graph for this function:

CMachine::ubit32 PikeAero::CEventClock::hours (  )  [inline]

Definition at line 42 of file ceventclock.h.

References mHours.

Referenced by copy().

00042 {return mHours;}

Here is the caller graph for this function:

CMachine::ubit32 PikeAero::CEventClock::minutes (  )  [inline]

Definition at line 41 of file ceventclock.h.

References mMinutes.

Referenced by copy().

00041 {return mMinutes;}

Here is the caller graph for this function:

CMachine::ubit32 PikeAero::CEventClock::seconds (  )  [inline]

Definition at line 40 of file ceventclock.h.

References mSeconds.

Referenced by copy().

00040 {return mSeconds;}

Here is the caller graph for this function:

void PikeAero::CEventClock::setDays ( CMachine::ubit32  days  )  [inline]

Definition at line 48 of file ceventclock.h.

References mDays.

Referenced by copy().

00048 {mDays=days;}

Here is the caller graph for this function:

void PikeAero::CEventClock::setHours ( CMachine::ubit32  hours  )  [inline]

Definition at line 47 of file ceventclock.h.

References mHours.

Referenced by copy().

00047 {mHours=hours;}

Here is the caller graph for this function:

void PikeAero::CEventClock::setMinutes ( CMachine::ubit32  minutes  )  [inline]

Definition at line 46 of file ceventclock.h.

References mMinutes.

Referenced by copy().

00046 {mMinutes=minutes;}

Here is the caller graph for this function:

void PikeAero::CEventClock::setSeconds ( CMachine::ubit32  seconds  )  [inline]

Definition at line 45 of file ceventclock.h.

References mSeconds.

Referenced by copy().

00045 {mSeconds=seconds;}

Here is the caller graph for this function:


Field Documentation

Definition at line 54 of file ceventclock.h.

Referenced by days(), and setDays().

Definition at line 53 of file ceventclock.h.

Referenced by hours(), and setHours().

Definition at line 52 of file ceventclock.h.

Referenced by minutes(), and setMinutes().

Definition at line 51 of file ceventclock.h.

Referenced by seconds(), and setSeconds().


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

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