Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Give a p_netcard to simgrid::Host instead of relying on extensions for that
[simgrid.git] / include / simgrid / Host.hpp
index d4d211a..2810c16 100644 (file)
 namespace simgrid {
 
 XBT_PUBLIC_CLASS Host :
-       public simgrid::xbt::Extendable<Host> {
+public simgrid::xbt::Extendable<Host> {
+
+public:
+         surf::Cpu     *p_cpu = nullptr;
+         surf::NetCard *p_netcard = nullptr;
+
 private:
-  simgrid::xbt::string name_;
+  simgrid::xbt::string name_ = "noname";
 public:
   Host(std::string const& name);
   ~Host();