##

gazebo::util Namespace Reference

## Classes

class | DiagnosticManager
| A diagnostic manager class. More...
class | DiagnosticTimer
| A timer designed for diagnostics. More...
class | IntrospectionClient
| addtogroup gazebo_util More...
class | IntrospectionManager
| addtogroup gazebo_util More...
class | LogPlay
class | LogRecord
| addtogroup gazebo_util More...
class | LogRecordParams
| Log recording parameters. More...
class | OpenAL
| 3D audio setup and playback. More...
class | OpenALSink
| OpenAL Listener. This can be thought of as a microphone. More...
class | OpenALSource
| OpenAL Source. This can be thought of as a speaker. More...

## Typedefs

typedef std::shared_ptr< DiagnosticTimer > | DiagnosticTimerPtr
typedef std::shared_ptr< OpenALSink > | OpenALSinkPtr
typedef std::shared_ptr< OpenALSource > | OpenALSourcePtr
typedef std::unordered_map< std::string, DiagnosticTimerPtr > | TimerMap

## Functions

sdf::ElementPtr | Convert (const ignition::msgs::Plugin &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
| Create or update an SDF element from ignition::msgs::Plugin. More...
template<>
ignition::msgs::Plugin | Convert (const sdf::ElementPtr _sdf)
| Create an ignition::msgs::Plugin from a plugin SDF element. More...
template<typename T >
T | Convert (const sdf::ElementPtr)
| Create an ignition::msgs::Plugin from a plugin SDF element. More...

## Typedef Documentation

## DiagnosticTimerPtr

typedef std::shared_ptr<DiagnosticTimer> DiagnosticTimerPtr

## OpenALSinkPtr

typedef std::shared_ptr<OpenALSink> OpenALSinkPtr

## OpenALSourcePtr

typedef std::shared_ptr<OpenALSource> OpenALSourcePtr

## TimerMap

typedef std::unordered_map<std::string, DiagnosticTimerPtr> TimerMap

## Function Documentation

## Convert() [1/3]

sdf::ElementPtr gazebo::util::Convert | ( | const ignition::msgs::Plugin & | _msg,
|  | sdf::ElementPtr | _sdf = `sdf::ElementPtr()`
| ) |  |

Create or update an SDF element from ignition::msgs::Plugin.

Parameters

  [in] | _msg | Plugin messsage.
  [in] | _sdf | if supplied, performs an update from _msg instead of creating a new sdf element.

Returns
  The new SDF element.

## Convert() [2/3]

ignition::msgs::Plugin gazebo::util::Convert | ( | const sdf::ElementPtr |  | ) |

Create an ignition::msgs::Plugin from a plugin SDF element.

Parameters

  [in] | _sdf | The sdf element.

Returns
  The new ignition::msgs::Plugin object.

References gzerr.

## Convert() [3/3]

T gazebo::util::Convert | ( | const sdf::ElementPtr |  | ) |

Create an ignition::msgs::Plugin from a plugin SDF element.

Parameters

  [in] | _sdf | The sdf element.

Returns
  The new ignition::msgs::Plugin object.

References gzerr.