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
27namespace fawkes {
28
29class SyncPointManager;
30
32{
33public:
35
36 virtual void init(Thread *thread);
37 virtual void finalize(Thread *thread);
38
39private:
40 SyncPointManager *syncpoint_manager_;
41};
42
43} // end namespace fawkes
44
45#endif
Aspect initializer/finalizer base class.
Definition: inifin.h:34
Initializer/finalizer for the SyncPointManagerAspect.
virtual void init(Thread *thread)
Initialize thread.
virtual void finalize(Thread *thread)
Finalize thread.
SyncPointManagerAspectIniFin(SyncPointManager *syncpoint_manager)
Constructor.
This class gives access to SyncPoints.
Thread class encapsulation of pthreads.
Definition: thread.h:46
Fawkes library namespace.