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 : public BBLogReplayThread,
34 {
35  public:
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
BlackBoard log replay blocked timing thread.
Thread aspect to use blocked timing.
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.
WakeupHook
Type to define at which hook the thread is woken up.
virtual void run()
Stub to see name in backtrace for easier debugging.
BlackBoard log Replay thread.