##

CommonTypes.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_COMMON_TYPES_HH_
#define _GAZEBO_COMMON_TYPES_HH_
#include <vector>
#include <map>
#include <string>
#include <memory>
#include <boost/shared_ptr.hpp>
#include "gazebo/util/system.hh"
// Defines
#ifndef NULL
#define NULL 0
#endif
namespace gazebo
{
class WorldPlugin;
class ModelPlugin;
class SensorPlugin;
class GUIPlugin;
class SystemPlugin;
class VisualPlugin;
typedef boost::shared_ptr<WorldPlugin> WorldPluginPtr;
typedef boost::shared_ptr<ModelPlugin> ModelPluginPtr;
typedef boost::shared_ptr<SensorPlugin> SensorPluginPtr;
typedef boost::shared_ptr<GUIPlugin> GUIPluginPtr;
typedef boost::shared_ptr<SystemPlugin> SystemPluginPtr;
typedef boost::shared_ptr<VisualPlugin> VisualPluginPtr;
namespace common
{
class Animation;
class Battery;
class Color;
class DiagnosticTimer;
class Image;
class Mesh;
class SubMesh;
class MouseEvent;
class NumericAnimation;
class Param;
class PoseAnimation;
class SkeletonAnimation;
class SphericalCoordinates;
class Time;
template <typename T>
class ParamT;
static const double SpeedOfLight = 299792458;
typedef std::vector<common::Param*> Param_V;
typedef std::map<std::string, std::string> StrStr_M;
typedef boost::shared_ptr<Animation> AnimationPtr;
typedef boost::shared_ptr<PoseAnimation> PoseAnimationPtr;
typedef boost::shared_ptr<NumericAnimation> NumericAnimationPtr;
typedef boost::shared_ptr<DiagnosticTimer> DiagnosticTimerPtr;
typedef boost::shared_ptr<SphericalCoordinates> SphericalCoordinatesPtr;
typedef std::shared_ptr<Battery> BatteryPtr;
}
namespace event
{
class Connection;
typedef boost::shared_ptr<Connection> ConnectionPtr;
typedef std::vector<ConnectionPtr> Connection_V;
}
}
#endif
gazebo
Forward declarations for the common classes.
Definition: Animation.hh:26
gazebo::VisualPluginPtr
boost::shared_ptr< VisualPlugin > VisualPluginPtr
Definition: CommonTypes.hh:70
gazebo::event::Connection_V
std::vector< ConnectionPtr > Connection_V
Definition: CommonTypes.hh:138
common
common
Definition: FuelModelDatabase.hh:37
system.hh
gazebo::ModelPluginPtr
boost::shared_ptr< ModelPlugin > ModelPluginPtr
Definition: CommonTypes.hh:54
gazebo::common::AnimationPtr
boost::shared_ptr< Animation > AnimationPtr
Definition: CommonTypes.hh:105
gazebo::event::Connection
A class that encapsulates a connection.
Definition: Event.hh:68
gazebo::common::NumericAnimationPtr
boost::shared_ptr< NumericAnimation > NumericAnimationPtr
Definition: CommonTypes.hh:113
gazebo::common::Param_V
std::vector< common::Param * > Param_V
Definition: CommonTypes.hh:97
gazebo::common::StrStr_M
std::map< std::string, std::string > StrStr_M
Definition: CommonTypes.hh:101
gazebo::common::SpeedOfLight
static const double SpeedOfLight
Speed of light.
Definition: CommonTypes.hh:93
gazebo::common::SphericalCoordinatesPtr
boost::shared_ptr< SphericalCoordinates > SphericalCoordinatesPtr
Definition: CommonTypes.hh:121
gazebo::common::ParamT
Definition: CommonTypes.hh:90
gazebo::event::ConnectionPtr
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:134
gazebo::GUIPluginPtr
boost::shared_ptr< GUIPlugin > GUIPluginPtr
Definition: CommonTypes.hh:62
gazebo::common::BatteryPtr
std::shared_ptr< Battery > BatteryPtr
Definition: CommonTypes.hh:125
gazebo::SensorPluginPtr
boost::shared_ptr< SensorPlugin > SensorPluginPtr
Definition: CommonTypes.hh:58
gazebo::common::DiagnosticTimerPtr
boost::shared_ptr< DiagnosticTimer > DiagnosticTimerPtr
Definition: CommonTypes.hh:117
gazebo::SystemPluginPtr
boost::shared_ptr< SystemPlugin > SystemPluginPtr
Definition: CommonTypes.hh:66
gazebo::WorldPluginPtr
boost::shared_ptr< WorldPlugin > WorldPluginPtr
Definition: CommonTypes.hh:50
gazebo::common::PoseAnimationPtr
boost::shared_ptr< PoseAnimation > PoseAnimationPtr
Definition: CommonTypes.hh:109