+#include <xbt/base.h>
+
+#include "network_interface.hpp"
+
+namespace simgrid {
+ namespace surf {
+
+ /***********
+ * Classes *
+ ***********/
+
+ class XBT_PRIVATE NetworkConstantModel;
+ class XBT_PRIVATE NetworkConstantAction;
+
+ /*********
+ * Model *
+ *********/
+ class NetworkConstantModel : public NetworkModel {
+ public:
+ NetworkConstantModel() : NetworkModel() { };
+ ~NetworkConstantModel() { }
+
+ Action *communicate(NetCard *src, NetCard *dst, double size, double rate) override;
+ double next_occuring_event(double now) override;
+ bool next_occuring_event_isIdempotent() override {return true;}
+ void updateActionsState(double now, double delta) override;