Struct Gantt

Struct Documentation

struct Gantt

Public Functions

inline Gantt()
~Gantt()
void buildRows(const Plan &p)
void shuffleRows()
void swapRows(int r1, int r2)
void insertRow(int r1, int r2)
string getSigObj(int r)
string getColour(int r)
void setMaxTime(const Plan &p)
void setSigObjs(vector<string> &objects)
vector<string> getSigObjs(const Action *a)
void drawLaTeXGantt(const Plan &p, int noPages, int noPageRows)
void drawLaTeXGantt(double startTime, double endTime, int startRow, int endRow, int numRows)
int getNoPages(int noPages)
int getNoPageRows()
void displayKey()
void drawRowNums(int startRow, int endRow, int numRows)
void drawLaTeXDAElement(const GanttElement *ge, int row, int pos, double startTime, double endTime, int numRows) const
void drawLaTeXElement(const GanttElement *ge, int row, int pos, double startTime, double endTime, int numRows) const
pair<double, double> transPoint(double x, double y) const

Public Members

double maxTime
vector<string> sigObjs
vector<string> usedSigObjs
map<int, map<int, GanttElement*>> chartRows

Public Static Attributes

static const double graphH
static const double graphV
static const int pointSize