Fawkes API  Fawkes Development Version
syncpoint.h
1 /***************************************************************************
2  * syncpoint.h - SyncPoint Aspect initializer/finalizer
3  *
4  * Created: Thu Feb 19 14:39:42 2015
5  * Copyright 2015 Till Hofmann
6  *
7  ****************************************************************************/
8 
9 /* This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU Library General Public License for more details.
18  *
19  * Read the full text in the LICENSE.GPL file in the doc directory.
20  */
21 
22 #ifndef _ASPECT_INIFINS_SYNCPOINT_H_
23 #define _ASPECT_INIFINS_SYNCPOINT_H_
24 
25 #include <aspect/inifins/inifin.h>
26 
27 namespace fawkes {
28 
29 class SyncPointManager;
30 
31 class SyncPointAspectIniFin : public AspectIniFin
32 {
33 public:
34  SyncPointAspectIniFin(SyncPointManager *syncpoint_manager);
35 
36  virtual void init(Thread *thread);
37  virtual void finalize(Thread *thread);
38 
39 private:
40  SyncPointManager *syncpoint_manager_;
41 };
42 
43 } // end namespace fawkes
44 
45 #endif
fawkes::SyncPointManager
Definition: syncpoint_manager.h:43
fawkes::SyncPointAspectIniFin::init
virtual void init(Thread *thread)
Definition: syncpoint.cpp:49
fawkes::SyncPointAspectIniFin::finalize
virtual void finalize(Thread *thread)
Definition: syncpoint.cpp:64
fawkes
fawkes::SyncPointAspectIniFin::SyncPointAspectIniFin
SyncPointAspectIniFin(SyncPointManager *syncpoint_manager)
Constructor.
Definition: syncpoint.cpp:42
fawkes::Thread
Definition: thread.h:45