home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2003 March / VPR0303A.ISO / AIBO / MoNet / MotionAgents / MoNetAgent.h < prev    next >
C/C++ Source or Header  |  2002-12-19  |  1KB  |  38 lines

  1. //
  2. // Copyright 2002 Sony Corporation 
  3. //
  4. // Permission to use, copy, modify, and redistribute this software for
  5. // non-commercial use is hereby granted.
  6. //
  7. // This software is provided "as is" without warranty of any kind,
  8. // either expressed or implied, including but not limited to the
  9. // implied warranties of fitness for a particular purpose.
  10. //
  11.  
  12. #ifndef MoNetAgent_h_DEFINED
  13. #define MoNetAgent_h_DEFINED
  14.  
  15. #include <MoNetData.h>
  16. #include "MoNetAgentManager.h"
  17.  
  18. class MoNetAgent {
  19. public:
  20.     MoNetAgent();
  21.     ~MoNetAgent() {}
  22.  
  23.     virtual void Init();
  24.     virtual bool AreYou(MoNetAgentID agent);
  25.     virtual void NotifyCommand(const MoNetAgentCommand& command,
  26.                                MoNetAgentResult* result);
  27.     virtual void ReadyEffector(const MoNetAgentCommand& command,
  28.                                MoNetAgentResult* result);
  29.  
  30. protected:
  31.     friend class MoNetAgentManager;
  32.     void SetMoNetAgentManager(MoNetAgentManager* m);
  33.  
  34.     MoNetAgentManager* moNetAgentManager;
  35. };
  36.  
  37. #endif // MoNetAgent_h_DEFINED
  38.