+ simgrid::xbt::string name_ = "noname";
+ boost::unordered_map<std::string, Storage*> *mounts = NULL; // caching
+
+public:
+ // FIXME: these should be protected, but it leads to many errors
+ // Use the extensions stuff for this? Go through simgrid::surf::Host?
+ // TODO, this could be a unique_ptr
+ surf::Cpu *pimpl_cpu = nullptr;
+ surf::NetCard *pimpl_netcard = nullptr;
+
+public:
+ /*** Called on each newly created object */
+ static simgrid::xbt::signal<void(Host&)> onCreation;
+ /*** Called just before destructing an object */
+ static simgrid::xbt::signal<void(Host&)> onDestruction;
+ /*** Called when the machine is turned on or off */
+ static simgrid::xbt::signal<void(Host&)> onStateChange;