Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ResourceTimeBlock Class Reference

#include <timeblock.h>

Inheritance diagram for ResourceTimeBlock:

Inheritance graph
[legend]
Collaboration diagram for ResourceTimeBlock:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Type { MANUAL_SCHEDULE, AUTO_SCHEDULE, WORK_DONE, INVALID }

Public Methods

 ResourceTimeBlock (TASK *r, int start, int finish, Type type)
 ~ResourceTimeBlock ()
TASKtask () const
int start () const
int finish () const
Type type () const
bool overlap (int start, int finish) const

Private Attributes

TASKmTask

Member Enumeration Documentation

enum TimeBlock::Type [inherited]
 

Enumeration values:
MANUAL_SCHEDULE 
AUTO_SCHEDULE 
WORK_DONE 
INVALID 

Definition at line 34 of file timeblock.h.

Referenced by TASK::addReverseTimeBlock(), RESOURCE::addReverseTimeBlock(), TASK::addTimeBlock(), RESOURCE::addTimeBlock(), Project::BookResource(), Project::ReverseBookResource(), TimeBlock::type(), Project::WorkBlock(), and ProjectFile::WorkBlock().


Constructor & Destructor Documentation

ResourceTimeBlock::ResourceTimeBlock TASK   r,
int    start,
int    finish,
Type    type
 

Definition at line 56 of file timeblock.cc.

ResourceTimeBlock::~ResourceTimeBlock   [inline]
 

Definition at line 76 of file timeblock.h.


Member Function Documentation

int TimeBlock::finish   const [inline, inherited]
 

Definition at line 45 of file timeblock.h.

References TimeBlock::mFinish.

Referenced by TimeBlock::overlap().

bool TimeBlock::overlap int    start,
int    finish
const [inherited]
 

Definition at line 33 of file timeblock.cc.

References TimeBlock::finish(), TimeBlock::mFinish, TimeBlock::mStart, and TimeBlock::start().

int TimeBlock::start   const [inline, inherited]
 

Definition at line 44 of file timeblock.h.

References TimeBlock::mStart.

Referenced by TimeBlock::overlap().

TASK* ResourceTimeBlock::task   const [inline]
 

Definition at line 77 of file timeblock.h.

References mTask.

Type TimeBlock::type   const [inline, inherited]
 

Definition at line 46 of file timeblock.h.

References TimeBlock::mType, and TimeBlock::Type.


Member Data Documentation

TASK* ResourceTimeBlock::mTask [private]
 

Definition at line 80 of file timeblock.h.

Referenced by task().


The documentation for this class was generated from the following files:
Generated on Wed Feb 18 22:24:05 2004 for Opensched by doxygen1.2.15