Fawkes API Fawkes Development Version
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
32{
33public:
35 const char * logfile_name,
36 const char * logdir,
37 const char * scenario,
38 float grace_period,
39 bool loop_replay,
40 bool non_blocking);
41
42 /** Stub to see name in backtrace for easier debugging. @see Thread::run() */
43protected:
44 virtual void
46 {
47 Thread::run();
48 }
49};
50
51#endif
BlackBoard log replay blocked timing thread.
virtual void run()
Stub to see name in backtrace for easier debugging.
BBLogReplayBlockedTimingThread(fawkes::BlockedTimingAspect::WakeupHook hook, const char *logfile_name, const char *logdir, const char *scenario, float grace_period, bool loop_replay, bool non_blocking)
Constructor.
BlackBoard log Replay thread.
Thread aspect to use blocked timing.
WakeupHook
Type to define at which hook the thread is woken up.