Fawkes API  Fawkes Development Version
syncpoint_manager.h
1 /***************************************************************************
2  * syncpoint_manager.h - SyncPointManager Aspect initializer/finalizer
3  *
4  * Created: Wed Jan 15 13:17:12 2014
5  * Copyright 2014 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_SYNCPOINTMANAGER_H_
23 #define _ASPECT_INIFINS_SYNCPOINTMANAGER_H_
24 
25 #include <aspect/inifins/inifin.h>
26 
27 namespace fawkes {
28 
29 class SyncPointManager;
30 
31 class SyncPointManagerAspectIniFin : public AspectIniFin
32 {
33 public:
34  SyncPointManagerAspectIniFin(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::SyncPointManagerAspectIniFin::init
virtual void init(Thread *thread)
Definition: syncpoint_manager.cpp:49
fawkes::SyncPointManager
Definition: syncpoint_manager.h:43
fawkes::SyncPointManagerAspectIniFin::SyncPointManagerAspectIniFin
SyncPointManagerAspectIniFin(SyncPointManager *syncpoint_manager)
Constructor.
Definition: syncpoint_manager.cpp:42
fawkes
fawkes::SyncPointManagerAspectIniFin::finalize
virtual void finalize(Thread *thread)
Definition: syncpoint_manager.cpp:64
fawkes::Thread
Definition: thread.h:45