MotionAgents Class Reference

#include <MotionAgents.h>

List of all members.

Public Member Functions

 MotionAgents ()
virtual ~MotionAgents ()
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 NotifyCommand (const ONotifyEvent &event)
void ReadyEffector (const OReadyEvent &event)

Public Attributes

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

Private Attributes

MotionAgentsState motionAgentsState
MoNetAgentManager moNetAgentManager
NeutralAgent neutralAgent
MTNAgent mtnAgent
NeutralAgent7 neutralAgent7
MTNAgent7 mtnAgent7
MTNWALKAgent7 mtnwalkAgent7


Constructor & Destructor Documentation

MotionAgents::MotionAgents  ) 
 

Definition at line 18 of file MotionAgents.cc.

References MAS_IDLE.

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

Definition at line 34 of file MotionAgents.h.


Member Function Documentation

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

Definition at line 79 of file MotionAgents.cc.

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

Definition at line 24 of file MotionAgents.cc.

References MoNetAgentManager::InitDRX1000(), MoNetAgentManager::InitDRX900(), moNetAgentManager, mtnAgent, mtnAgent7, mtnwalkAgent7, neutralAgent, neutralAgent7, and MoNetAgentManager::RegisterMoNetAgent().

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

Definition at line 56 of file MotionAgents.cc.

References moNetAgentManager, motionAgentsState, MoNetAgentManager::Start(), and subject.

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

Definition at line 68 of file MotionAgents.cc.

References motionAgentsState.

void MotionAgents::NotifyCommand const ONotifyEvent &  event  ) 
 

Definition at line 86 of file MotionAgents.cc.

References moNetAgentManager, motionAgentsState, MoNetAgentManager::NotifyCommand(), observer, MoNetAgentResult::status, and subject.

void MotionAgents::ReadyEffector const OReadyEvent &  event  ) 
 

Definition at line 104 of file MotionAgents.cc.

References moNetAgentManager, motionAgentsState, MoNetAgentManager::ReadyEffector(), MoNetAgentResult::status, and subject.


Member Data Documentation

MoNetAgentManager MotionAgents::moNetAgentManager [private]
 

Definition at line 49 of file MotionAgents.h.

Referenced by DoInit(), DoStart(), NotifyCommand(), and ReadyEffector().

MotionAgentsState MotionAgents::motionAgentsState [private]
 

Definition at line 48 of file MotionAgents.h.

Referenced by DoStart(), DoStop(), NotifyCommand(), and ReadyEffector().

MTNAgent MotionAgents::mtnAgent [private]
 

Definition at line 51 of file MotionAgents.h.

Referenced by DoInit().

MTNAgent7 MotionAgents::mtnAgent7 [private]
 

Definition at line 53 of file MotionAgents.h.

Referenced by DoInit().

MTNWALKAgent7 MotionAgents::mtnwalkAgent7 [private]
 

Definition at line 54 of file MotionAgents.h.

Referenced by DoInit().

NeutralAgent MotionAgents::neutralAgent [private]
 

Definition at line 50 of file MotionAgents.h.

Referenced by DoInit().

NeutralAgent7 MotionAgents::neutralAgent7 [private]
 

Definition at line 52 of file MotionAgents.h.

Referenced by DoInit().

OObserver* MotionAgents::observer[numOfObserver]
 

Definition at line 37 of file MotionAgents.h.

Referenced by NotifyCommand().

OSubject* MotionAgents::subject[numOfSubject]
 

Definition at line 36 of file MotionAgents.h.

Referenced by DoStart(), NotifyCommand(), and ReadyEffector().


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