ISupportsEventConfiguration.h

00001 //           ///          //                                  C++ Cross Platform
00002 //          /////        ////
00003 //         /// XXX     XXX ///            ///////////   /////////     ///   ///
00004 //        ///    XXX XXX    ///         ///             ///    ///   ///  ///
00005 //       ///       XXX       ///         /////////     ///      //  //////
00006 //      ///      XXX XXX      ///               ///   ///    ///   ///  ///
00007 //     ////    XXX     XXX    ////    ////////////  //////////    ///   ///
00008 //    ////                     ////
00009 //   ////  M  O  B  O  T  I  X  ////////////////////////////////////////////////
00010 //  //// Security Vision Systems //////////////////////////////////////////////
00011 //
00012 //  $Author: dgr $
00013 //  $LastChangedBy: dgr $
00014 //  $LastChangedDate: 2007-03-06 16:42:19 +0100 (Di, 06 Mrz 2007) $
00015 //  $HeadURL: http://svn.mobotix.net/svn/mxsdk/src/shared/trunk/interfaces/ISupportsEventConfiguration.h $
00016 //
00018 
00019 
00020 
00021 #ifndef __MX_ISUPPORTSEVENTCONFIGURATION_H__
00022 #define __MX_ISUPPORTSEVENTCONFIGURATION_H__
00023 
00024 
00025 
00026 #define MX_ISUPPORTSEVENTCONFIGURATION_ID "ISupportsEventConfiguration"
00027         
00028 
00029 
00030 #include "IInterface.h"
00031 #include "IVideoMotionWindow.h"
00032 #include "../mx_types.h"
00033 #include "../mx_error_codes.h"
00034 #include "../mx_enum_config.h"
00035 
00036 #include <mxm/core/mxmString.h>
00037 #include <mxm/core/mxmList.h>
00038 
00039 
00040 namespace mx {
00041 
00043         class VideoMotionWindow : public mxmObject {
00044         
00045         public:
00046                 VideoMotionWindow(){
00047                         x=y=width=height=area=max_area=0;
00048                         eye=eRightEye;
00049                 }
00050         
00051         public:
00052                 int x;
00053                 int y;
00054                 int width;
00055                 int height;
00056                 int area;
00057                 int max_area;
00058 
00059                 ECamEye eye;
00060         };
00061 
00063 
00066 class ISupportsEventConfiguration : IInterface {
00067 
00068 public:
00070 
00071         virtual bool                            isVideoMotion1Supported()               = 0;
00072         virtual EErrorCode              setVideoMotion1(bool enable)    = 0;
00073         virtual bool                            videoMotion1()                                          = 0;
00075 
00077 
00078         virtual bool                            isVisualAlarmSupported() = 0;
00079         virtual EErrorCode              setVisualAlarm(bool enable) = 0;
00080         virtual bool                            visualAlarm() = 0;
00082 
00084 
00085         virtual EErrorCode                              setVideoMotion1Window( mxmList *windows ) = 0;
00086         virtual mxm::smart<mxmList>     videoMotion1Windows( ) = 0;
00088 
00089 };
00090 
00091 
00092 };
00093 
00094 
00095 
00096 #endif   // __MX_ISUPPORTSEVENTCONFIGURATION_H__

Generated on Fri Jun 29 17:21:04 2007 for MxPEG SDK by  doxygen 1.4.6