Output a message. More...
Files | |
file | CommonTypes.hh |
Namespaces | |
gazebo::common | |
Common namespace. | |
Classes | |
class | gazebo::common::Animation |
Manages an animation, which is a collection of keyframes and the ability to interpolate between the keyframes. More... | |
class | gazebo::common::AssertionInternalError |
Class for generating Exceptions which come from gazebo assertions. More... | |
class | gazebo::common::AudioDecoder |
An audio decoder based on FFMPEG. More... | |
class | gazebo::common::BVHLoader |
Handles loading BVH animation files. More... | |
class | gazebo::common::ColladaLoader |
Class used to load Collada mesh files. More... | |
class | gazebo::common::Color |
Defines a color. More... | |
class | gazebo::common::Console |
Container for loggers, and global logging options (such as verbose vs. More... | |
class | gazebo::common::Exception |
Class for generating exceptions. More... | |
class | gazebo::common::FileLogger |
A logger that outputs messages to a file. More... | |
class | gazebo::common::HeightmapData |
Encapsulates a generic heightmap data file. More... | |
class | gazebo::common::Image |
Encapsulates an image. More... | |
class | gazebo::common::ImageHeightmap |
Encapsulates an image that will be interpreted as a heightmap. More... | |
class | gazebo::common::InternalError |
Class for generating Internal Gazebo Errors: those errors which should never happend and represent programming bugs. More... | |
class | gazebo::common::KeyEvent |
Generic description of a keyboard event. More... | |
class | gazebo::common::KeyFrame |
A key frame in an animation. More... | |
class | gazebo::common::Logger |
Terminal logger. More... | |
class | gazebo::common::Material |
Encapsulates description of a material. More... | |
class | gazebo::common::Mesh |
A 3D mesh. More... | |
class | gazebo::common::MeshCSG |
Creates CSG meshes. More... | |
class | gazebo::common::MeshLoader |
Base class for loading meshes. More... | |
class | gazebo::common::MeshManager |
Maintains and manages all meshes. More... | |
class | gazebo::common::ModelDatabase |
Connects to model database, and has utility functions to find models. More... | |
class | gazebo::ModelPlugin |
A plugin with access to physics::Model. More... | |
class | gazebo::common::MouseEvent |
Generic description of a mouse event. More... | |
class | gazebo::common::MovingWindowFilter< T > |
Base class for MovingWindowFilter. More... | |
class | gazebo::common::MovingWindowFilterPrivate< T > |
class | gazebo::common::NodeAnimation |
Node animation. More... | |
class | gazebo::common::NodeAssignment |
Vertex to node weighted assignement for skeleton animation visualization. More... | |
class | gazebo::common::NodeTransform |
NodeTransform Skeleton.hh common/common.hh More... | |
class | gazebo::common::NumericAnimation |
A numeric animation. More... | |
class | gazebo::common::NumericKeyFrame |
A keyframe for a NumericAnimation. More... | |
class | gazebo::common::PID |
Generic PID controller class. More... | |
class | gazebo::PluginT< T > |
A class which all plugins must inherit from. More... | |
class | gazebo::common::PoseAnimation |
A pose animation. More... | |
class | gazebo::common::PoseKeyFrame |
A keyframe for a PoseAnimation. More... | |
class | gazebo::SensorPlugin |
A plugin with access to physics::Sensor. More... | |
class | SingletonT< T > |
Singleton template class. More... | |
class | gazebo::common::Skeleton |
A skeleton. More... | |
class | gazebo::common::SkeletonAnimation |
Skeleton animation. More... | |
class | gazebo::common::SkeletonNode |
A skeleton node. More... | |
class | gazebo::common::SphericalCoordinates |
Convert spherical coordinates for planetary surfaces. More... | |
class | gazebo::common::SphericalCoordinatesPrivate |
commmon/common.hh More... | |
class | gazebo::common::STLLoader |
Class used to load STL mesh files. More... | |
class | gazebo::common::SubMesh |
A child mesh. More... | |
class | gazebo::common::SystemPaths |
Functions to handle getting system paths, keeps track of: More... | |
class | gazebo::SystemPlugin |
A plugin loaded within the gzserver on startup. More... | |
class | gazebo::common::Time |
A Time class, can be used to hold wall- or sim-time. More... | |
class | gazebo::common::Timer |
A timer class, used to time things in real world walltime. More... | |
class | gazebo::common::Video |
Handle video encoding and decoding using libavcodec. More... | |
class | gazebo::VisualPlugin |
A plugin loaded within the gzserver on startup. More... | |
class | gazebo::WorldPlugin |
A plugin with access to physics::World. More... | |
Macros | |
#define | gzdbg (gazebo::common::Console::dbg(__FILE__, __LINE__)) |
Output a debug message. More... | |
#define | gzerr (gazebo::common::Console::err(__FILE__, __LINE__)) |
Output an error message. More... | |
#define | gzlog (gazebo::common::Console::log()) |
Output a message to a log file. More... | |
#define | gzLogInit(_str) (gazebo::common::Console::log.Init(_str)) |
Initialize log file with filename given by _str. More... | |
#define | gzmsg (gazebo::common::Console::msg()) |
#define | gzthrow(msg) |
This macro logs an error to the throw stream and throws an exception that contains the file name and line number. More... | |
#define | gzwarn (gazebo::common::Console::warn(__FILE__, __LINE__)) |
Output a warning message. More... | |
Enumerations | |
enum | gazebo::PluginType { gazebo::WORLD_PLUGIN, gazebo::MODEL_PLUGIN, gazebo::SENSOR_PLUGIN, gazebo::SYSTEM_PLUGIN, gazebo::VISUAL_PLUGIN } |
Used to specify the type of plugin. More... | |
Functions | |
gazebo::common::MovingWindowFilter< T >::MovingWindowFilter () | |
Constructor. More... | |
gazebo::common::MovingWindowFilterPrivate< T >::MovingWindowFilterPrivate () | |
virtual | gazebo::common::MovingWindowFilter< T >::~MovingWindowFilter () |
Destructor. More... | |
GAZEBO_VISIBLE void | gazebo::common::add_search_path_suffix (const std::string &_suffix) |
add path sufix to common::SystemPaths More... | |
void | gazebo::common::ModelDatabase::DownloadDependencies (const std::string &_path) |
Download all dependencies for a give model path. More... | |
GAZEBO_VISIBLE std::string | gazebo::common::find_file (const std::string &_file) |
search for file in common::SystemPaths More... | |
GAZEBO_VISIBLE std::string | gazebo::common::find_file (const std::string &_file, bool _searchLocalPath) |
search for file in common::SystemPaths More... | |
GAZEBO_VISIBLE std::string | gazebo::common::find_file_path (const std::string &_file) |
search for a file in common::SystemPaths More... | |
void | gazebo::common::ModelDatabase::Fini () |
Finalize the model database. More... | |
T | gazebo::common::MovingWindowFilter< T >::Get () |
Get filtered result. More... | |
template<typename T > | |
GAZEBO_VISIBLE std::string | gazebo::common::get_sha1 (const T &_buffer) |
Compute the SHA1 hash of an array of bytes. More... | |
std::string | gazebo::common::ModelDatabase::GetDBConfig (const std::string &_uri) |
Return the database.config file as a string. More... | |
std::string | gazebo::common::ModelDatabase::GetModelConfig (const std::string &_uri) |
Return the model.config file as a string. More... | |
std::string | gazebo::common::ModelDatabase::GetModelFile (const std::string &_uri) |
Get a model's SDF file based on a URI. More... | |
std::string | gazebo::common::ModelDatabase::GetModelName (const std::string &_uri) |
Get the name of a model based on a URI. More... | |
std::string | gazebo::common::ModelDatabase::GetModelPath (const std::string &_uri, bool _forceDownload=false) |
Get the local path to a model. More... | |
std::map< std::string, std::string > | gazebo::common::ModelDatabase::GetModels () |
Returns the dictionary of all the model names. More... | |
event::ConnectionPtr | gazebo::common::ModelDatabase::GetModels (boost::function< void(const std::map< std::string, std::string > &)> _func) |
Get the dictionary of all model names via a callback. More... | |
std::string | gazebo::common::ModelDatabase::GetURI () |
Returns the the global model database URI. More... | |
bool | gazebo::common::MovingWindowFilter< T >::GetWindowFilled () const |
Get whether the window has been filled. More... | |
unsigned int | gazebo::common::MovingWindowFilter< T >::GetWindowSize () const |
Get the window size. More... | |
bool | gazebo::common::ModelDatabase::HasModel (const std::string &_modelName) |
Returns true if the model exists on the database. More... | |
GAZEBO_VISIBLE void | gazebo::common::load () |
Load the common library. More... | |
void | gazebo::common::MovingWindowFilter< T >::SetWindowSize (unsigned int _n) |
Set window size. More... | |
void | gazebo::common::ModelDatabase::Start (bool _fetchImmediately=false) |
Start the model database. More... | |
void | gazebo::common::MovingWindowFilter< T >::Update (T _val) |
Update value of filter. More... | |
Variables | |
static std::string | gazebo::common::PixelFormatNames [] |
String names for the pixel formats. More... | |
Output a message.
#define gzdbg (gazebo::common::Console::dbg(__FILE__, __LINE__)) |
Output a debug message.
#define gzerr (gazebo::common::Console::err(__FILE__, __LINE__)) |
Output an error message.
Referenced by gazebo::transport::Connection::AsyncRead(), gazebo::rendering::GUIOverlay::ButtonCallback(), gazebo::PluginT< ModelPlugin >::Create(), gazebo::physics::GearboxJoint< T >::Load(), gazebo::physics::DARTSphereShape::SetRadius(), gazebo::physics::SimbodySphereShape::SetRadius(), gazebo::physics::SimbodyBoxShape::SetSize(), gazebo::physics::DARTCylinderShape::SetSize(), gazebo::physics::SimbodyCylinderShape::SetSize(), and gazebo::physics::DARTBoxShape::SetSize().
#define gzlog (gazebo::common::Console::log()) |
Output a message to a log file.
#define gzLogInit | ( | _str) | (gazebo::common::Console::log.Init(_str)) |
Initialize log file with filename given by _str.
If called twice, it will close currently in use and open a new log file.
[in] | _str | Name of log file for gzlog messages. |
#define gzmsg (gazebo::common::Console::msg()) |
#define gzthrow | ( | msg) |
This macro logs an error to the throw stream and throws an exception that contains the file name and line number.
Referenced by gazebo::transport::TopicManager::Advertise(), gazebo::transport::CallbackHelperT< M >::GetMsgType(), and gazebo::transport::SubscribeOptions::Init().
#define gzwarn (gazebo::common::Console::warn(__FILE__, __LINE__)) |
Output a warning message.
Referenced by gazebo::physics::DARTSphereShape::SetRadius(), gazebo::physics::SimbodySphereShape::SetRadius(), gazebo::physics::SimbodyBoxShape::SetSize(), gazebo::physics::DARTCylinderShape::SetSize(), gazebo::physics::SimbodyCylinderShape::SetSize(), and gazebo::physics::DARTBoxShape::SetSize().
enum gazebo::PluginType |
gazebo::common::MovingWindowFilter< T >::MovingWindowFilter | ( | ) |
Constructor.
gazebo::common::MovingWindowFilterPrivate< T >::MovingWindowFilterPrivate | ( | ) |
FIXME hardcoded initial value for now
|
virtual |
Destructor.
References NULL.
GAZEBO_VISIBLE void gazebo::common::add_search_path_suffix | ( | const std::string & | _suffix) |
add path sufix to common::SystemPaths
[in] | _suffix | The suffix to add. |
void gazebo::common::ModelDatabase::DownloadDependencies | ( | const std::string & | _path) |
Download all dependencies for a give model path.
Look's in the model's manifest file (_path/model.config) for all models listed in the <depend> block, and downloads the models if necessary.
[in] | _path | Path to a model. |
GAZEBO_VISIBLE std::string gazebo::common::find_file | ( | const std::string & | _file) |
search for file in common::SystemPaths
[in] | _file | Name of the file to find. |
GAZEBO_VISIBLE std::string gazebo::common::find_file | ( | const std::string & | _file, |
bool | _searchLocalPath | ||
) |
search for file in common::SystemPaths
[in] | _file | Name of the file to find. |
[in] | _searchLocalPath | True to search in the current working directory. |
GAZEBO_VISIBLE std::string gazebo::common::find_file_path | ( | const std::string & | _file) |
search for a file in common::SystemPaths
[in] | _file | the file name to look for. |
void gazebo::common::ModelDatabase::Fini | ( | ) |
Finalize the model database.
T gazebo::common::MovingWindowFilter< T >::Get | ( | ) |
Get filtered result.
GAZEBO_VISIBLE std::string gazebo::common::get_sha1 | ( | const T & | _buffer) |
Compute the SHA1 hash of an array of bytes.
[in] | _buffer | Input sequence. The permitted data types for this function are std::string and any STL container. |
References NULL.
std::string gazebo::common::ModelDatabase::GetDBConfig | ( | const std::string & | _uri) |
Return the database.config file as a string.
std::string gazebo::common::ModelDatabase::GetModelConfig | ( | const std::string & | _uri) |
Return the model.config file as a string.
std::string gazebo::common::ModelDatabase::GetModelFile | ( | const std::string & | _uri) |
Get a model's SDF file based on a URI.
Get a model file based on a URI. If the model is on a remote server, then the model fetched and installed locally.
[in] | _uri | The URI of the model |
std::string gazebo::common::ModelDatabase::GetModelName | ( | const std::string & | _uri) |
Get the name of a model based on a URI.
The URI must be fully qualified: http://gazebosim.org/gazebo_models/ground_plane or model://gazebo_models
[in] | _uri | the model uri |
std::string gazebo::common::ModelDatabase::GetModelPath | ( | const std::string & | _uri, |
bool | _forceDownload = false |
||
) |
Get the local path to a model.
Get the path to a model based on a URI. If the model is on a remote server, then the model fetched and installed locally.
[in] | _uri | the model uri |
[in] | _forceDownload | True to skip searching local paths. |
std::map<std::string, std::string> gazebo::common::ModelDatabase::GetModels | ( | ) |
Returns the dictionary of all the model names.
This is a blocking call. Which means it will wait for the ModelDatabase to download the model list.
event::ConnectionPtr gazebo::common::ModelDatabase::GetModels | ( | boost::function< void(const std::map< std::string, std::string > &)> | _func) |
Get the dictionary of all model names via a callback.
This is the non-blocking version of ModelDatabase::GetModels
[in] | _func | Callback function that receives the list of models. |
std::string gazebo::common::ModelDatabase::GetURI | ( | ) |
Returns the the global model database URI.
bool gazebo::common::MovingWindowFilter< T >::GetWindowFilled | ( | ) | const |
Get whether the window has been filled.
unsigned int gazebo::common::MovingWindowFilter< T >::GetWindowSize | ( | ) | const |
Get the window size.
bool gazebo::common::ModelDatabase::HasModel | ( | const std::string & | _modelName) |
Returns true if the model exists on the database.
[in] | _modelName | URI of the model (eg: model://my_model_name). |
GAZEBO_VISIBLE void gazebo::common::load | ( | ) |
Load the common library.
void gazebo::common::MovingWindowFilter< T >::SetWindowSize | ( | unsigned int | _n) |
Set window size.
[in] | _n | new desired window size |
void gazebo::common::ModelDatabase::Start | ( | bool | _fetchImmediately = false ) |
Start the model database.
[in] | _fetchImmediately | True to fetch the models without waiting. |
void gazebo::common::MovingWindowFilter< T >::Update | ( | T | _val) |
Update value of filter.
[in] | _val | new raw value |
|
static |
String names for the pixel formats.