yasmine
interruptible.hpp
Go to the documentation of this file.
1 // //
3 // This file is part of the Seadex yasmine ecosystem (http://yasmine.seadex.de). //
4 // Copyright (C) 2016-2017 Seadex GmbH //
5 // //
6 // Licensing information is available in the folder "license" which is part of this distribution. //
7 // The same information is available on the www @ http://yasmine.seadex.de/Licenses.html. //
8 // //
10 
11 #ifndef INTERRUPTIBLE_32EC8385_109D_4338_BA8D_A82356BDBAF2
12 #define INTERRUPTIBLE_32EC8385_109D_4338_BA8D_A82356BDBAF2
13 
14 
15 #include "essentials/non_copyable.hpp"
16 
17 
18 namespace sxy
19 {
20 
21 
23  {
24  public:
26  {
27  // Nothing to do...
28  }
29 
30  virtual ~interruptible() SX_NOEXCEPT
31  {
32  // Nothing to do...
33  }
34 
35 
36  SX_NO_COPY( interruptible )
37  virtual bool is_interrupted() const = 0;
38  };
39 
40 
41 }
42 
43 
44 #endif
virtual bool is_interrupted() const =0
Definition: adapter_cpp11.hpp:21
Definition: interruptible.hpp:22
interruptible()
Definition: interruptible.hpp:25
virtual ~interruptible() SX_NOEXCEPT
Definition: interruptible.hpp:30