00001 /* 00002 * Copyright (c) 2007, 2008, 2009, University of Karlsruhe (for members see AUTHORS file) 00003 * Copyright (c) 2012, Karlsruhe Institute of Technology (for members see AUTHORS file) 00004 * 00005 * ISC License 00006 * 00007 * Permission to use, copy, modify, and/or distribute this software for any 00008 * purpose with or without fee is hereby granted, provided that the above 00009 * copyright notice and this permission notice appear in all copies. 00010 * 00011 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 00012 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 00013 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 00014 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 00015 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 00016 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 00017 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 00018 * 00019 * Created by Alexander Bierbaum 00020 */ 00021 00028 #include "../include/IPSA/ipsaclasses.h" 00029 #include "../include/IPSA/IpsaSimulator.h" 00030 #include "../include/IPSA/viewer/instructions/UnscheduleIPSA.h" 00031 00032 00033 Instruction::tExecResultType UnscheduleIPSA::vExecute(std::vector<std::string>& Instr, std::ostringstream& answer, unsigned int& numberOfReturnValues) 00034 { 00035 numberOfReturnValues = 0; 00036 SoWorldPhysics::ApplyActionToWorldPhysicNodesInGraph(SoWorldPhysics::UnscheduleWorldCB, ipsaSimulator->getSceneGraph()); 00037 return eOK; 00038 }
Generated on Sat Mar 10 20:00:15 2012 for IPSA by 1.5.8 |