Commit ddcfb905 authored by Kevin Coulomb's avatar Kevin Coulomb

Ajout des convetions de codage dans le manuel utilisateur

parent 6fdacc23
......@@ -247,8 +247,9 @@ public:
(field = state->get_value()->get_extra_fields()->find(std::string("Color"))) != extra_fields->end()) {
/* Call the object state drawing function with the state color */
color = (const Color *)(*field).second;
draw_state(draw_object, state->get_start_time().get_value(), state->get_end_time().get_value(), position,
color->get_red(), color->get_green(), color->get_blue());
draw_state(draw_object, state->get_start_time().get_value(), state->get_end_time().get_value(), position,
0,0,0);
// color->get_red(), color->get_green(), color->get_blue());
}
else {
/* Call the object state drawing function with default color */
......
/*
*
*\file tree/BinaryTree.hpp
* \brief File that contains the definition of a binary tree
* \brief File that contains the definition of a binary tree. A binary tree is a node, and pointers to others binary trees (father and children).
*\author COULOMB Kevin
*\date 03/09
*
......@@ -18,6 +18,7 @@
template <class E>
class BinaryTree{
private :
// BinaryTree <E> * _current;
Node <E> * _current;
......
......@@ -14,6 +14,7 @@
class Interval{
private :
Times _left_side;
Times _right_side;
......
/*
*
*\file tree/Node.hpp
* \brief File that contains the definition of a Node in the binary tree that contain the events
* \brief File that contains the definition of a Node in the binary tree that contain the events. A node is not linked to other nodes, it represents more the 'decoration' of a node than a node in the usual meaning.
*\author COULOMB Kevin
*\date 03/09
*
......@@ -21,6 +21,7 @@
template <class E>
class Node{
private :
/*
*
*\brief Used in the structure to know whether it is the beginning or the event of a state
......
......@@ -18,16 +18,16 @@ template <class E>
class TreeBuilder{
public :
typedef enum STATUS{
FREE,
OCCUPED,
LOCKED
}STATUS;
public :
typedef enum STATUS{
FREE,
OCCUPED,
LOCKED
}STATUS;
private :
/*
*
*\brief Inner class that only exists for the tree builder
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment