Fawkes API
Fawkes Development Version
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
logreplay_bt_thread.h
1
2
/***************************************************************************
3
* logreplay_bt_thread.h - BB Log Replay Blocked Timing Thread
4
*
5
* Created: Sun Feb 21 23:50:08 2010
6
* Copyright 2010 Tim Niemueller [www.niemueller.de]
7
* 2010 Masrur Doostdar <doostdar@kbsg.rwth-aachen.de>
8
*
9
****************************************************************************/
10
11
/* This program is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* (at your option) any later version.
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU Library General Public License for more details.
20
*
21
* Read the full text in the LICENSE.GPL file in the doc directory.
22
*/
23
24
#ifndef __PLUGINS_BBLOGGER_LOGREPLAY_BT_THREAD_H_
25
#define __PLUGINS_BBLOGGER_LOGREPLAY_BT_THREAD_H_
26
27
#include "logreplay_thread.h"
28
29
#include <aspect/blocked_timing.h>
30
31
class
BBLogReplayBlockedTimingThread
32
:
public
BBLogReplayThread
,
33
public
fawkes::BlockedTimingAspect
34
{
35
public
:
36
BBLogReplayBlockedTimingThread
(
fawkes::BlockedTimingAspect::WakeupHook
hook,
37
const
char
*logfile_name,
38
const
char
*logdir,
39
const
char
*scenario,
40
float
grace_period,
41
bool
loop_replay,
42
bool
non_blocking);
43
44
/** Stub to see name in backtrace for easier debugging. @see Thread::run() */
45
protected
:
virtual
void
run
() {
Thread::run
(); }
46
47
};
48
49
50
#endif
src
plugins
bblogger
logreplay_bt_thread.h
Generated by
1.8.1.1