Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New platform files (just add AS tag)
[simgrid.git] / examples / cxx / suspend / LazyGuy.hpp
1 #ifndef LAZYGUY_HPP
2 #define LAZYGUY_HPP
3
4 #include <MsgProcess.hpp>
5 using namespace SimGrid::Msg;
6
7 class LazyGuy : public Process
8 {
9         // Not needed : DreamMaster directly constructs the object
10         // MSG_DECLARE_DYNAMIC(LazyGuy);
11
12         public:
13         
14         // Default constructor.
15         LazyGuy(){}
16         
17         // Destructor.
18         virtual ~LazyGuy(){}
19         
20         LazyGuy(const Host& rHost,const char* name)
21         throw(NullPointerException)
22         :Process(rHost, name){}
23         
24         int main(int argc, char** argv);
25                 
26 };
27
28
29 #endif // !LAZYGUY_HPP
30