PROJECT Class Reference

#include <client_types_sim.h>

Collaboration diagram for PROJECT:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void update_duration_correction_factor (RESULT *)
bool contactable ()
bool runnable ()
bool downloading ()
bool potentially_runnable ()
bool nearly_runnable ()
bool overworked ()
void set_rrsim_proc_rate (double per_cpu_proc_rate, double rrs)
 PROJECT (CLIENT_STATE *gstate_ptr)
 ~PROJECT ()
void init ()
int parse_state (FILE *in)

Public Attributes

char master_url [256]
char authenticator [256]
std::string project_prefs
std::string project_specific_prefs
std::string gui_urls
double resource_share
char host_venue [256]
bool using_venue_specific_prefs
std::vector< std::string > scheduler_urls
char project_name [256]
char user_name [256]
char team_name [256]
double user_total_credit
double user_expavg_credit
double user_create_time
int rpc_seqno
int hostid
double host_total_credit
double host_expavg_credit
double host_create_time
int nrpc_failures
int master_fetch_failures
double min_rpc_time
double min_report_min_rpc_time
bool master_url_fetch_pending
bool sched_rpc_pending
bool trickle_up_pending
bool tentative
bool anonymous_platform
bool non_cpu_intensive
bool send_file_list
bool suspended_via_gui
bool dont_request_more_work
bool attached_via_acct_mgr
char code_sign_key [MAX_KEY_LEN]
double duration_correction_factor
std::vector< class RESULT * > active
std::vector< RESULT * > pending
double rrsim_proc_rate
double cpu_shortfall
int rr_sim_deadlines_missed
int deadlines_missed
double short_term_debt
double long_term_debt
double anticipated_debt
double wall_cpu_time_this_period
RESULTnext_runnable_result
int nactive_uploads
double work_request
int work_request_urgency
int nresults_returned
bool checked

Private Attributes

int file_xfer_failures_up
int file_xfer_failures_down
double next_file_xfer_up
double next_file_xfer_down
CLIENT_STATEgstate

Detailed Description

Note: gstate is a reference to CLIENT_STATE, so that code in cpu_sched.C will compile without changes syntax.


Constructor & Destructor Documentation

PROJECT::PROJECT CLIENT_STATE gstate_ptr  ) 
 

PROJECT::~PROJECT  )  [inline]
 


Member Function Documentation

bool PROJECT::contactable  ) 
 

bool PROJECT::downloading  ) 
 

void PROJECT::init  ) 
 

bool PROJECT::nearly_runnable  ) 
 

bool PROJECT::overworked  ) 
 

int PROJECT::parse_state FILE *  in  ) 
 

bool PROJECT::potentially_runnable  ) 
 

bool PROJECT::runnable  ) 
 

void PROJECT::set_rrsim_proc_rate double  per_cpu_proc_rate,
double  rrs
 

void PROJECT::update_duration_correction_factor RESULT  ) 
 


Member Data Documentation

std::vector<class RESULT*> PROJECT::active
 

bool PROJECT::anonymous_platform
 

double PROJECT::anticipated_debt
 

bool PROJECT::attached_via_acct_mgr
 

char PROJECT::authenticator[256]
 

bool PROJECT::checked
 

char PROJECT::code_sign_key[MAX_KEY_LEN]
 

double PROJECT::cpu_shortfall
 

int PROJECT::deadlines_missed
 

bool PROJECT::dont_request_more_work
 

double PROJECT::duration_correction_factor
 

int PROJECT::file_xfer_failures_down [private]
 

int PROJECT::file_xfer_failures_up [private]
 

CLIENT_STATE& PROJECT::gstate [private]
 

gstate is a reference to CLIENT_STATE, so that code in cpu_sched.C will compile without changes in syntax.

std::string PROJECT::gui_urls
 

double PROJECT::host_create_time
 

double PROJECT::host_expavg_credit
 

double PROJECT::host_total_credit
 

char PROJECT::host_venue[256]
 

int PROJECT::hostid
 

double PROJECT::long_term_debt
 

int PROJECT::master_fetch_failures
 

char PROJECT::master_url[256]
 

bool PROJECT::master_url_fetch_pending
 

double PROJECT::min_report_min_rpc_time
 

double PROJECT::min_rpc_time
 

int PROJECT::nactive_uploads
 

double PROJECT::next_file_xfer_down [private]
 

double PROJECT::next_file_xfer_up [private]
 

struct RESULT* PROJECT::next_runnable_result
 

bool PROJECT::non_cpu_intensive
 

int PROJECT::nresults_returned
 

int PROJECT::nrpc_failures
 

std::vector<RESULT*> PROJECT::pending
 

char PROJECT::project_name[256]
 

std::string PROJECT::project_prefs
 

std::string PROJECT::project_specific_prefs
 

double PROJECT::resource_share
 

int PROJECT::rpc_seqno
 

int PROJECT::rr_sim_deadlines_missed
 

double PROJECT::rrsim_proc_rate
 

bool PROJECT::sched_rpc_pending
 

std::vector<std::string> PROJECT::scheduler_urls
 

bool PROJECT::send_file_list
 

double PROJECT::short_term_debt
 

bool PROJECT::suspended_via_gui
 

char PROJECT::team_name[256]
 

bool PROJECT::tentative
 

bool PROJECT::trickle_up_pending
 

double PROJECT::user_create_time
 

double PROJECT::user_expavg_credit
 

char PROJECT::user_name[256]
 

double PROJECT::user_total_credit
 

bool PROJECT::using_venue_specific_prefs
 

double PROJECT::wall_cpu_time_this_period
 

double PROJECT::work_request
 

int PROJECT::work_request_urgency
 


The documentation for this class was generated from the following files:
Generated on Mon Mar 12 16:22:04 2007 for SimBOINC by  doxygen 1.4.6