- NetworkConstantActionLmm(NetworkConstantModelPtr model, double size, double latency):
- Action(model, size, false), NetworkCm02ActionLmm(model, 0, false), m_latInit(latency) {
- m_latency = latency;
- if (m_latency <= 0.0) {
- p_stateSet = p_model->p_doneActionSet;
- xbt_swag_insert(static_cast<ActionPtr>(this), p_stateSet);
- }
- };
- int unref();
- void recycle();
- void cancel();
- void setCategory(const char *category);
- void suspend();
- void resume();
- bool isSuspended();
- double m_latInit;
- int m_suspended;
+ NetworkConstantAction(NetworkConstantModel* model_, double size, double latency);
+ ~NetworkConstantAction();
+ double initial_latency_;
+ void update_remains_lazy(double now) override;