Public Slots | Signals | Public Member Functions

MeeGo::QmProcessWatchdog Class Reference

Provides an interface for the DSME process watchdog service. More...

#include <qmwatchdog.h>

List of all members.

Public Slots

bool pong ()

Signals

void ping ()

Public Member Functions

 QmProcessWatchdog (QObject *parent=NULL)
 ~QmProcessWatchdog ()
bool start ()
bool stop ()

Detailed Description

Provides an interface for the DSME process watchdog service.

Scope:
Internal
Credential:
dsme::DeviceStateControl Resource token required to use the process watchdog service.

Definition at line 46 of file qmwatchdog.h.


Constructor & Destructor Documentation

MeeGo::QmProcessWatchdog::QmProcessWatchdog ( QObject *  parent = NULL  ) 
MeeGo::QmProcessWatchdog::~QmProcessWatchdog (  ) 

Member Function Documentation

void MeeGo::QmProcessWatchdog::ping (  )  [signal]

Sent when the DSME process watchdog service send a ping request.

bool MeeGo::QmProcessWatchdog::pong (  )  [slot]

Sends a pong signal to the DSME process watchdog service to indicate that this process is still active.

Returns:
True if successful, false is not
bool MeeGo::QmProcessWatchdog::start (  ) 

Registers the current process to the DSME process watchdog service. After the registration, the ping() signal will be emitted periodically. The application should then call pong() function to avoid being killed.

Returns:
True if successful, false if not
bool MeeGo::QmProcessWatchdog::stop (  ) 

Unregisters the current process from the DSME process watchdog service.

Returns:
True if successful, false if not

The documentation for this class was generated from the following file: