##

PhysicsTypes.hh
Go to the documentation of this file.
/*
* Copyright (C) 2012 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef GAZEBO_PHYSICS_PHYSICSTYPES_HH_
#define GAZEBO_PHYSICS_PHYSICSTYPES_HH_
#include <map>
#include <memory>
#include <string>
#include <vector>
#include <boost/shared_ptr.hpp>
#include "gazebo/util/system.hh"
namespace gazebo
{
namespace physics
{
class Base;
class Entity;
class World;
class Model;
class Actor;
class Light;
class Link;
class Collision;
class FrictionPyramid;
class Gripper;
class Joint;
class JointController;
class Contact;
class PresetManager;
class UserCmd;
class UserCmdManager;
class PhysicsEngine;
class Wind;
class Atmosphere;
class Mass;
class Road;
class Shape;
class RayShape;
class MultiRayShape;
class Inertial;
class SurfaceParams;
class BoxShape;
class CylinderShape;
class MeshShape;
class SphereShape;
class PlaneShape;
class HeightmapShape;
class PolylineShape;
class ModelState;
class LightState;
class LinkState;
class JointState;
class TrajectoryInfo;
typedef boost::shared_ptr<Base> BasePtr;
typedef boost::shared_ptr<Contact> ContactPtr;
typedef boost::shared_ptr<Entity> EntityPtr;
typedef boost::shared_ptr<World> WorldPtr;
typedef boost::shared_ptr<Model> ModelPtr;
typedef boost::shared_ptr<Actor> ActorPtr;
typedef std::shared_ptr<TrajectoryInfo> TrajectoryInfoPtr;
typedef boost::shared_ptr<Light> LightPtr;
typedef boost::shared_ptr<Link> LinkPtr;
typedef boost::shared_ptr<Collision> CollisionPtr;
typedef boost::shared_ptr<Joint> JointPtr;
typedef boost::shared_ptr<JointController> JointControllerPtr;
typedef boost::shared_ptr<PhysicsEngine> PhysicsEnginePtr;
typedef boost::shared_ptr<PresetManager> PresetManagerPtr;
typedef std::shared_ptr<UserCmd> UserCmdPtr;
typedef std::shared_ptr<UserCmdManager> UserCmdManagerPtr;
typedef boost::shared_ptr<Shape> ShapePtr;
typedef boost::shared_ptr<RayShape> RayShapePtr;
typedef boost::shared_ptr<HeightmapShape> HeightmapShapePtr;
typedef boost::shared_ptr<MultiRayShape> MultiRayShapePtr;
typedef boost::shared_ptr<Inertial> InertialPtr;
typedef boost::shared_ptr<Road> RoadPtr;
typedef boost::shared_ptr<FrictionPyramid> FrictionPyramidPtr;
typedef boost::shared_ptr<SurfaceParams> SurfaceParamsPtr;
typedef boost::shared_ptr<BoxShape> BoxShapePtr;
typedef boost::shared_ptr<CylinderShape> CylinderShapePtr;
typedef boost::shared_ptr<PlaneShape> PlaneShapePtr;
typedef boost::shared_ptr<MeshShape> MeshShapePtr;
typedef boost::shared_ptr<PolylineShape> PolylineShapePtr;
typedef boost::shared_ptr<SphereShape> SphereShapePtr;
typedef boost::shared_ptr<Gripper> GripperPtr;
typedef std::vector<BasePtr> Base_V;
typedef std::vector<ModelPtr> Model_V;
typedef std::vector<ActorPtr> Actor_V;
typedef std::vector<JointPtr> Joint_V;
typedef std::vector<JointControllerPtr> JointController_V;
typedef std::vector<LightPtr> Light_V;
typedef std::vector<LinkPtr> Link_V;
typedef std::vector<CollisionPtr> Collision_V;
typedef std::map<std::string, ModelState> ModelState_M;
typedef std::map<std::string, LightState> LightState_M;
typedef std::map<std::string, LinkState> LinkState_M;
typedef std::map<std::string, JointState> JointState_M;
#ifndef GZ_COLLIDE_BITS
#define GZ_ALL_COLLIDE 0x0FFFFFFF
#define GZ_NONE_COLLIDE 0x00000000
#define GZ_FIXED_COLLIDE 0x00000001
#define GZ_SENSOR_COLLIDE 0x00000002
#define GZ_GHOST_COLLIDE 0x10000000
#endif
}
}
#endif
gazebo::physics::ActorPtr
boost::shared_ptr< Actor > ActorPtr
Definition: PhysicsTypes.hh:97
gazebo::physics::Joint_V
std::vector< JointPtr > Joint_V
Definition: PhysicsTypes.hh:213
gazebo::physics::SphereShapePtr
boost::shared_ptr< SphereShape > SphereShapePtr
Definition: PhysicsTypes.hh:193
gazebo::physics::ModelState_M
std::map< std::string, ModelState > ModelState_M
Definition: PhysicsTypes.hh:233
gazebo
Forward declarations for the common classes.
Definition: Animation.hh:26
gazebo::physics::UserCmdPtr
std::shared_ptr< UserCmd > UserCmdPtr
Definition: PhysicsTypes.hh:133
gazebo::physics::JointControllerPtr
boost::shared_ptr< JointController > JointControllerPtr
Definition: PhysicsTypes.hh:121
gazebo::physics::ModelPtr
boost::shared_ptr< Model > ModelPtr
Definition: PhysicsTypes.hh:93
gazebo::physics::Model_V
std::vector< ModelPtr > Model_V
Definition: PhysicsTypes.hh:205
gazebo::physics::HeightmapShapePtr
boost::shared_ptr< HeightmapShape > HeightmapShapePtr
Definition: PhysicsTypes.hh:149
gazebo::physics::MeshShapePtr
boost::shared_ptr< MeshShape > MeshShapePtr
Definition: PhysicsTypes.hh:185
gazebo::physics::PolylineShapePtr
boost::shared_ptr< PolylineShape > PolylineShapePtr
Definition: PhysicsTypes.hh:189
system.hh
gazebo::physics::JointController_V
std::vector< JointControllerPtr > JointController_V
Definition: PhysicsTypes.hh:217
gazebo::physics::RoadPtr
boost::shared_ptr< Road > RoadPtr
Definition: PhysicsTypes.hh:161
gazebo::physics::LightPtr
boost::shared_ptr< Light > LightPtr
Definition: PhysicsTypes.hh:105
gazebo::physics::ShapePtr
boost::shared_ptr< Shape > ShapePtr
Definition: PhysicsTypes.hh:141
gazebo::physics::TrajectoryInfoPtr
std::shared_ptr< TrajectoryInfo > TrajectoryInfoPtr
Definition: PhysicsTypes.hh:101
gazebo::physics::BasePtr
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:77
gazebo::physics::PlaneShapePtr
boost::shared_ptr< PlaneShape > PlaneShapePtr
Definition: PhysicsTypes.hh:181
gazebo::physics::LinkPtr
boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:109
gazebo::physics::LightState_M
std::map< std::string, LightState > LightState_M
Definition: PhysicsTypes.hh:237
gazebo::physics::FrictionPyramidPtr
boost::shared_ptr< FrictionPyramid > FrictionPyramidPtr
Definition: PhysicsTypes.hh:165
gazebo::physics::Actor_V
std::vector< ActorPtr > Actor_V
Definition: PhysicsTypes.hh:209
gazebo::physics::EntityPtr
boost::shared_ptr< Entity > EntityPtr
Definition: PhysicsTypes.hh:85
gazebo::physics::JointPtr
boost::shared_ptr< Joint > JointPtr
Definition: PhysicsTypes.hh:117
gazebo::physics::BoxShapePtr
boost::shared_ptr< BoxShape > BoxShapePtr
Definition: PhysicsTypes.hh:173
gazebo::physics::PhysicsEnginePtr
boost::shared_ptr< PhysicsEngine > PhysicsEnginePtr
Definition: PhysicsTypes.hh:125
gazebo::physics::CollisionPtr
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:113
gazebo::physics::ContactPtr
boost::shared_ptr< Contact > ContactPtr
Definition: PhysicsTypes.hh:81
gazebo::physics::Link_V
std::vector< LinkPtr > Link_V
Definition: PhysicsTypes.hh:225
gazebo::physics::JointState_M
std::map< std::string, JointState > JointState_M
Definition: PhysicsTypes.hh:245
gazebo::physics::Collision_V
std::vector< CollisionPtr > Collision_V
Definition: PhysicsTypes.hh:229
Road
Used to render a strip of road.
gazebo::physics::SurfaceParamsPtr
boost::shared_ptr< SurfaceParams > SurfaceParamsPtr
Definition: PhysicsTypes.hh:169
gazebo::physics::WorldPtr
boost::shared_ptr< World > WorldPtr
Definition: PhysicsTypes.hh:89
gazebo::physics::LinkState_M
std::map< std::string, LinkState > LinkState_M
Definition: PhysicsTypes.hh:241
gazebo::physics::Base_V
std::vector< BasePtr > Base_V
Definition: PhysicsTypes.hh:201
gazebo::physics::RayShapePtr
boost::shared_ptr< RayShape > RayShapePtr
Definition: PhysicsTypes.hh:145
gazebo::physics::GripperPtr
boost::shared_ptr< Gripper > GripperPtr
Definition: PhysicsTypes.hh:197
gazebo::physics::PresetManagerPtr
boost::shared_ptr< PresetManager > PresetManagerPtr
Definition: PhysicsTypes.hh:129
gazebo::physics::InertialPtr
boost::shared_ptr< Inertial > InertialPtr
Definition: PhysicsTypes.hh:157
gazebo::physics::CylinderShapePtr
boost::shared_ptr< CylinderShape > CylinderShapePtr
Definition: PhysicsTypes.hh:177
gazebo::physics::MultiRayShapePtr
boost::shared_ptr< MultiRayShape > MultiRayShapePtr
Definition: PhysicsTypes.hh:153
gazebo::physics::UserCmdManagerPtr
std::shared_ptr< UserCmdManager > UserCmdManagerPtr
Definition: PhysicsTypes.hh:137
gazebo::physics::Light_V
std::vector< LightPtr > Light_V
Definition: PhysicsTypes.hh:221