MovingEar Class Reference

#include <MovingEar.h>

List of all members.

Public Member Functions

 MovingEar ()
virtual ~MovingEar ()
virtual OStatus DoInit (const OSystemEvent &event)
virtual OStatus DoStart (const OSystemEvent &event)
virtual OStatus DoStop (const OSystemEvent &event)
virtual OStatus DoDestroy (const OSystemEvent &event)
void Ready (const OReadyEvent &event)

Public Attributes

OSubject * subject [numOfSubject]
OObserver * observer [numOfObserver]

Private Member Functions

void OpenPrimitives ()
void NewCommandVectorData ()
void MoveEar ()

Private Attributes

MovingEarState movingEarState
OPrimitiveID earID [NUM_EARS]
RCRegion * region [NUM_COMMAND_VECTOR]

Static Private Attributes

const size_t NUM_COMMAND_VECTOR = 2
const size_t NUM_EARS = 2


Constructor & Destructor Documentation

MovingEar::MovingEar  ) 
 

Definition at line 17 of file MovingEar.cc.

References earID, MES_IDLE, and region.

virtual MovingEar::~MovingEar  )  [inline, virtual]
 

Definition at line 33 of file MovingEar.h.


Member Function Documentation

OStatus MovingEar::DoDestroy const OSystemEvent &  event  )  [virtual]
 

Definition at line 71 of file MovingEar.cc.

OStatus MovingEar::DoInit const OSystemEvent &  event  )  [virtual]
 

Definition at line 24 of file MovingEar.cc.

References NewCommandVectorData(), and OpenPrimitives().

OStatus MovingEar::DoStart const OSystemEvent &  event  )  [virtual]
 

Definition at line 44 of file MovingEar.cc.

References MoveEar(), and movingEarState.

OStatus MovingEar::DoStop const OSystemEvent &  event  )  [virtual]
 

Definition at line 58 of file MovingEar.cc.

References movingEarState.

void MovingEar::MoveEar  )  [private]
 

Definition at line 143 of file MovingEar.cc.

References region, and subject.

Referenced by DoStart(), and Ready().

void MovingEar::NewCommandVectorData  )  [private]
 

Definition at line 102 of file MovingEar.cc.

References earID, NUM_EARS, and region.

Referenced by DoInit().

void MovingEar::OpenPrimitives  )  [private]
 

Definition at line 89 of file MovingEar.cc.

References earID.

Referenced by DoInit().

void MovingEar::Ready const OReadyEvent &  event  ) 
 

Definition at line 78 of file MovingEar.cc.

References MoveEar(), and movingEarState.


Member Data Documentation

OPrimitiveID MovingEar::earID[NUM_EARS] [private]
 

Definition at line 54 of file MovingEar.h.

Referenced by MovingEar(), NewCommandVectorData(), and OpenPrimitives().

MovingEarState MovingEar::movingEarState [private]
 

Definition at line 53 of file MovingEar.h.

Referenced by DoStart(), DoStop(), and Ready().

const size_t MovingEar::NUM_COMMAND_VECTOR = 2 [static, private]
 

Definition at line 50 of file MovingEar.h.

const size_t MovingEar::NUM_EARS = 2 [static, private]
 

Definition at line 51 of file MovingEar.h.

Referenced by NewCommandVectorData().

OObserver* MovingEar::observer[numOfObserver]
 

Definition at line 36 of file MovingEar.h.

RCRegion* MovingEar::region[NUM_COMMAND_VECTOR] [private]
 

Definition at line 55 of file MovingEar.h.

Referenced by MoveEar(), MovingEar(), and NewCommandVectorData().

OSubject* MovingEar::subject[numOfSubject]
 

Definition at line 35 of file MovingEar.h.

Referenced by MoveEar().


The documentation for this class was generated from the following files:
Generated on Sun Dec 2 23:04:34 2007 for openSDK by  doxygen 1.3.9.1