camera/CameraServer.h

00001 /****************************************************************************/
00002 /* Copyright (c) 2008 MBARI                                                 */
00003 /* MBARI Proprietary Information. All rights reserved.                      */
00004 /****************************************************************************/
00005 /* Summary  :                                                               */
00006 /* Filename : CameraServer.h                                                */
00007 /* Author   :                                                               */
00008 /* Project  :                                                               */
00009 /* Version  : 1.0                                                           */
00010 /* Created  : 05/01/2008                                                       */
00011 /* Modified :                                                               */
00012 /* Archived :                                                               */
00013 /****************************************************************************/
00014 /* Modification History:                                                    */
00015 /****************************************************************************/
00016 #ifndef _CameraServer_H
00017 #define _CameraServer_H
00018 #include <process.h>
00019 #include "CameraIF_SK.h"
00020 #include "CameraOutput.h"
00021 #include "SerialParameters.h"
00022 
00024 class CameraServer: public CameraIF_SK {
00025 
00026 public:
00027 
00028   CameraServer(const char *name);
00029   CameraServer(const char *driverName, SerialParameters *serialParams, 
00030                Boolean test=False);
00031   ~CameraServer();
00032 
00033 
00034 protected:
00035 
00036   virtual void start(long nPhotos, long nSamplePeriods, double distance);
00037   virtual void get( CameraIF::Data *data );
00038   virtual int spawnAuxTasks();
00039 
00040 
00041 private:
00043   CameraOutput *_cameraOutput;
00045   SerialParameters *_serialParams;
00047   const char *_driverName;
00049   Boolean _test;
00050 };
00051 
00052 #endif

Generated on Tue Jul 15 13:10:21 2008 for Benthic Imaging AUV by  doxygen 1.5.4