#include <task.h>
Inheritance diagram for TASK:
Public Types | |
typedef vector< TASK * > | PTRLIST |
Public Methods | |
TASK (char *id, char *name, int duration) | |
virtual | ~TASK () |
const char * | desc () const |
const char * | overrun () const |
void | setOverrun (char *overrun) |
void | AddNote (const string ¬e) |
NOTE_ITERATOR | begin_notes () |
NOTE_ITERATOR | end_notes () |
void | setDaysDone (int days) |
int | nDays () |
void | Blockify () |
int | block () |
void | setDesc (char *desc) |
void | setPercentComplete (double c) |
double | percent_complete () const |
void | setStart (int day) |
int | start () const |
void | setFinish (int day) |
int | finish () |
void | setDuration (int d) |
int | duration () |
void | setAssigned (RESOURCE *res) |
RESOURCE * | assigned () const |
int | fullduration () const |
void | setFullduration (int fd) |
int | origfullduration () const |
void | setOrigfullduration () |
int | bstart () const |
void | setBstart (int day) |
int | bfinish () const |
void | setBfinish (int day) |
int | astart () const |
void | setAstart (int day) |
int | afinish () const |
void | setAfinish (int day) |
void | setLstart (int day) |
int | lstart () |
void | setLfinish (int day) |
int | lfinish () |
int | slack () |
void | setSlack (int s) |
int | children () |
int | parents () |
void | addDepends (TASK *depends) |
PTRLIST::const_iterator | begin_depends () |
PTRLIST::const_iterator | end_depends () |
void | addFollows (TASK *follows) |
PTRLIST::const_iterator | begin_follows () |
PTRLIST::const_iterator | end_follows () |
virtual bool | isVacation () const |
void | addTimeBlock (RESOURCE *r, int start, int finish, TimeBlock::Type type) |
TaskTimeBlockIterator | begin_when () |
TaskTimeBlockIterator | end_when () |
void | addReverseTimeBlock (RESOURCE *r, int start, int finish, TimeBlock::Type type) |
TaskTimeBlockIterator | begin_rwhen () |
TaskTimeBlockIterator | end_rwhen () |
void | copyWhenToReverseWhen () |
bool | DayBooked (int dayNo) |
bool | overlap (int start, int finish) |
bool | isActiveDuring (int start, int finish) |
void | addCandidate (RESOURCE *res) |
RESOURCE::PTRLIST::const_iterator | begin_cando () |
RESOURCE::PTRLIST::const_iterator | end_cando () |
int | numCandidates () |
void | addItem (ITEM *item) |
double | timeCost () |
double | itemCost () |
int | numItems () |
ITEM::PTRLIST::const_iterator | begin_items () |
ITEM::PTRLIST::const_iterator | end_items () |
const char * | id () const |
void | setId (const char *) |
Usefull to compute a complex id (after creation). More... | |
const char * | name () const |
Public Attributes | |
int | scheduled |
if 1, has been scheduled. More... | |
int | remaining |
used during schedule. More... | |
int | rscheduled |
if 1, has been scheduled on reverse run. More... | |
int | rremaining |
used during reverse schedule. More... | |
int | x1 |
int | y1 |
int | x2 |
int | y2 |
gannt chart drawing coordinates. More... | |
int | nx |
int | ny |
network diagram drawing coordinates. More... | |
Private Methods | |
void | Error (char *fmt,...) |
Private Attributes | |
char * | mDesc |
longer name. More... | |
char * | mOverrun |
text that describes why the task is running late. More... | |
int | mDuration |
number of days of work. More... | |
int | mFullduration |
adjusted for efficiency of the resource and slippage. More... | |
int | mOrigfullduration |
fullduration before slippage adjustment. More... | |
int | mStart |
when the assigned resource starts doing this. More... | |
int | mFinish |
the last day of work. More... | |
int | mLstart |
last day assigned resource can start doing this. More... | |
int | mLfinish |
last day assigned resource can finish this. More... | |
int | mSlack |
float in dates. More... | |
int | mAstart |
Actual Start. More... | |
int | mAfinish |
Actual Finish. More... | |
int | mBstart |
Baseline Start. More... | |
int | mBfinish |
Baseline Finish. More... | |
bool | mBlock |
if true, must be scheduled as a consecutive block of time. More... | |
double | mPercentComplete |
fraction of this task already finished. More... | |
RESOURCE * | mAssigned |
who is doing this? More... | |
NOTES | mNotes |
notes about this task. More... | |
int | mnDays |
number of days worked so far. More... | |
PTRLIST | mDepends |
what other tasks must be finished first? More... | |
int | mChildren |
number of dependencies -- increases scheduling priority. More... | |
PTRLIST | mFollows |
what other tasks will be finished after? More... | |
int | mParents |
number of follows. More... | |
TaskTimeBlockList | mWhen |
when is this task scheduled to be done? More... | |
TaskTimeBlockList | mRwhen |
when is this task scheduled to be done (reverse)? More... | |
RESOURCE::PTRLIST | mCando |
ITEM::PTRLIST | mItems |
list of materials associated with task. More... |
|
|
|
Definition at line 25 of file task.cc. References duration(), INVALIDDAYNO, mAfinish, mAssigned, mAstart, mBfinish, mBlock, mBstart, mChildren, mDesc, mDuration, mFinish, mFullduration, mLfinish, mLstart, mnDays, mOverrun, mParents, mPercentComplete, mSlack, mStart, nx, ny, remaining, rremaining, rscheduled, scheduled, x1, x2, y1, and y2. |
|
|
|
Definition at line 165 of file task.cc. References mCando. Referenced by Project::AddCandidate(). |
|
Definition at line 101 of file task.cc. References mChildren, and mDepends. Referenced by Project::AddDependencies(). |
|
Definition at line 108 of file task.cc. References mFollows, and mParents. Referenced by Project::AddDependencies(). |
|
Definition at line 122 of file task.h. References mItems. Referenced by Project::AddTaskItem(). |
|
Definition at line 95 of file task.cc. References mNotes. Referenced by Project::TaskNote(). |
|
Definition at line 121 of file task.cc. References finish(), mRwhen, start(), and TimeBlock::Type. Referenced by Project::ReverseBookResource(). |
|
Definition at line 115 of file task.cc. References finish(), mWhen, start(), and TimeBlock::Type. Referenced by Project::BookResource(). |
|
Definition at line 85 of file task.h. References mAfinish. Referenced by Reporter::HTMLReport(), Reporter::TexReport(), Reporter::TextReport(), and Reporter::XMLReport(). |
|
Definition at line 67 of file task.h. References mAssigned. Referenced by Project::AssignResource(), Project::AssignTask(), Project::BookResource(), Project::FinishTask(), Reporter::HTMLReport(), CompareTaskResources::operator()(), Reporter::PrintResourcePeriod(), Project::printTaskList(), Project::ReverseAssignResource(), Project::ReverseAssignTask(), Project::ReverseBookResource(), Project::StartTask(), Reporter::TaskGraph(), Reporter::TexReport(), Reporter::TextReport(), Project::WorkBlock(), Reporter::write_chart(), and Reporter::XMLReport(). |
|
Definition at line 83 of file task.h. References mAstart. Referenced by Reporter::HTMLReport(), Reporter::TexReport(), Reporter::TextReport(), and Reporter::XMLReport(). |
|
Definition at line 118 of file task.h. References mCando. Referenced by Project::AssignTask(), Project::FindEarliestResource(), and Project::StartTask(). |
|
Definition at line 97 of file task.h. References mDepends. Referenced by assignX(), canAssignX(), EarliestByDependency(), EligibleTask(), Reporter::HTMLReport(), Reporter::TexReport(), Reporter::TextReport(), Reporter::write_chart(), and Reporter::XMLReport(). |
|
Definition at line 100 of file task.h. References mFollows. Referenced by Project::ReverseAssignTask(), ReverseEligibleTask(), and Reporter::write_chart(). |
|
Definition at line 127 of file task.h. References mItems. Referenced by Reporter::HTMLCostReport(), Reporter::TeXCostReport(), and Reporter::XMLReport(). |
|
Definition at line 50 of file task.h. References mNotes, and NOTE_ITERATOR. Referenced by Reporter::HTMLReport(), Reporter::TexReport(), and Reporter::XMLReport(). |
|
Definition at line 109 of file task.h. References mRwhen, and TaskTimeBlockIterator. |
|
Definition at line 106 of file task.h. References mWhen, and TaskTimeBlockIterator. Referenced by Project::AssignTask(), EarliestByDependency(), Project::PredictOverruns(), Project::ReverseAssignTask(), Reporter::TaskGraph(), and UserTaskWorkedDays(). |
|
Definition at line 81 of file task.h. References mBfinish. Referenced by Reporter::HTMLReport(), Reporter::TexReport(), Reporter::TextReport(), and Reporter::XMLReport(). |
|
Definition at line 56 of file task.h. References mBlock. Referenced by Project::AssignResource(), Project::FindEarliestResource(), and Project::ReverseAssignResource(). |
|
Definition at line 76 of file task.cc. References mBlock. Referenced by Project::Blockify(). |
|
Definition at line 79 of file task.h. References mBstart. Referenced by Reporter::HTMLReport(), Reporter::TexReport(), Reporter::TextReport(), and Reporter::XMLReport(). |
|
Definition at line 94 of file task.h. References mChildren. Referenced by Project::ScheduleTasks(). |
|
|
|
Definition at line 133 of file task.cc. References mWhen, and TaskTimeBlockIterator. Referenced by Reporter::TaskGraph(). |
|
Definition at line 46 of file task.h. References mDesc. Referenced by Reporter::HTMLReport(), setDesc(), and Reporter::TexReport(). |
|
Definition at line 65 of file task.h. References mDuration. Referenced by Project::AddTask(), Project::FinishTask(), Project::StartTask(), TASK(), UserTaskWorkedDays(), and Project::WorkBlock(). |
|
Definition at line 119 of file task.h. References mCando. Referenced by Project::FindEarliestResource(). |
|
Definition at line 98 of file task.h. References mDepends. Referenced by assignX(), canAssignX(), EarliestByDependency(), EligibleTask(), Reporter::HTMLReport(), Reporter::TexReport(), Reporter::TextReport(), Reporter::write_chart(), and Reporter::XMLReport(). |
|
Definition at line 101 of file task.h. References mFollows. Referenced by Project::ReverseAssignTask(), ReverseEligibleTask(), and Reporter::write_chart(). |
|
Definition at line 128 of file task.h. References mItems. Referenced by Reporter::HTMLCostReport(), Reporter::TeXCostReport(), and Reporter::XMLReport(). |
|
Definition at line 51 of file task.h. References mNotes, and NOTE_ITERATOR. Referenced by Reporter::HTMLReport(), Reporter::TexReport(), and Reporter::XMLReport(). |
|
Definition at line 110 of file task.h. References mRwhen, and TaskTimeBlockIterator. |
|
Definition at line 107 of file task.h. References mWhen, and TaskTimeBlockIterator. Referenced by Project::AssignTask(), EarliestByDependency(), Project::PredictOverruns(), Project::ReverseAssignTask(), Reporter::TaskGraph(), and UserTaskWorkedDays(). |
|
Definition at line 56 of file task.cc. References NAMED_ID::id(). Referenced by setPercentComplete(). |
|
Definition at line 63 of file task.h. References mFinish. Referenced by addReverseTimeBlock(), addTimeBlock(), Project::FinishTask(), Reporter::HardSchedule(), Reporter::HTMLReport(), isActiveDuring(), overlap(), Project::ReverseScheduleTasks(), Project::ScheduleMilestones(), Project::StartTask(), Reporter::TaskGraph(), Reporter::TexReport(), Reporter::TextReport(), Reporter::write_chart(), and Reporter::XMLReport(). |
|
Definition at line 73 of file task.h. References mFullduration. Referenced by Project::AssignResource(), Project::PredictOverruns(), Project::ReverseAssignResource(), Reporter::SlippageReport(), Reporter::TaskGraph(), and Reporter::write_chart(). |
|
Definition at line 29 of file namedid.h. References NAMED_ID::mId. Referenced by Project::AddTask(), Project::AssignResource(), Project::AssignTask(), Project::BookResource(), Error(), RESOURCE::Error(), Reporter::findCellInColumn(), Project::FirstFreeTime(), Reporter::HardSchedule(), Reporter::HTMLCostReport(), Reporter::HTMLReport(), NAMED_ID::NAMED_ID(), CompareTaskResources::operator()(), Project::PredictOverruns(), Reporter::PrintResourcePeriod(), Project::printTaskList(), Project::ResourceIsUsedForTask(), Project::ReverseAssignResource(), Project::ReverseAssignTask(), Project::ReverseBookResource(), NAMED_ID::setId(), Reporter::SlippageReport(), Reporter::TaskGraph(), Reporter::TeXCostReport(), Reporter::TexReport(), Reporter::TextReport(), Reporter::UtilGraph(), Project::Vacation(), Project::WorkBlock(), Reporter::write_chart(), Reporter::write_milestones(), and Reporter::XMLReport(). |
|
|
|
Reimplemented in VACATION. Definition at line 103 of file task.h. Referenced by Project::AssignResource(), Project::BookResource(), canAssignX(), Reporter::HardSchedule(), Reporter::HTMLCostReport(), Reporter::HTMLReport(), Reporter::PrintResourcePeriod(), Project::ReverseAssignResource(), Project::ReverseBookResource(), Reporter::TaskGraph(), Reporter::TeXCostReport(), Reporter::TexReport(), Reporter::TextReport(), Project::WorkBlock(), and Reporter::XMLReport(). |
|
Definition at line 176 of file task.cc. References mItems. Referenced by Reporter::HTMLCostReport(), Reporter::TeXCostReport(), and Reporter::XMLReport(). |
|
Definition at line 90 of file task.h. References mLfinish. Referenced by Project::ReverseAssignResource(), Project::ReverseAssignTask(), and Reporter::write_chart(). |
|
Definition at line 88 of file task.h. References mLstart. Referenced by Reporter::write_chart(). |
|
Definition at line 31 of file namedid.h. References NAMED_ID::mName. Referenced by Reporter::HTMLCostReport(), Reporter::HTMLReport(), NAMED_ID::NAMED_ID(), Reporter::PrintPeriod(), Reporter::PrintResourcePeriod(), Reporter::SlippageReport(), Reporter::TaskGraph(), Reporter::TeXCostReport(), Reporter::TexReport(), Reporter::TextReport(), Reporter::write_chart(), Reporter::write_milestones(), and Reporter::XMLReport(). |
|
Definition at line 54 of file task.h. References mnDays. Referenced by Project::PredictOverruns(), Reporter::SlippageReport(), and Project::WorkBlock(). |
|
Definition at line 120 of file task.h. References mCando. Referenced by Project::AssignTask(), and Project::StartTask(). |
|
Definition at line 126 of file task.h. References mItems. Referenced by Reporter::HTMLCostReport(), and Reporter::TeXCostReport(). |
|
Definition at line 75 of file task.h. References mOrigfullduration. Referenced by Reporter::SlippageReport(). |
|
Definition at line 142 of file task.cc. References finish(), mWhen, start(), and TaskTimeBlockIterator. Referenced by Reporter::TaskGraph(). |
|
Definition at line 47 of file task.h. References mOverrun. Referenced by Reporter::HTMLReport(), setOverrun(), and Reporter::TexReport(). |
|
Definition at line 95 of file task.h. References mParents. |
|
Definition at line 59 of file task.h. References mPercentComplete. Referenced by Project::PredictOverruns(), Reporter::SlippageReport(), Reporter::TaskGraph(), UserTaskWorkedDays(), and Reporter::XMLReport(). |
|
Definition at line 86 of file task.h. References mAfinish. Referenced by Project::FinishTask(). |
|
Definition at line 66 of file task.h. References mAssigned. Referenced by Project::AssignResource(), Project::AssignTask(), Project::StartTask(), and Project::WorkBlock(). |
|
Definition at line 84 of file task.h. References mAstart. Referenced by Project::StartTask(). |
|
Definition at line 82 of file task.h. References mBfinish. Referenced by Project::FinishTask(). |
|
Definition at line 80 of file task.h. References mBstart. Referenced by Project::StartTask(). |
|
Definition at line 70 of file task.cc. References mnDays. Referenced by Project::DaysDone(), and Project::PredictOverruns(). |
|
Definition at line 82 of file task.cc. Referenced by Project::AddDescription(). |
|
Definition at line 64 of file task.h. References mDuration. Referenced by Project::FinishTask(), and Project::StartTask(). |
|
Definition at line 62 of file task.h. References mFinish. Referenced by Project::AssignResource(), Project::FinishTask(), and Project::WorkBlock(). |
|
Definition at line 74 of file task.h. References mFullduration. Referenced by Project::PredictOverruns(), and Project::WorkBlock(). |
|
Usefull to compute a complex id (after creation).
Definition at line 33 of file namedid.cc. References NAMED_ID::id(), and NAMED_ID::mId. Referenced by NAMED_ID::NAMED_ID(), and VACATION::VACATION(). |
|
Definition at line 89 of file task.h. References mLfinish. Referenced by Project::ReverseAssignResource(). |
|
Definition at line 87 of file task.h. References mLstart. Referenced by Project::ReverseAssignResource(), and Project::StartTask(). |
|
Definition at line 78 of file task.h. References mFullduration, and mOrigfullduration. Referenced by Project::PredictOverruns(). |
|
Definition at line 48 of file task.h. References mOverrun, and overrun(). Referenced by Project::PredictOverruns(). |
|
Definition at line 87 of file task.cc. References Error(), and mPercentComplete. Referenced by Project::SetCompletion(). |
|
Definition at line 92 of file task.h. References mSlack. |
|
Definition at line 60 of file task.h. References mStart. Referenced by Project::AssignResource(), Reporter::constructStartFinish(), Project::FinishTask(), Project::StartTask(), and Project::WorkBlock(). |
|
Definition at line 91 of file task.h. References mSlack. Referenced by Reporter::write_chart(). |
|
Definition at line 61 of file task.h. References mStart. Referenced by addReverseTimeBlock(), addTimeBlock(), Project::AssignResource(), Project::AssignTask(), EarliestByDependency(), Project::FinishTask(), Reporter::HardSchedule(), Reporter::HTMLReport(), isActiveDuring(), CompareTaskStarts::operator()(), CompareTaskResources::operator()(), overlap(), Project::printTaskList(), Project::StartTask(), Reporter::TaskGraph(), Reporter::TexReport(), Reporter::TextReport(), Project::WorkBlock(), Reporter::write_chart(), and Reporter::XMLReport(). |
|
Definition at line 170 of file task.cc. References mAssigned, mDuration, and RESOURCE::rate(). Referenced by Reporter::HTMLCostReport(), Reporter::TeXCostReport(), and Reporter::XMLReport(). |
|
Actual Finish.
Definition at line 158 of file task.h. Referenced by afinish(), setAfinish(), and TASK(). |
|
who is doing this?
Definition at line 164 of file task.h. Referenced by assigned(), setAssigned(), TASK(), and timeCost(). |
|
Actual Start.
|
|
Baseline Finish.
Definition at line 160 of file task.h. Referenced by bfinish(), setBfinish(), and TASK(). |
|
if true, must be scheduled as a consecutive block of time.
|
|
Baseline Start.
|
|
Definition at line 177 of file task.h. Referenced by addCandidate(), begin_cando(), end_cando(), and numCandidates(). |
|
number of dependencies -- increases scheduling priority.
Definition at line 169 of file task.h. Referenced by addDepends(), children(), and TASK(). |
|
what other tasks must be finished first?
Definition at line 168 of file task.h. Referenced by addDepends(), begin_depends(), and end_depends(). |
|
longer name.
|
|
number of days of work.
Definition at line 148 of file task.h. Referenced by duration(), setDuration(), TASK(), and timeCost(). |
|
the last day of work.
Definition at line 153 of file task.h. Referenced by finish(), isActiveDuring(), setFinish(), and TASK(). |
|
what other tasks will be finished after?
Definition at line 170 of file task.h. Referenced by addFollows(), begin_follows(), and end_follows(). |
|
adjusted for efficiency of the resource and slippage.
Definition at line 149 of file task.h. Referenced by fullduration(), setFullduration(), setOrigfullduration(), and TASK(). |
|
list of materials associated with task.
Definition at line 186 of file task.h. Referenced by addItem(), begin_items(), end_items(), itemCost(), and numItems(). |
|
last day assigned resource can finish this.
Definition at line 155 of file task.h. Referenced by lfinish(), setLfinish(), and TASK(). |
|
last day assigned resource can start doing this.
|
|
number of days worked so far.
Definition at line 166 of file task.h. Referenced by nDays(), setDaysDone(), and TASK(). |
|
notes about this task.
Definition at line 165 of file task.h. Referenced by AddNote(), begin_notes(), and end_notes(). |
|
fullduration before slippage adjustment.
Definition at line 151 of file task.h. Referenced by origfullduration(), and setOrigfullduration(). |
|
text that describes why the task is running late.
Definition at line 147 of file task.h. Referenced by overrun(), setOverrun(), and TASK(). |
|
number of follows.
Definition at line 171 of file task.h. Referenced by addFollows(), parents(), and TASK(). |
|
fraction of this task already finished.
Definition at line 163 of file task.h. Referenced by percent_complete(), setPercentComplete(), and TASK(). |
|
when is this task scheduled to be done (reverse)?
Definition at line 174 of file task.h. Referenced by addReverseTimeBlock(), begin_rwhen(), copyWhenToReverseWhen(), and end_rwhen(). |
|
float in dates.
|
|
when the assigned resource starts doing this.
Definition at line 152 of file task.h. Referenced by isActiveDuring(), setStart(), start(), and TASK(). |
|
when is this task scheduled to be done?
Definition at line 173 of file task.h. Referenced by addTimeBlock(), begin_when(), copyWhenToReverseWhen(), DayBooked(), end_when(), and overlap(). |
|
Definition at line 142 of file task.h. Referenced by Project::AddNetworkX(), assignX(), canAssignX(), Reporter::constructStartFinish(), TASK(), Reporter::write_chart(), and Reporter::write_milestones(). |
|
network diagram drawing coordinates.
Definition at line 142 of file task.h. Referenced by Project::AddNetworkY(), Reporter::assignY(), Reporter::constructStartFinish(), nextAvailableY(), TASK(), Reporter::write_chart(), and Reporter::write_milestones(). |
|
used during schedule.
Definition at line 134 of file task.h. Referenced by Project::AssignResource(), Project::FindEarliestResource(), Project::PredictOverruns(), TASK(), and Project::WorkBlock(). |
|
used during reverse schedule.
Definition at line 136 of file task.h. Referenced by Project::ReverseAssignResource(), and TASK(). |
|
if 1, has been scheduled on reverse run.
Definition at line 135 of file task.h. Referenced by Project::ReverseAssignResource(), Project::ReverseAssignTask(), ReverseEligibleTask(), and TASK(). |
|
if 1, has been scheduled.
Definition at line 133 of file task.h. Referenced by Project::AssignResource(), Project::AssignTask(), EligibleTask(), Project::PredictOverruns(), TASK(), and Project::WorkBlock(). |
|
Definition at line 141 of file task.h. Referenced by TASK(), and Reporter::TaskGraph(). |
|
Definition at line 141 of file task.h. Referenced by TASK(), and Reporter::TaskGraph(). |
|
Definition at line 141 of file task.h. Referenced by TASK(), and Reporter::TaskGraph(). |
|
gannt chart drawing coordinates.
Definition at line 141 of file task.h. Referenced by TASK(), and Reporter::TaskGraph(). |