00001 /************************************************************************* 00002 * * 00003 * Open Physics Abstraction Layer * 00004 * Copyright (C) 2004-2005 * 00005 * Alan Fischer alan.fischer@gmail.com * 00006 * Andres Reinot andres@reinot.com * 00007 * Tyler Streeter tylerstreeter@gmail.com * 00008 * All rights reserved. * 00009 * Web: opal.sourceforge.net * 00010 * * 00011 * This library is free software; you can redistribute it and/or * 00012 * modify it under the terms of EITHER: * 00013 * (1) The GNU Lesser General Public License as published by the Free * 00014 * Software Foundation; either version 2.1 of the License, or (at * 00015 * your option) any later version. The text of the GNU Lesser * 00016 * General Public License is included with this library in the * 00017 * file license-LGPL.txt. * 00018 * (2) The BSD-style license that is included with this library in * 00019 * the file license-BSD.txt. * 00020 * * 00021 * This library is distributed in the hope that it will be useful, * 00022 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00023 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the files * 00024 * license-LGPL.txt and license-BSD.txt for more details. * 00025 * * 00026 *************************************************************************/ 00027 00028 #ifndef OPAL_H 00029 #define OPAL_H 00030 00031 #include "Simulator.h" 00032 #include "Solid.h" 00033 #include "SolidData.h" 00034 #include "ShapeData.h" 00035 #include "BoxShapeData.h" 00036 #include "SphereShapeData.h" 00037 #include "CapsuleShapeData.h" 00038 #include "PlaneShapeData.h" 00039 #include "Mass.h" 00040 #include "MeshShapeData.h" 00041 #include "Motor.h" 00042 #include "MotorData.h" 00043 #include "AttractorMotor.h" 00044 #include "AttractorMotorData.h" 00045 #include "GearedMotor.h" 00046 #include "GearedMotorData.h" 00047 #include "ServoMotor.h" 00048 #include "ServoMotorData.h" 00049 #include "ThrusterMotor.h" 00050 #include "ThrusterMotorData.h" 00051 #include "VelocityMotor.h" 00052 #include "VelocityMotorData.h" 00053 #include "SpringMotor.h" 00054 #include "SpringMotorData.h" 00055 #include "Joint.h" 00056 #include "JointData.h" 00057 #include "Sensor.h" 00058 #include "SensorData.h" 00059 #include "AccelerationSensor.h" 00060 #include "AccelerationSensorData.h" 00061 #include "InclineSensor.h" 00062 #include "InclineSensorData.h" 00063 #include "RaycastSensor.h" 00064 #include "RaycastSensorData.h" 00065 #include "VolumeSensor.h" 00066 #include "VolumeSensorData.h" 00067 #include "EventHandler.h" 00068 #include "JointBreakEventHandler.h" 00069 #include "CollisionEventHandler.h" 00070 #include "PostStepEventHandler.h" 00071 #include "Blueprint.h" 00072 #include "BlueprintInstance.h" 00073 #include "BlueprintManager.h" 00074 #include "Defines.h" 00075 00076 namespace opal 00077 { 00079 OPAL_EXPORT_FUNCTION Simulator* OPAL_CALL createSimulator(); 00080 00082 OPAL_EXPORT_FUNCTION Simulator* OPAL_CALL createCustomSimulator( SimulatorData & data ); 00083 00085 OPAL_EXPORT_FUNCTION void OPAL_CALL loadFile(Blueprint& bp, 00086 const std::string& filename); 00087 00089 //OPAL_EXPORT_FUNCTION void OPAL_CALL saveFile(const Blueprint& bp, 00090 // const std::string& filename); 00091 } 00092 00093 #endif