From: Dominic L. <ma...@us...> - 2004-09-22 19:47:19
|
Update of /cvsroot/robotflow/RobotFlow/MARIE/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17966/include Modified Files: Makefile.am Added Files: MarieRequestSystem.h Log Message: added Request System object Index: Makefile.am =================================================================== RCS file: /cvsroot/robotflow/RobotFlow/MARIE/include/Makefile.am,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Makefile.am 22 Sep 2004 13:55:53 -0000 1.10 --- Makefile.am 22 Sep 2004 19:47:06 -0000 1.11 *************** *** 18,22 **** MarieDataRaw.h \ MarieCommandJoystick.h \ ! MarieDataMap.h include_HEADERS = MarieObject.h --- 18,23 ---- MarieDataRaw.h \ MarieCommandJoystick.h \ ! MarieDataMap.h \ ! MarieRequestSystem.h include_HEADERS = MarieObject.h --- NEW FILE: MarieRequestSystem.h --- /* * MARIE - Mobile and Autonomous Robotics Integration Environment * Copyright (C) 2004 Dominic Letourneau * * 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_REQUEST_SYSTEM_H_ #define _MARIE_REQUEST_SYSTEM_H_ //FlowDesigner include #include "Object.h" #include "MarieObject.h" //MARIE data types include #include "RequestSystem.h" namespace marie { class MarieRequestSystem : public MarieObject, public RequestSystem { public: MarieRequestSystem(); MarieRequestSystem (const RequestSystem &data); //from BufferedNode MarieRequestSystem(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_inputID; //outputs int m_commandID; int m_dataID; int m_requestIDID; int m_stateID; }; } #endif |