Virtual U.org
Get Personal Training on VU Today
    
Top shadow
 
 register/help
User Name:

Password:

Task struct Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Task Struct Reference

#include <OTASK.H>

Inheritance diagram for Task:

News List of all members.

Public Methods

bool is_completed_rise_performance ()
bool is_completed_rise_educational_quality ()
bool is_completed_rise_student_morale ()
bool is_completed_rise_department_morale ()
 this should be rise_factulty_morale

bool is_completed_rise_faculty_research_Per ()
bool is_completed_rise_faculty_diversity_index ()
bool is_completed_rise_use_of_IT ()
bool is_completed_rise_staff_morale ()
bool is_expired ()
void set_completed ()

Detailed Description

Subclass of News class. Tasks are shown on both message (normal news) and objective sections on screen. They are removed from the objective section after the task offer expires or the task is completed. The successful completion of the task is checked monthly and a bonus is added for completed tasks.

Definition at line 57 of file OTASK.H.


Member Function Documentation

bool Task::is_completed_rise_department_morale  
 

this should be rise_factulty_morale

Definition at line 215 of file Otaskend.cpp.

bool Task::is_completed_rise_educational_quality  
 

newsPtr->short_para1 = deptRecno; newsPtr->short_para2 = ratingType; newsPtr->short_para3 = target; newsPtr->short_para4 = src; newsPtr->short_para5 = month; newsPtr->short_para6 = year; newsPtr->short_para7 = bonus;

Definition at line 196 of file Otaskend.cpp.

bool Task::is_completed_rise_faculty_diversity_index  
 

newsPtr->short_para1 = deptRecno; newsPtr->short_para2 = ratingType; newsPtr->short_para3 = target; newsPtr->short_para4 = src; newsPtr->short_para5 = month; newsPtr->short_para6 = year; newsPtr->short_para7 = bonus;

Definition at line 242 of file Otaskend.cpp.

bool Task::is_completed_rise_faculty_research_Per  
 

Definition at line 224 of file Otaskend.cpp.

References News::short_para3.

bool Task::is_completed_rise_performance  
 

newsPtr->short_para1 = deptRecno; newsPtr->short_para2 = ratingType; newsPtr->short_para3 = target; newsPtr->short_para4 = src; newsPtr->short_para5 = month; newsPtr->short_para6 = year; newsPtr->short_para7 = bonus;

Definition at line 176 of file Otaskend.cpp.

bool Task::is_completed_rise_staff_morale  
 

newsPtr->short_para1 = deptRecno; newsPtr->short_para2 = ratingType; newsPtr->short_para3 = target; newsPtr->short_para4 = src; newsPtr->short_para5 = month; newsPtr->short_para6 = year; newsPtr->short_para7 = bonus;

Definition at line 281 of file Otaskend.cpp.

References S_STAFF_MORALE.

bool Task::is_completed_rise_student_morale  
 

Definition at line 205 of file Otaskend.cpp.

References S_STUDENT_MORALE, and News::short_para3.

bool Task::is_completed_rise_use_of_IT  
 

newsPtr->short_para1 = deptRecno; newsPtr->short_para2 = ratingType; newsPtr->short_para3 = target; newsPtr->short_para4 = src; newsPtr->short_para5 = month; newsPtr->short_para6 = year; newsPtr->short_para7 = bonus;

Definition at line 261 of file Otaskend.cpp.

bool Task::is_expired  
 

temp assumption for all kinds of task: newsPtr->short_para5 = month; newsPtr->short_para6 = year;

Definition at line 105 of file Otaskend.cpp.

References INFO_DATE_DEFAULT, INFO_DATE_NO_DAY, and INFO_DATE_SHORT_MONTH.

void Task::set_completed  
 

temp assumption for all kinds of task: newsPtr->short_para5 = month; newsPtr->short_para6 = year;

Definition at line 157 of file Otaskend.cpp.

References TASK_COMPLETED.

Referenced by TaskArray::next_day().


The documentation for this struct was generated from the following files:
Generated on Fri Aug 23 01:39:40 2002 for VirtualU by doxygen1.2.17