- /** Retrieve a Storage by its name. It must exist in the platform file */
- static Storage* byName(std::string name);
+public:
+ /** @brief Callback signal fired when a new Storage is created */
+ static xbt::signal<void(Storage&)> on_creation;
+ /** @brief Callback signal fired when a Storage is destroyed */
+ static xbt::signal<void(Storage const&)> on_destruction;
+ /** @brief Callback signal fired when a Storage's state changes */
+ static xbt::signal<void(Storage const&)> on_state_change;