00001 /* -- 2007-05-07 -- 00002 * ardev - an augmented reality library for robot developers 00003 * Copyright 2005-2007 - Toby Collett (ardev _at_ plan9.net.nz) 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2.1 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with this library; if not, write to the Free Software 00017 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 * 00019 */ 00020 #ifndef CM_DC1394_H_ 00021 #define CM_DC1394_H_ 00022 00023 #include <ardev/ardevconfig.h> 00024 #ifdef HAVE_DC1394 00025 00026 00027 #include "cm_objecthandler.h" 00028 #include "cm_parameter.h" 00029 #include <ardev/capture.h> 00030 00031 void RegisterDC1394ObjectHandlers(); 00032 00033 class CaptureDC1394Handler : public CaptureObjectHandler 00034 { 00035 public: 00036 CaptureDC1394Handler(); 00037 ~CaptureDC1394Handler(); 00038 00039 CaptureDC1394 & GetObject(); 00040 void RemoveObject(); 00041 00042 static ObjectHandler * CreateHandler() {return static_cast<ObjectHandler * > (new CaptureDC1394Handler);}; 00043 protected: 00044 CaptureDC1394 * Obj; 00045 }; 00046 00047 #endif 00048 #endif /*CM_DC1394_H_*/