PersistenceControl Class Reference

PersistenceControl. More...

#include <PersistenceControl.h>

Collaboration diagram for PersistenceControl:

List of all members.

Static Public Member Functions

static void psave (string comment, ostream &console)
 Called by CLI when the "psave <comment>" command is issued.
static void pnewsession (string name, ostream &console)
 Called by CLI when the "pnewsession <session>" command is issued.
static void pnewsession (string name, string archive_type, ostream &console)
 Called by CLI when the "pnewsession <session> <archive_type>" command is issued.
static void psave (ostream &console)
 Called by CLI when the "psave" command is called with no state name specified.
static void prestore (string statename, ostream &console)
 Called by CLI when the prestore command is called with only a statename, indicating that the most recent version of the state should be restored.
static void prestore (string statename, uint32 version, ostream &console)
 Called by CLI when the prestore command is called with a statename and a version number.
static void phistory (string statename, int32 version, ostream &console)
 Called by CLI when the phistory command is called.
static void pmetainfo (string statename, uint32 version, ostream &console)
 Called by CLI when the pmetainfo command is called.
static void pmetainfo (string statename, ostream &console)
 Called by CLI when the pmetainfo command is called.
static void plist (ostream &console)
 Called by CLI when the plist command is called.
static void pversions (string statename, ostream &console)
 Called by CLI when the pversions command is called.
static void ckon (ostream &console)
 Turn checkpointing on.
static void ckoff (ostream &console)
 Turn checkpointing off.
static void cktoggle (ostream &console)
 Toggle the checkpointing state (on-->off and vice versa).
static void ckinterval (int interval, ostream &console)
 Set the checkpointing interval in MCMC steps.
static void cktimer (int timer, ostream &console)
 Set the checkpointing interval in seconds.
static void ckmanual (ostream &console)
 Take a checkpoint manually now.
static void ckcleanup ()
 Clean-up (that is delete) the checkpointing helper instances.


Detailed Description

PersistenceControl.

This is the interface used by CLI to save, restore, and query states.


Member Function Documentation

static void PersistenceControl::phistory ( string  statename,
int32  version,
ostream &  console 
) [static]

Called by CLI when the phistory command is called.

This lists the commands used to reach the specified state on the CLI console.

static void PersistenceControl::pmetainfo ( string  statename,
uint32  version,
ostream &  console 
) [static]

Called by CLI when the pmetainfo command is called.

This lists the metadata for the specified version.

static void PersistenceControl::pmetainfo ( string  statename,
ostream &  console 
) [static]

Called by CLI when the pmetainfo command is called.

This lists the matadate for ALL versions.

static void PersistenceControl::plist ( ostream &  console  )  [static]

Called by CLI when the plist command is called.

This prints a list of states out to the console in alphabetical order.

static void PersistenceControl::pversions ( string  statename,
ostream &  console 
) [static]

Called by CLI when the pversions command is called.

This prints a of available versions, along with the date they were created.


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:12 2010 by doxygen