ESyS-Particle  2.3.4
Runnable.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-2017 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.apache.org/licenses/LICENSE-2.0 //
10 // //
12 
13 
14 #ifndef ESYS_LSMRUNNABLE_H
15 #define ESYS_LSMRUNNABLE_H
16 
17 #include <boost/shared_ptr.hpp>
18 
19 namespace esys
20 {
21  namespace lsm
22  {
23  class Runnable
24  {
25  public:
26  typedef boost::shared_ptr<Runnable> Ptr;
27  virtual void run() = 0;
28  };
29  }
30 }
31 
32 #endif
Runnable.h
esys::lsm::Runnable
Definition: Runnable.h:24
esys::lsm::Runnable::Ptr
boost::shared_ptr< Runnable > Ptr
Definition: Runnable.h:26
esys
Definition: CheckPointable.cpp:17
esys::lsm::Runnable::run
virtual void run()=0