#include <revolve.h>
Inheritance diagram for Online:
Public Member Functions | |
Online (int sn, Checkpoint *c, bool o) | |
This constructor needs the number of snaps for the Schedule Constructor and a bool parameter. | |
Online (Online &o) | |
This is the Copy Constructor. | |
ACTION::action | revolve (ostream &str) |
int | get_check () |
This function returns the index of the last stored checkpoint. | |
int | get_capo () |
int | get_fine () |
void | set_fine (int) |
bool | get_output () |
This function returns the variable output. | |
void | set_capo (int c) |
~Online () | |
Protected Attributes | |
int | check |
check is last stored checkpoint | |
bool | output |
output=true means that special information is printed on the screen | |
int | capo |
capo is the temporary fine |
This class is the basic class for all Online Checkpointing schedules.
Definition at line 143 of file revolve.h.
Online::Online | ( | int | sn, | |
Checkpoint * | c, | |||
bool | o | |||
) |
This constructor needs the number of snaps for the Schedule Constructor and a bool parameter.
Online::Online | ( | Online & | o | ) |
This is the Copy Constructor.
Online::~Online | ( | ) |
ACTION::action Online::revolve | ( | ostream & | str | ) | [virtual] |
int Online::get_check | ( | ) | [virtual] |
int Online::get_capo | ( | ) | [virtual] |
int Online::get_fine | ( | ) | [virtual] |
void Online::set_fine | ( | int | ) | [virtual] |
bool Online::get_output | ( | ) |
void Online::set_capo | ( | int | c | ) | [virtual] |
int Online::check [protected] |
check is last stored checkpoint
Definition at line 171 of file revolve.h.
Referenced by Online_r2::get_check(), and get_check().
bool Online::output [protected] |
output=true means that special information is printed on the screen
Definition at line 173 of file revolve.h.
Referenced by Online_r2::get_output(), and get_output().
int Online::capo [protected] |
capo is the temporary fine
Definition at line 175 of file revolve.h.
Referenced by Online_r3::get_capo(), Online_r2::get_capo(), get_capo(), and set_capo().