#include <new_sim_watchdog.h>
Inheritance diagram for NewSimulatorWatchdog:
Public Member Functions | |
NewSimulatorWatchdog (NewSimulatorResource *res) | |
Constructor. | |
NewSimulatorWatchdog (NewSimulatorResource *res, SaHpiRdrT rdr, SaHpiWatchdogT wdt_data) | |
Full qualified constructor to fill an object with the parsed data. | |
~NewSimulatorWatchdog () | |
Destructor. | |
unsigned int | Num () const |
return the number of the watchdog | |
unsigned int | Oem () const |
return the Oem data of the watchdog | |
bool | CreateRdr (SaHpiRptEntryT &resource, SaHpiRdrT &rdr) |
A rdr structure is filled with the data. | |
void | Dump (NewSimulatorLog &dump) const |
Dump the Watchdog information. | |
SaErrorT | GetWatchdogInfo (SaHpiWatchdogT &watchdog) |
HPI function saHpiWatchdogTimerGet. | |
SaErrorT | SetWatchdogInfo (SaHpiWatchdogT &watchdog) |
HPI function saHpiWatchdogTimerSet. | |
SaErrorT | ResetWatchdog () |
HPI function saHpiWatchdogTimerReset. | |
Protected Member Functions | |
virtual bool | TriggerAction () |
Check whether the watchdog timer is running and trigger proper action. |
|
A rdr structure is filled with the data. This method is called by method NewSimulatorRdr::Populate().
Reimplemented from NewSimulatorRdr. |
|
Dump the Watchdog information.
Implements NewSimulatorRdr. |
|
HPI function saHpiWatchdogTimerGet. See also the description of the function inside the specification or header file. Copying the internal values and show the remaining time if the timer was started.
|
|
HPI function saHpiWatchdogTimerReset. See also the description of the function inside the specification or header file. Starting or resetting a watchdog timer if it is allowed
|
|
HPI function saHpiWatchdogTimerSet. See also the description of the function inside the specification or header file. Copying the internal reading values (if a read is allowed).
|
|
Check whether the watchdog timer is running and trigger proper action.
Implements NewSimulatorTimerThread. |