00001 /** 00002 * @file DefaultSpecialVision.cpp 00003 * 00004 * Implementation of class DefaultSpecialVision 00005 * 00006 * @author <A href=mailto:juengel@informatik.hu-berlin.de>Matthias Juengel</A> 00007 */ 00008 00009 #include "DefaultSpecialVision.h" 00010 00011 DefaultSpecialVision::DefaultSpecialVision(const SpecialVisionInterfaces& interfaces) 00012 : SpecialVision(interfaces), barCodeReader(interfaces), autoShutter(interfaces), challengeSpecialVision(interfaces) 00013 { 00014 } 00015 00016 void DefaultSpecialVision::execute() 00017 { 00018 00019 00020 switch(specialVisionRequest.specialVisionRequest) 00021 { 00022 case SpecialVisionRequest::none: 00023 break; 00024 case SpecialVisionRequest::barCode: 00025 barCodeReader.execute(); 00026 break; 00027 case SpecialVisionRequest::autoShutter: 00028 autoShutter.execute(); 00029 break; 00030 case SpecialVisionRequest::challengeGetOrientation: 00031 case SpecialVisionRequest::challengeLearnOrientation: 00032 case SpecialVisionRequest::challengeFindOrientation: 00033 challengeSpecialVision.execute(); 00034 break; 00035 default: 00036 break; 00037 } 00038 00039 } 00040 00041 /* 00042 * Change log : 00043 * 00044 * $Log: DefaultSpecialVision.cpp,v $ 00045 * Revision 1.5 2004/07/01 18:42:08 hamerla 00046 * SLAM challenge find Orientation 00047 * 00048 * Revision 1.4 2004/06/28 18:43:31 wachter 00049 * - bugfixes 00050 * 00051 * Revision 1.3 2004/06/28 12:01:34 kerdels 00052 * added a Special Vision AutoShutter... 00053 * 00054 * Revision 1.2 2004/06/28 11:54:55 wachter 00055 * Added Special-Vision classes for Challenge 00056 * 00057 * Revision 1.1.1.1 2004/05/22 17:22:25 cvsadm 00058 * created new repository GT2004_WM 00059 * 00060 * Revision 1.2 2004/03/08 02:11:53 roefer 00061 * Interfaces should be const 00062 * 00063 * Revision 1.1 2003/10/06 14:10:13 cvsadm 00064 * Created GT2004 (M.J.) 00065 * 00066 * Revision 1.1.1.1 2003/07/02 09:40:24 cvsadm 00067 * created new repository for the competitions in Padova from the 00068 * tamara CVS (Tuesday 2:00 pm) 00069 * 00070 * removed unused solutions 00071 * 00072 * Revision 1.4 2003/01/29 10:37:21 juengel 00073 * Added BarCodeReader. 00074 * 00075 * Revision 1.3 2002/11/19 15:43:03 dueffert 00076 * doxygen comments corrected 00077 * 00078 * Revision 1.2 2002/09/17 23:55:22 loetzsch 00079 * - unraveled several datatypes 00080 * - changed the WATCH macro 00081 * - completed the process restructuring 00082 * 00083 * Revision 1.1 2002/09/10 15:36:16 cvsadm 00084 * Created new project GT2003 (M.L.) 00085 * - Cleaned up the /Src/DataTypes directory 00086 * - Removed challenge related source code 00087 * - Removed processing of incoming audio data 00088 * - Renamed AcousticMessage to SoundRequest 00089 * 00090 * Revision 1.7 2002/07/23 13:33:40 loetzsch 00091 * new streaming classes 00092 * 00093 * removed many #include statements 00094 * 00095 * Revision 1.6 2002/06/28 10:26:19 roefer 00096 * OUTPUT is possible in constructors 00097 * 00098 * Revision 1.5 2002/06/03 04:59:37 brunn 00099 * BarPerceptor::execute can now be called since colortable is provided 00100 * 00101 * Revision 1.4 2002/06/02 23:21:09 roefer 00102 * Single color table and progress in LinesSelfLocator 00103 * 00104 * Revision 1.3 2002/05/17 11:51:48 brunn 00105 * first experimental version of the barPerceptor 00106 * 00107 * Revision 1.2 2002/05/15 10:46:22 brunn 00108 * New Roles for Colaboration Challenge 2002 00109 * Extended draft for bar-perception 00110 * 00111 * Revision 1.1 2002/05/10 17:40:26 juengel 00112 * Added SpecialVision and SpecialPercept. 00113 * 00114 */