camera/CameraOutput.h

Go to the documentation of this file.
00001 /****************************************************************************/
00002 /* Copyright (c) 2008 MBARI                                                 */
00003 /* MBARI Proprietary Information. All rights reserved.                      */
00004 /****************************************************************************/
00005 /* Summary  :                                                               */
00006 /* Filename : CameraOutput.h                                                */
00007 /* Author   : rsm                                                           */
00008 /* Project  :                                                               */
00009 /* Version  : 1.0                                                           */
00010 /* Created  : 05/01/2008                                                    */
00011 /* Modified :                                                               */
00012 /* Archived :                                                               */
00013 /****************************************************************************/
00014 /* Modification History:                                                    */
00015 /****************************************************************************/
00016 /*-----------------------------------------------------------------------*
00017   CLASS: CameraOutput
00018 
00019   DESCRIPTION: Shared mem for camera server and driver.
00020 
00021   $Id: CameraOutput.h,v 1.3 2008/07/09 15:31:02 headley Exp $
00022  *-----------------------------------------------------------------------*/
00024 #ifndef _CAMERAOUTPUT_H
00025 #define _CAMERAOUTPUT_H
00026 
00027 #include <time.h>
00028 #include "SharedData.h"
00029 #include "DeviceIF.h"
00030 #include "CameraIF.h"
00031 
00033 #define CameraOutputName "CameraOutput"
00034 
00036 #define NCAMERAS 10
00037 
00040 class CameraOutput: public SharedData {
00041 
00042 public:
00043 
00044 #if 0
00045   //
00046   struct Data 
00047   {
00048     short FireCamera;
00049     long nPhotos;
00050     long nSamplePeriods;
00051     double distance;
00052     CameraIF::CameraState cameraState;
00053   };
00054   Data data;
00055 #endif
00056 
00057   CameraIF::Data data;
00058 
00059   CameraOutput( Access access = NoAccess,
00060                   Boolean init = False );
00061 
00062   ~CameraOutput();
00063 
00064 
00065   void read();
00066   void write();
00067 };
00068 
00069 #endif

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