MovingEar7 Class Reference

#include <MovingEar7.h>

List of all members.

Public Member Functions

 MovingEar7 ()
virtual ~MovingEar7 ()
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

MovingEar7State 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

MovingEar7::MovingEar7  ) 
 

Definition at line 17 of file MovingEar7.cc.

References earID, MES_IDLE, and region.

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

Definition at line 33 of file MovingEar7.h.


Member Function Documentation

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

Definition at line 71 of file MovingEar7.cc.

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

Definition at line 24 of file MovingEar7.cc.

References NewCommandVectorData(), and OpenPrimitives().

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

Definition at line 44 of file MovingEar7.cc.

References MoveEar(), and movingEarState.

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

Definition at line 58 of file MovingEar7.cc.

References movingEarState.

void MovingEar7::MoveEar  )  [private]
 

Definition at line 185 of file MovingEar7.cc.

References region, and subject.

Referenced by DoStart(), and Ready().

void MovingEar7::NewCommandVectorData  )  [private]
 

Definition at line 102 of file MovingEar7.cc.

References earID, NUM_EARS, and region.

Referenced by DoInit().

void MovingEar7::OpenPrimitives  )  [private]
 

Definition at line 89 of file MovingEar7.cc.

References earID.

Referenced by DoInit().

void MovingEar7::Ready const OReadyEvent &  event  ) 
 

Definition at line 78 of file MovingEar7.cc.

References MoveEar(), and movingEarState.


Member Data Documentation

OPrimitiveID MovingEar7::earID[NUM_EARS] [private]
 

Definition at line 54 of file MovingEar7.h.

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

MovingEar7State MovingEar7::movingEarState [private]
 

Definition at line 53 of file MovingEar7.h.

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

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

Definition at line 50 of file MovingEar7.h.

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

Definition at line 51 of file MovingEar7.h.

Referenced by NewCommandVectorData().

OObserver* MovingEar7::observer[numOfObserver]
 

Definition at line 36 of file MovingEar7.h.

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

Definition at line 55 of file MovingEar7.h.

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

OSubject* MovingEar7::subject[numOfSubject]
 

Definition at line 35 of file MovingEar7.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