IAsyncReboot.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:  $
00015 //  $HeadURL: http://svn.mobotix.net/svn/mxsdk/src/shared/trunk/interfaces/IASyncReboot.h $
00016 //
00018 
00019 
00020 
00021 #ifndef __MX_IASYNCREBOOT_H__
00022 #define __MX_IASYNCREBOOT_H__
00023 
00024 
00025 
00026 #define MX_IASYNCREBOOT_ID "IASyncReboot"
00027 
00028 
00029 #include "IInterface.h"
00030 
00031 #include <mx_types.h>
00032 // SDK includes
00033 #include <mxm/core/mxmStringList.h>
00034 #include <mxm/core/mxmQtSlot.h>
00035 
00036 
00037 namespace mx {
00038    
00040 
00043 class IAsyncReboot : public virtual IInterface {
00044  
00045 public:
00046         static const u32 NoTimeout = (u32)(-1);
00047 
00048 
00049 
00052         virtual bool isRebooting() = 0;
00053 
00054 
00059         virtual void reboot(const mxmQtSlot& slot, 
00060                                  void* context,
00061                                                           u32 UTimeOutMs = 60000) = 0;
00062 
00070         virtual bool needReboot() = 0;
00071 
00072 
00073 };      
00074 
00075 
00076 };  // namespace mx
00077 
00078 
00079 #endif   // __MX_IASYNCREBOOT_H__

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