kptschedule.h
94 virtual void addAppointment(Schedule */*other*/, DateTime &/*start*/, DateTime &/*end*/, double /*load*/=100) {}
249 virtual void addAppointment(Schedule *resource, DateTime &start, DateTime &end, double load=100);
A resource (Resource) can be scheduled to be used at any time, this is represented internally with Ap...
Definition kptappointment.h:126
The duration class can be used to store a timespan in a convenient format.
Definition kptduration.h:34
MainSchedule holds scheduling information for the main project node.
Definition kptschedule.h:304
NodeSchedule holds scheduling information for a node (task).
Definition kptschedule.h:234
virtual void addAppointment(Schedule *resource, DateTime &start, DateTime &end, double load=100)
Adds appointment to both this resource schedule and node schedule.
Definition kptschedule.cpp:456
This class represents any node in the project, a node can be a project or a subproject or any task.
Definition kptnode.h:57
Project is the main node in a project, it contains child nodes and possibly sub-projects.
Definition kptproject.h:52
ResourceSchedule holds scheduling information for a resource.
Definition kptschedule.h:271
virtual void addAppointment(Schedule *node, DateTime &start, DateTime &end, double load=100)
Adds appointment to both this resource schedule and node schedule.
Definition kptschedule.cpp:498
The Schedule class holds data calculated during project calculation and scheduling,...
Definition kptschedule.h:55
virtual Duration plannedEffort() const
Returns the total planned effort for this task (or subtasks)
Definition kptschedule.cpp:225
virtual double plannedCostTo(const TQDate &date) const
Planned cost from start of activity up to and including date is the sum of all resource costs and oth...
Definition kptschedule.cpp:305
bool resourceNotAvailable
Set if the requested resource is not available.
Definition kptschedule.h:213
double effortPerformanceIndex(const TQDate &, bool *)
Effort based performance index.
Definition kptschedule.h:147
void removeAppointment(Appointment *appointment)
removes appointment and deletes it (independent of setAutoDelete)
Definition kptschedule.cpp:188
virtual double actualCostTo(const TQDate &date) const
Actual cost up to and including date.
Definition kptschedule.cpp:335
virtual bool add(Appointment *appointment)
Adds appointment to this schedule only.
Definition kptschedule.cpp:177
bool resourceError
Set if EffortType == Effort, but no resource is requested.
Definition kptschedule.h:209
virtual Duration actualEffort() const
Returns the total actual effort for this task (or subtasks)
Definition kptschedule.cpp:255
Duration duration
duration is the scheduled duration which depends on e.g.
Definition kptschedule.h:206
double costPerformanceIndex(const TQDate &, bool *)
Cost performance index.
Definition kptschedule.h:149
virtual void addAppointment(Schedule *, DateTime &, DateTime &, double=100)
Adds appointment to both this resource schedule and node schedule.
Definition kptschedule.h:94
void takeAppointment(Appointment *appointment)
removes appointment without deleting it (independent of setAutoDelete)
Definition kptschedule.cpp:193
virtual double actualCost() const
Actual cost is the sum total of the reported costs actually used for this node.
Definition kptschedule.cpp:315
virtual double plannedCost() const
Planned cost is the sum total of all resources and other costs planned for this node.
Definition kptschedule.cpp:285
virtual Duration actualEffortTo(const TQDate &date) const
Returns the total actual effort for this task (or subtasks) up to and including date.
Definition kptschedule.cpp:275
TQPtrList< Appointment > & appointments()
Return the list of appointments.
Definition kptschedule.h:90
bool schedulingError
Set if the task cannot be scheduled to fullfill all the constraints.
Definition kptschedule.h:215
virtual Duration plannedEffortTo(const TQDate &date) const
Returns the planned effort up to and including date.
Definition kptschedule.cpp:245
