Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

ModelPtr is a custom type declaration. Here, you can see the typedef and how ModelPtr is equivalent to boost::shared_ptr<Model>. In a nutshell, a ModelPtr is a shared pointer to a model object. Here's a quick tutorial about boost smart pointers.

An ElementPtr is also a custom type, another shared pointer to an sdf::Element. Here, you can see the typedef in SDFormat.