A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add XBT_PUBLIC_CLASS macro, and a bunch of XBT_PUBLIC declarations
[simgrid.git]
/
src
/
surf
/
surf_interface.hpp
diff --git
a/src/surf/surf_interface.hpp
b/src/surf/surf_interface.hpp
index
1b4a4c7
..
e5e44a6
100644
(file)
--- a/
src/surf/surf_interface.hpp
+++ b/
src/surf/surf_interface.hpp
@@
-115,7
+115,7
@@
XBT_PUBLIC_DATA(xbt_dynar_t) model_list;
* @brief SURF model interface class
* @details A model is an object which handle the interactions between its Resources and its Actions
*/
* @brief SURF model interface class
* @details A model is an object which handle the interactions between its Resources and its Actions
*/
-
class
Model {
+
XBT_PUBLIC_CLASS
Model {
public:
/**
* @brief Model constructor
public:
/**
* @brief Model constructor
@@
-252,7
+252,7
@@
typedef struct {
* @brief SURF resource interface class
* @details A resource represent an element of a component (e.g.: a link for the network)
*/
* @brief SURF resource interface class
* @details A resource represent an element of a component (e.g.: a link for the network)
*/
-
class
Resource {
+
XBT_PUBLIC_CLASS
Resource {
public:
/**
* @brief Resource constructor
public:
/**
* @brief Resource constructor
@@
-389,13
+389,15
@@
void surf_action_lmm_update_index_heap(void *action, int i);
* @brief SURF action interface class
* @details An action is an event generated by a resource (e.g.: a communication for the network)
*/
* @brief SURF action interface class
* @details An action is an event generated by a resource (e.g.: a communication for the network)
*/
-
class
Action : public actionHook, public actionLmmHook {
-p
ublic
:
+
XBT_PUBLIC_CLASS
Action : public actionHook, public actionLmmHook {
+p
rivate
:
/**
/**
- * @brief
Action constructor
+ * @brief
Common initializations for the constructors
*/
*/
- Action();
+ void initialize(ModelPtr model, double cost, bool failed,
+ lmm_variable_t var = NULL);
+public:
/**
* @brief Action constructor
*
/**
* @brief Action constructor
*