#include <memory>
#include <unordered_map>
#include <utility>
#include <ignition/physics/RequestFeatures.hh>
#include <ignition/gazebo/config.hh>
#include <ignition/gazebo/Export.hh>
#include <ignition/gazebo/System.hh>
Go to the source code of this file.
|
template<typename PolicyT , typename ToFeatureList , typename MinimumFeatureList , template< typename, typename > class ToEntity, template< typename, typename > class MinimumEntity> |
physics::EntityPtr< ToEntity< PolicyT, ToFeatureList > > | entityCast (Entity _entity, const physics::EntityPtr< MinimumEntity< PolicyT, MinimumFeatureList >> &_minimumEntity, std::unordered_map< Entity, physics::EntityPtr< ToEntity< PolicyT, ToFeatureList >>> &_castMap) |
| Helper function to cast from an entity type with minimum features to an entity with a different set of features. When the entity is cast successfully, it is added to _castMap so that subsequent casts will use the entity from the map. More...
|
|