home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2003 March / VPR0303A.ISO / AIBO / MoNet / MotionAgents / MoNetAgent.cc < prev    next >
C/C++ Source or Header  |  2002-12-19  |  1KB  |  54 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. #include "MoNetAgent.h"
  13.  
  14. MoNetAgent::MoNetAgent() : moNetAgentManager(0)
  15. {
  16. }
  17.  
  18. void
  19. MoNetAgent::SetMoNetAgentManager(MoNetAgentManager* m)
  20. {
  21.     moNetAgentManager = m;
  22. }
  23.  
  24. void
  25. MoNetAgent::Init()
  26. {
  27. }
  28.  
  29. bool
  30. MoNetAgent::AreYou(MoNetAgentID agent)
  31. {
  32.     return false;
  33. }
  34.  
  35. void
  36. MoNetAgent::NotifyCommand(const MoNetAgentCommand& command,
  37.                           MoNetAgentResult* result)
  38. {
  39.     result->agent      = monetagentUNDEF;
  40.     result->index      = -1;
  41.     result->status     = monetUNDEF;
  42.     result->endPosture = monetpostureUNDEF;
  43. }
  44.  
  45. void
  46. MoNetAgent::ReadyEffector(const MoNetAgentCommand& command,
  47.                           MoNetAgentResult* result)
  48. {
  49.     result->agent      = monetagentUNDEF;
  50.     result->index      = -1;
  51.     result->status     = monetUNDEF;
  52.     result->endPosture = monetpostureUNDEF;
  53. }
  54.