Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
71f1a453771dc4d4aa8b187a8f0bd505c314a311
[simgrid.git] / src / kernel / activity / IoImpl.hpp
1 /* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef SIMIX_SYNCHRO_IO_HPP
7 #define SIMIX_SYNCHRO_IO_HPP
8
9 #include "src/kernel/activity/ActivityImpl.hpp"
10 #include "surf/surf.hpp"
11
12 namespace simgrid {
13 namespace kernel {
14 namespace activity {
15
16 class XBT_PUBLIC IoImpl : public ActivityImpl {
17 public:
18   void suspend() override;
19   void resume() override;
20   void post() override;
21
22   simgrid::kernel::resource::Action* surf_action_ = nullptr;
23 };
24 }
25 }
26 } // namespace simgrid::kernel::activity
27
28 #endif