X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fa222c38f9b796be07ab4351ffc810a61a8fd705..0b85e2298e69b9f2475a73a830f0e1278ebed582:/src/surf/host_interface.hpp diff --git a/src/surf/host_interface.hpp b/src/surf/host_interface.hpp index 759cb27ed1..978ed351b5 100644 --- a/src/surf/host_interface.hpp +++ b/src/surf/host_interface.hpp @@ -9,6 +9,8 @@ #include "cpu_interface.hpp" #include "network_interface.hpp" +#include + #ifndef SURF_HOST_INTERFACE_HPP_ #define SURF_HOST_INTERFACE_HPP_ @@ -16,9 +18,9 @@ * Classes * ***********/ -class HostModel; -class Host; -class HostAction; +class XBT_PRIVATE HostModel; +class XBT_PRIVATE Host; +class XBT_PRIVATE HostAction; /************* * Callbacks * @@ -48,7 +50,6 @@ XBT_PUBLIC_DATA(surf_callback(void, HostAction*, e_surf_action_state_t, e_surf_a * Tools * *********/ XBT_PUBLIC_DATA(HostModel*) surf_host_model; -XBT_PUBLIC(void) host_parse_init(sg_platf_host_cbarg_t host); XBT_PUBLIC(void) host_add_traces(); /********* @@ -63,7 +64,7 @@ public: HostModel() : Model() {} ~HostModel() {} - virtual Host *createHost(const char *name)=0; + virtual Host *createHost(const char *name, RoutingEdge *net, Cpu *cpu)=0; void addTraces(){DIE_IMPOSSIBLE;} virtual void adjustWeightOfDummyCpuActions();