00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
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__