17 #ifndef GAZEBO_UTIL_IGNMSGSDF_HH_
18 #define GAZEBO_UTIL_IGNMSGSDF_HH_
22 #include <ignition/msgs/MessageTypes.hh>
39 gzerr <<
"Invalid convertion of SDF to type["
40 <<
typeid(T).name() <<
"]\n";
50 sdf::ElementPtr
Convert(
const ignition::msgs::Plugin &_msg,
51 sdf::ElementPtr _sdf = sdf::ElementPtr());
55 ignition::msgs::Plugin
Convert(
const sdf::ElementPtr _sdf);
GAZEBO_VISIBLE T Convert(const sdf::ElementPtr)
Create an ignition::msgs::Plugin from a plugin SDF element.
Definition: IgnMsgSdf.hh:37
#define gzerr
Output an error message.
Definition: Console.hh:50
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:58