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. More...
 
class  OpenALSource
 OpenAL Source. More...
 

Typedefs

typedef std::shared_ptr< DiagnosticTimerDiagnosticTimerPtr
 
typedef std::shared_ptr< OpenALSinkOpenALSinkPtr
 
typedef std::shared_ptr< OpenALSourceOpenALSourcePtr
 
typedef std::unordered_map< std::string, DiagnosticTimerPtrTimerMap
 

Functions

template<typename T >
GAZEBO_VISIBLEConvert (const sdf::ElementPtr)
 Create an ignition::msgs::Plugin from a plugin SDF element. More...
 
GAZEBO_VISIBLE 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...
 

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]

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

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

Parameters
[in]_sdfThe sdf element.
Returns
The new ignition::msgs::Plugin object.

References Convert(), GAZEBO_VISIBLE, and gzerr.

Referenced by Convert().

◆ Convert() [2/3]

GAZEBO_VISIBLE 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]_msgPlugin messsage.
[in]_sdfif supplied, performs an update from _msg instead of creating a new sdf element.
Returns
The new SDF element.

◆ Convert() [3/3]

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

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

Parameters
[in]_sdfThe sdf element.
Returns
The new ignition::msgs::Plugin object.

References Convert(), GAZEBO_VISIBLE, and gzerr.

Referenced by Convert().