CLICheckpointManager Class Reference

Class to trigger checkpoints on demand or after some other user set condition such as number of steps or run time. More...

#include <CLICheckpointManager.h>

Inheritance diagram for CLICheckpointManager:
Collaboration diagram for CLICheckpointManager:

List of all members.

Public Member Functions

 CLICheckpointManager (CLISaveManager &tsm)
 Construct with the SaveManager.
 ~CLICheckpointManager ()
 Destructor.
void checkpoint (std::ostream &out)
 Dump a checkpoint to the ostream "out".
void on ()
 Turn the manager on.
void off ()
 Turn the manager off.
void toggle ()
 Toggle the manager state.
void setInterval (uint64 iterations)
 Set checkpoint interval in MCMC step iterations.
void setTimer (time_t seconds)
 Set checkpoint interval in seconds.
void setCheckpointNow ()
 Take a checkpoint now!
bool getOnOff ()
 The manager state (true=on, false=off).

Friends

class boost::serialization::access


Detailed Description

Class to trigger checkpoints on demand or after some other user set condition such as number of steps or run time.
The documentation for this class was generated from the following file:

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:11 2010 by doxygen