BallTrackingHeadData.h

Go to the documentation of this file.
00001 //
00002 // Copyright 2002 Sony Corporation 
00003 //
00004 // Permission to use, copy, modify, and redistribute this software for
00005 // non-commercial use is hereby granted.
00006 //
00007 // This software is provided "as is" without warranty of any kind,
00008 // either expressed or implied, including but not limited to the
00009 // implied warranties of fitness for a particular purpose.
00010 //
00011 
00012 #ifndef BallTrackingHeadData_h
00013 #define BallTrackingHeadData_h
00014 
00015 #include <OPENR/OPENR.h>
00016 
00017 enum BallTrackingHeadStatus {
00018     BTH_SUCCESS,
00019     BTH_FAIL,
00020     BTH_BUSY,
00021     BTH_INVALID_ARG
00022 };
00023 
00024 enum BallTrackingHeadCommandType {
00025     BTHCMD_MOVE_TO_ZERO_POS,
00026     BTHCMD_MOVE_TO_SLEEPING,
00027     BTHCMD_PLAY_FOUND_SOUND,
00028     BTHCMD_PLAY_LOST_SOUND
00029 };
00030 
00031 struct BallTrackingHeadCommand {
00032     BallTrackingHeadCommandType type;
00033     
00034     BallTrackingHeadCommand(BallTrackingHeadCommandType t) : type(t) {}
00035 };
00036 
00037 struct BallTrackingHeadResult {
00038     BallTrackingHeadStatus      status;
00039 
00040     BallTrackingHeadResult(BallTrackingHeadStatus s) : status(s) {}
00041 };
00042 
00043 #endif // BallTrackingHeadData_h
00044 

Generated on Sun Dec 2 23:04:28 2007 for openSDK by  doxygen 1.3.9.1