PPL  1.2
Parma_Polyhedra_Library::Watchdog Class Reference

A watchdog timer. More...

#include <Watchdog_defs.hh>

Public Member Functions

template<typename Flag_Base , typename Flag >
 Watchdog (long csecs, const Flag_Base *volatile &holder, Flag &flag)
 
 Watchdog (long csecs, void(*const function)())
 Constructor: if not reset, the watchdog will trigger after csecs centiseconds, invoking handler function. More...
 
 ~Watchdog ()
 Destructor. More...
 

Detailed Description

A watchdog timer.

Definition at line 51 of file Watchdog_defs.hh.

Constructor & Destructor Documentation

template<typename Flag_Base , typename Flag >
Parma_Polyhedra_Library::Watchdog::Watchdog ( long  csecs,
const Flag_Base *volatile &  holder,
Flag &  flag 
)

Definition at line 82 of file Watchdog_inlines.hh.

84  {
85  throw std::logic_error("PPL::Watchdog::Watchdog objects not supported:"
86  " system does not provide setitimer()");
87 }
Parma_Polyhedra_Library::Watchdog::Watchdog ( long  csecs,
void(*)()  function 
)
inline

Constructor: if not reset, the watchdog will trigger after csecs centiseconds, invoking handler function.

Definition at line 90 of file Watchdog_inlines.hh.

90  {
91  throw std::logic_error("PPL::Watchdog::Watchdog objects not supported:"
92  " system does not provide setitimer()");
93 }
Parma_Polyhedra_Library::Watchdog::~Watchdog ( )
inline

Destructor.

Definition at line 96 of file Watchdog_inlines.hh.

96  {
97 }

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