summaryrefslogtreecommitdiff
path: root/AudioManagerUtilities/include/CAmWatchdog.h
diff options
context:
space:
mode:
authorGENIVI Audio Manager Maintainer <genivi-maint-audiomanager@smtp1.genivi.org>2018-07-12 17:11:02 +0200
committerGitHub <noreply@github.com>2018-07-12 17:11:02 +0200
commit4f261b37238d310cc74ca5b1d9ca244ec3c5b70e (patch)
treed0e8c492a9da884aa57f6464dc515605eba705e0 /AudioManagerUtilities/include/CAmWatchdog.h
parentf93c2b7d4840b181a6375da2bde0a3679278a6b6 (diff)
parent95c696f818b6840bcbefe6d376ff01fa02dfd772 (diff)
downloadaudiomanager-4f261b37238d310cc74ca5b1d9ca244ec3c5b70e.tar.gz
Merge pull request #35 from JensLorenz/issue_24_clean_up_whitespace
Issue #24 clean up whitespace
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 */