00001 /* -*- mode:c++ -*- ******************************************************** 00002 * file: LinearMobility.h 00003 * 00004 * author: Emin Ilker Cetinbas (niw3_at_yahoo_d0t_com) 00005 * 00006 * Copyright (C) 2005 Emin Ilker Cetinbas 00007 * 00008 * This program is free software; you can redistribute it 00009 * and/or modify it under the terms of the GNU General Public 00010 * License as published by the Free Software Foundation; either 00011 * version 2 of the License, or (at your option) any later 00012 * version. 00013 * For further information see file COPYING 00014 * in the top level directory 00015 *************************************************************************** 00016 * part of: framework implementation developed by tkn 00017 **************************************************************************/ 00018 00019 00020 #ifndef LINEAR_MOBILITY_H 00021 #define LINEAR_MOBILITY_H 00022 00023 #include <BaseMobility.h> 00024 00025 00036 class LinearMobility : public BaseMobility 00037 { 00038 protected: 00039 double angle; 00040 double acceleration; 00041 00043 Coord stepTarget; 00044 00045 public: 00046 //Module_Class_Members( LinearMobility, BaseMobility, 0 ); 00047 00049 virtual void initialize(int); 00050 00051 protected: 00053 virtual void makeMove(); 00054 00055 virtual void fixIfHostGetsOutside(); 00056 }; 00057 00058 #endif 00059