From: Carle C. <car...@us...> - 2004-08-30 19:22:04
|
Update of /cvsroot/robotflow/RobotFlow/MARIE/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4910/MARIE/include Added Files: MarieDataLocalisation.h Log Message: add localisation data type --- NEW FILE: MarieDataLocalisation.h --- /* * MARIE - Mobile and Autonomous Robotics Integration Environment * Copyright (C) 2004 Carle Cote * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * You can contact MARIE development team at http://marie.sourceforge.net */ // Prevent Multiple Inclusion #ifndef _MARIE_DATA_LOCALISATION_H_ #define _MARIE_DATA_LOCALISATION_H_ //FlowDesigner include #include "Object.h" #include "MarieObject.h" //MARIE data types include #include "DataLocalisation.h" namespace marie { class MarieDataLocalisation : public MarieObject, public DataLocalisation { public: MarieDataLocalisation(); MarieDataLocalisation(const DataLocalisation &command); //from BufferedNode MarieDataLocalisation(string nodeName, ParameterSet params); virtual void calculate(int output_id, int count, Buffer &out); virtual void printOn(ostream &out) const; virtual void readFrom(istream &in=cin); virtual void copyDataAbstract(DataAbstract *data); private: bool m_isNode; //inputs int m_dataInID; int m_xInID; int m_yInID; int m_zInID; int m_strengthInID; int m_idInID; //outputs int m_dataOutID; int m_xOutID; int m_yOutID; int m_zOutID; int m_strengthOutID; int m_idOutID; }; } #endif |