Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
solverstack
vite
Commits
a373d1fe
Commit
a373d1fe
authored
Mar 10, 2009
by
Arthur Redondy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrections de warning de doxygen
parent
166dd2a3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
3 deletions
+41
-3
src/interface/interface_console.hpp
src/interface/interface_console.hpp
+2
-2
src/interface/render_area.hpp
src/interface/render_area.hpp
+21
-0
src/interface/render_svg.hpp
src/interface/render_svg.hpp
+8
-0
src/main_resource.hpp
src/main_resource.hpp
+9
-0
src/trace/resource.hpp
src/trace/resource.hpp
+1
-1
No files found.
src/interface/interface_console.hpp
View file @
a373d1fe
...
...
@@ -174,8 +174,8 @@ protected:
/*!
* \brief The default constructor of the class.
* \ar
g
argc : the number of parameters given when the program was called.
*
argv : a set of strings which contains each parameter.
* \
p
ar
am
argc : the number of parameters given when the program was called.
*
\param
argv : a set of strings which contains each parameter.
*/
Interface_console
(
int
argc
,
char
**
argv
);
...
...
src/interface/render_area.hpp
View file @
a373d1fe
...
...
@@ -21,8 +21,17 @@ class Render_area;
* \brief Structure used to store event information.
*/
struct
Event_
{
/*!
* \brief time of an event
*/
Element_pos
time
;
/*!
* \brief height of an event
*/
Element_pos
height
;
/*!
* \brief height of the container
*/
Element_pos
container_height
;
};
...
...
@@ -30,9 +39,21 @@ struct Event_{
* \brief Structure used to store arrow information.
*/
struct
Arrow_
{
/*!
* \brief time when the arrow starts
*/
Element_pos
start_time
;
/*!
* \brief time when the arrow ends
*/
Element_pos
end_time
;
/*!
* \brief ?
*/
Element_pos
start_height
;
/*!
* \brief ?
*/
Element_pos
end_height
;
};
...
...
src/interface/render_svg.hpp
View file @
a373d1fe
...
...
@@ -26,6 +26,9 @@
#define max(a,b) (a>b?a:b);
#define min(a,b) (a>b?b:a);
/*!
* \brief This class provides a SVG display ,it inherited from the Render interface.
*/
class
Svg
:
public
Render
{
...
...
@@ -80,6 +83,7 @@ public:
* \param start the beginning time of the state.
* \param end the ending time of the state.
* \param level refer to the container which state belongs to.
* \param height Unused parameter yet.
*/
void
draw_state
(
const
Element_pos
start
,
const
Element_pos
end
,
const
Element_pos
level
,
const
Element_pos
height
,
const
Element_col
r
,
const
Element_col
g
,
const
Element_col
b
)
;
...
...
@@ -101,6 +105,10 @@ public:
void
end_draw
();
/*!
* \brief Set the precision of SVG display.
* \param epsilon Precision
*/
void
set_accuracy
(
double
epsilon
);
};
...
...
src/main_resource.hpp
View file @
a373d1fe
...
...
@@ -13,8 +13,17 @@
#include <cstdlib>
/* for macros EXIT_SUCCESS and EXIT_FAILURE */
/*!
* \brief unity for count elements such as number of states or events... NOT USED YET
*/
typedef
long
Element_count
;
/*!
* \brief Unity for variables of position of a element in the display such as height, abscissa...
*/
typedef
double
Element_pos
;
/*!
* \brief unity for colors
*/
typedef
double
Element_col
;
...
...
src/trace/resource.hpp
View file @
a373d1fe
/*!
*\file resource.hpp
*\file
trace/
resource.hpp
*\brief This file gives some common header files for the trace classes.
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment