00001 #ifndef _INSTRUCTIONS_GET_BODY_POSITION_H_ 00002 #define _INSTRUCTIONS_GET_BODY_POSITION_H_ 00003 /* 00004 * GetBodyPosition.h 00005 * 00006 * Copyright (c) 2007, 2008, 2009, University of Karlsruhe (for members see AUTHORS file) 00007 * Copyright (c) 2011, Karlsruhe Institute of Technology (for members see AUTHORS file) 00008 * 00009 * ISC License 00010 * 00011 * Permission to use, copy, modify, and/or distribute this software for any 00012 * purpose with or without fee is hereby granted, provided that the above 00013 * copyright notice and this permission notice appear in all copies. 00014 * 00015 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 00016 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 00017 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 00018 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 00019 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 00020 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 00021 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 00022 * 00023 * Created by Alexander Bierbaum 00024 */ 00025 00030 #include "../../IPSA.h" 00031 #include "Instruction.h" 00032 #include <vector> 00033 #include <string> 00034 00035 00036 class IPSA_VIEWER_IMPORT_EXPORT GetBodyPosition : public Instruction 00037 { 00038 public: 00039 GetBodyPosition(const std::string& code = std::string("getbodyposition <nodename>")) 00040 :Instruction(code){;} 00041 protected: 00042 virtual tExecResultType vExecute(std::vector<std::string>& Instr, std::ostringstream& answer, unsigned int& numberOfReturnValues); 00043 }; 00044 00045 #endif // _INSTRUCTIONS_GET_BODY_POSITION_H_
Generated on Sat Mar 10 20:00:14 2012 for IPSA by 1.5.8 |