PikeAero::CEventPump Class Reference

#include <ceventpump.h>

Inheritance diagram for PikeAero::CEventPump:

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

Collaboration graph
[legend]

Public Member Functions

 CEventPump (CEventPump *other)
 CEventPump (CObject *sender, CMachine::ubit32 pump, bool state)
 CEventPump (CObject *sender=NULL)
virtual void copy (CEventPump *other)
CMachine::ubit32 pump ()
void setPump (CMachine::ubit32 pump)
void setState (bool state)
bool state ()
virtual ~CEventPump ()

Private Attributes

CMachine::ubit32 mPump
bool mState

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 ceventpump.h.


Constructor & Destructor Documentation

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

Definition at line 26 of file ceventpump.cpp.

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

00027  : CEvent(sender)
00028  , mPump(0)
00029  , mState(false)
00030 {
00031     setType(Pump);
00032 }

Here is the call graph for this function:

PikeAero::CEventPump::CEventPump ( CObject sender,
CMachine::ubit32  pump,
bool  state 
)

Definition at line 34 of file ceventpump.cpp.

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

00035  : CEvent(sender)
00036  , mPump(pump)
00037  , mState(state)
00038 {
00039     setType(Pump);
00040 }

Here is the call graph for this function:

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

Definition at line 36 of file ceventpump.h.

References copy().

00036 {copy(other);}

Here is the call graph for this function:

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

Definition at line 42 of file ceventpump.cpp.

00043 {
00044 }


Member Function Documentation

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

Definition at line 46 of file ceventpump.cpp.

References pump(), setPump(), setState(), and state().

Referenced by CEventPump().

00047 {
00048     inherited::copy( other );
00049     setState( other->state() );
00050     setPump( other->pump() );
00051 }

Here is the call graph for this function:

Here is the caller graph for this function:

CMachine::ubit32 PikeAero::CEventPump::pump (  )  [inline]

Definition at line 40 of file ceventpump.h.

References mPump.

Referenced by copy().

00040 {return mPump;}

Here is the caller graph for this function:

void PikeAero::CEventPump::setPump ( CMachine::ubit32  pump  )  [inline]

Definition at line 43 of file ceventpump.h.

References mPump.

Referenced by copy().

00043 {mPump=pump;}

Here is the caller graph for this function:

void PikeAero::CEventPump::setState ( bool  state  )  [inline]

Definition at line 44 of file ceventpump.h.

References mState.

Referenced by copy().

00044 {mState=state;}

Here is the caller graph for this function:

bool PikeAero::CEventPump::state (  )  [inline]

Definition at line 41 of file ceventpump.h.

References mState.

Referenced by copy().

00041 {return mState;}

Here is the caller graph for this function:


Field Documentation

Definition at line 47 of file ceventpump.h.

Referenced by pump(), and setPump().

Definition at line 48 of file ceventpump.h.

Referenced by setState(), and state().


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

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