/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#ifndef SIMIX_SYNCHRO_IO_HPP
-#define SIMIX_SYNCHRO_IO_HPP
+#ifndef SIMGRID_KERNEL_ACTIVITY_IO_HPP
+#define SIMGRID_KERNEL_ACTIVITY_IO_HPP
#include "src/kernel/activity/ActivityImpl.hpp"
#include "surf/surf.hpp"
IoImpl& set_disk(resource::DiskImpl* disk);
sg_size_t get_performed_ioops() { return performed_ioops_; }
+ resource::DiskImpl* get_disk() { return disk_; }
+ resource::StorageImpl* get_storage() { return storage_; }
IoImpl* start();
void post() override;
void finish() override;
+ resource::Action* timeout_detector_ = nullptr;
static xbt::signal<void(IoImpl const&)> on_start;
static xbt::signal<void(IoImpl const&)> on_completion;
};