Digi.Drivers.WatchDog Class Reference

WatchDog class This class manage create WatchDogs. More...

List of all members.

Public Types

enum  WatchDogAction { NoDefaultAction = 0, KillProcess = 1, ResetDevice = 2 }
 WatchDog Action enumeration Enumeration of the possible actions to take. More...

Public Member Functions

 WatchDog (uint TimeOut, uint Action)
 Constructor, need TimeOut and default action.
bool Start ()
 Method that starts the watchdog.
bool Refresh ()
 Method that refreshes the watchdog.


Detailed Description

WatchDog class This class manage create WatchDogs.


Member Enumeration Documentation

WatchDog Action enumeration Enumeration of the possible actions to take.

            // Use of the constants
            WatchDogAction.NoDefaultAction
            WatchDogAction.KillProcess
            WatchDogAction.ResetDevice


Constructor & Destructor Documentation

Digi::Drivers.WatchDog::WatchDog ( uint  TimeOut,
uint  Action 
)

Constructor, need TimeOut and default action.

Parameters:
TimeOut TimeOut to be configured
Action The Action to be executed


Member Function Documentation

bool Digi.Drivers.WatchDog.Refresh (  ) 

Method that refreshes the watchdog.

bool Refresh()

Returns:
true indicates success

bool Digi.Drivers.WatchDog.Start (  ) 

Method that starts the watchdog.

bool Start()

Returns:
true indicates success


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

Generated on Fri Oct 16 19:28:05 2009 by  doxygen 1.5.9