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
First attempt to untangle the AS parsing
[simgrid.git]
/
src
/
surf
/
surf_routing.hpp
diff --git
a/src/surf/surf_routing.hpp
b/src/surf/surf_routing.hpp
index
2cb37b8
..
6096197
100644
(file)
--- a/
src/surf/surf_routing.hpp
+++ b/
src/surf/surf_routing.hpp
@@
-58,14
+58,10
@@
public:
NetCard *p_netcard;
xbt_dynar_t p_linkUpDownList = NULL;
NetCard *p_netcard;
xbt_dynar_t p_linkUpDownList = NULL;
- /**
- * @brief The As constructor
- */
As(){};
As(){};
+ /* Close that AS: no more content can be added to it */
+ virtual void Seal()=0;
- /**
- * @brief The As destructor
- */
virtual ~As(){
xbt_dict_free(&p_routingSons);
xbt_dynar_free(&p_indexNetworkElm);
virtual ~As(){
xbt_dict_free(&p_routingSons);
xbt_dynar_free(&p_indexNetworkElm);