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 
32 {
33 public:
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)
Initialize thread.
Definition: syncpoint_manager.cpp:43
fawkes::SyncPointManagerAspectIniFin
Initializer/finalizer for the SyncPointManagerAspect.
Definition: syncpoint_manager.h:32
fawkes::SyncPointManager
This class gives access to SyncPoints.
Definition: syncpoint_manager.h:38
fawkes::SyncPointManagerAspectIniFin::SyncPointManagerAspectIniFin
SyncPointManagerAspectIniFin(SyncPointManager *syncpoint_manager)
Constructor.
Definition: syncpoint_manager.cpp:36
fawkes::AspectIniFin
Aspect initializer/finalizer base class.
Definition: inifin.h:34
fawkes
Fawkes library namespace.
fawkes::SyncPointManagerAspectIniFin::finalize
virtual void finalize(Thread *thread)
Finalize thread.
Definition: syncpoint_manager.cpp:58
fawkes::Thread
Thread class encapsulation of pthreads.
Definition: thread.h:46