postsync_thread.cpp

00001 
00002 /***************************************************************************
00003  *  postsync_thread.cpp - Thread to synchronize loops, POST_LOOP hook
00004  *
00005  *  Created: Tue Sep 30 14:29:59 2008
00006  *  Copyright  2006-2008  Tim Niemueller [www.niemueller.de]
00007  *
00008  ****************************************************************************/
00009 
00010 /*  This program is free software; you can redistribute it and/or modify
00011  *  it under the terms of the GNU General Public License as published by
00012  *  the Free Software Foundation; either version 2 of the License, or
00013  *  (at your option) any later version.
00014  *
00015  *  This program is distributed in the hope that it will be useful,
00016  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  *  GNU Library General Public License for more details.
00019  *
00020  *  Read the full text in the LICENSE.GPL file in the doc directory.
00021  */
00022 
00023 #include "postsync_thread.h"
00024 
00025 using namespace fawkes;
00026 
00027 /** @class PlayerPostSyncThread "playerc_thread.h"
00028  * Synchronization thread Post Sync
00029  * This thread is called in the POST_LOOP hook to synchronize a Player
00030  * simulation loop and a Fawkes loop.
00031  * @author Tim Niemueller
00032  *
00033  * @todo needs real integration, currently only place holder
00034  */
00035 
00036 
00037 /** Constructor. */
00038 PlayerPostSyncThread::PlayerPostSyncThread()
00039   : Thread("PlayerPostSyncThread", Thread::OPMODE_WAITFORWAKEUP),
00040     BlockedTimingAspect(BlockedTimingAspect::WAKEUP_HOOK_POST_LOOP)
00041 {
00042 }
00043 
00044 
00045 void
00046 PlayerPostSyncThread::init()
00047 {
00048 }
00049 
00050 
00051 void
00052 PlayerPostSyncThread::finalize()
00053 {
00054 }
00055 
00056 
00057 void
00058 PlayerPostSyncThread::loop()
00059 {
00060 }