00001 /**************************************************************************** 00002 00003 This file is part of the GLC-lib library. 00004 Copyright (C) 2005-2008 Laurent Ribon (laumaya@users.sourceforge.net) 00005 Copyright (C) 2009 Laurent Bauer 00006 http://glc-lib.sourceforge.net 00007 00008 GLC-lib is free software; you can redistribute it and/or modify 00009 it under the terms of the GNU Lesser General Public License as published by 00010 the Free Software Foundation; either version 3 of the License, or 00011 (at your option) any later version. 00012 00013 GLC-lib is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU Lesser General Public License for more details. 00017 00018 You should have received a copy of the GNU Lesser General Public License 00019 along with GLC-lib; if not, write to the Free Software 00020 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00021 00022 *****************************************************************************/ 00023 00024 #ifndef GLC_TURNTABLEMOVER_H_ 00025 #define GLC_TURNTABLEMOVER_H_ 00026 00027 #include "glc_mover.h" 00028 00029 #include "../glc_config.h" 00030 00033 00034 00035 class GLC_LIB_EXPORT GLC_TurnTableMover : public GLC_Mover 00036 { 00037 public: 00039 GLC_TurnTableMover(GLC_Viewport*, const QList<GLC_RepMover*>& repsList= QList<GLC_RepMover*>()); 00040 00042 GLC_TurnTableMover(const GLC_TurnTableMover&); 00043 00045 virtual ~GLC_TurnTableMover(); 00046 00048 00050 00051 public: 00053 virtual GLC_Mover* clone() const; 00055 00057 00059 00060 public: 00062 virtual void init(const GLC_UserInput& userInput); 00063 00065 virtual bool move(const GLC_UserInput& userInput); 00066 00068 00070 // Private services Functions 00072 private: 00073 00075 // Private Members 00078 double m_Sign; 00079 }; 00080 00081 #endif /* GLC_TURNTABLEMOVER_H_ */