18 #ifndef IGNITION_PHYSICS_REMOVEENTITIES_HH_ 19 #define IGNITION_PHYSICS_REMOVEENTITIES_HH_ 34 public:
template <
typename PolicyT,
typename FeaturesT>
50 public:
template <
typename PolicyT,
typename FeaturesT>
55 public:
bool Remove();
58 public:
bool Removed()
const;
61 public:
template <
typename PolicyT>
65 public:
virtual bool RemoveModelByIndex(
66 const Identity &_worldID,
std::size_t _modelIndex) = 0;
68 public:
virtual bool RemoveModelByName(
69 const Identity &_worldID,
const std::string &_modelName) = 0;
72 public:
virtual bool RemoveModel(
73 const Identity &_modelID) = 0;
75 public:
virtual bool ModelRemoved(
const Identity &_modelID)
const = 0;
85 public:
template <
typename PolicyT,
typename FeaturesT>
98 public:
bool RemoveNestedModel(
const std::string &_name);
101 public:
template <
typename PolicyT>
104 public:
virtual bool RemoveNestedModelByIndex(
105 const Identity &_modelID,
std::size_t _modelIndex) = 0;
107 public:
virtual bool RemoveNestedModelByName(
108 const Identity &_modelID,
const std::string &_modelName) = 0;
119 #include <ignition/physics/detail/RemoveEntities.hh> This class defines the concept of a Feature. It should be inherited by classes that define some plugi...
Definition: Feature.hh:35
Definition: RemoveEntities.hh:102
This feature removes a nested Model entity from the specified parent Model.
Definition: RemoveEntities.hh:82
Definition: RemoveEntities.hh:51
Placeholder class in case a Feature does not define its own World API.
Definition: Feature.hh:49
Definition: RemoveEntities.hh:35
Definition: RemoveEntities.hh:86
Definition: RemoveEntities.hh:62
Placeholder class in case a Feature does not define its own Model API.
Definition: Feature.hh:58
Definition: Feature.hh:92
This feature removes a Model entity from the index-specified World.
Definition: RemoveEntities.hh:32
Use a FeatureList to aggregate a list of Features.
Definition: FeatureList.hh:51