#ifndef _WATCHDOG_WATCHDOGSERVICE_HPP_ #define _WATCHDOG_WATCHDOGSERVICE_HPP_ #ifndef _WATCHDOG_SERVICE_HPP_ #include #endif #ifndef _THREAD_MESSAGETHREAD_HPP_ #include #endif #ifndef _THREAD_THREADCALLBACK_HPP_ #include #endif class WatchDogService : public Service, private MessageThread { public: WatchDogService(); virtual ~WatchDogService(); protected: virtual bool initialize(void); virtual void controlStop(void); virtual void controlPause(void); virtual void controlContinue(void); virtual void controlInterrogate(void); virtual void controlShutdown(void); private: DWORD threadHandler(ThreadMessage &threadMessage); void thHandleStart(); ThreadCallback mThreadHandler; Event mServiceEvent; }; #endif