summaryrefslogtreecommitdiff
path: root/AudioManagerUtilities/include/CAmWatchdog.h
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerUtilities/include/CAmWatchdog.h')
-rw-r--r--[-rwxr-xr-x]AudioManagerUtilities/include/CAmWatchdog.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/AudioManagerUtilities/include/CAmWatchdog.h b/AudioManagerUtilities/include/CAmWatchdog.h
index 4449c75..bbd2c00 100755..100644
--- a/AudioManagerUtilities/include/CAmWatchdog.h
+++ b/AudioManagerUtilities/include/CAmWatchdog.h
@@ -35,15 +35,16 @@ namespace am
class CAmWatchdog
{
public:
- CAmWatchdog(CAmSocketHandler* CAmSocketHandler);
+ CAmWatchdog(CAmSocketHandler *CAmSocketHandler);
virtual ~CAmWatchdog();
- void startWatchdog(); //!< starts the watchdog by sending ready to systemD
- void timerCallback(sh_timerHandle_t handle, void * userData); //!< the watchdog timer callback
+ void startWatchdog(); //!< starts the watchdog by sending ready to systemD
+ void timerCallback(sh_timerHandle_t handle, void *userData); //!< the watchdog timer callback
+
TAmShTimerCallBack<CAmWatchdog> TimerCallback;
private:
- CAmSocketHandler* mpCAmSocketHandler; //!< pointer to the sockethandler
- sh_timerHandle_t mHandle; //!< handle of the timer
+ CAmSocketHandler *mpCAmSocketHandler; //!< pointer to the sockethandler
+ sh_timerHandle_t mHandle; //!< handle of the timer
};
} /* namespace am */