18 #ifndef GZ_PHYSICS_GETENTITIES_HH_
19 #define GZ_PHYSICS_GETENTITIES_HH_
33 public:
template <
typename PolicyT,
typename FeaturesT>
45 public:
template <
typename PolicyT>
49 const Identity &_engineID)
const = 0;
52 const Identity &_engineID)
const = 0;
61 public:
template <
typename PolicyT,
typename FeaturesT>
92 public:
template <
typename PolicyT,
typename FeaturesT>
113 public:
template <
typename PolicyT>
117 const Identity &_engineID)
const = 0;
119 public:
virtual Identity GetWorld(
120 const Identity &_engineID,
std::size_t _worldIndex)
const = 0;
122 public:
virtual Identity GetWorld(
123 const Identity &_engineID,
const std::string &_worldName)
const = 0;
126 const Identity &_worldID)
const = 0;
129 const Identity &_worldID)
const = 0;
131 public:
virtual Identity GetEngineOfWorld(
132 const Identity &_worldID)
const = 0;
141 public:
template <
typename PolicyT,
typename FeaturesT>
172 public:
template <
typename PolicyT,
typename FeaturesT>
193 public:
template <
typename PolicyT>
197 const Identity &_worldID)
const = 0;
199 public:
virtual Identity GetModel(
200 const Identity &_worldID,
std::size_t _modelIndex)
const = 0;
202 public:
virtual Identity GetModel(
203 const Identity &_worldID,
const std::string &_modelName)
const = 0;
206 const Identity &_modelID)
const = 0;
209 const Identity &_modelID)
const = 0;
211 public:
virtual Identity GetWorldOfModel(
212 const Identity &_modelID)
const = 0;
222 public:
template <
typename PolicyT,
typename FeaturesT>
254 public:
template <
typename PolicyT>
258 const Identity &_modelID)
const = 0;
260 public:
virtual Identity GetNestedModel(
261 const Identity &_modelID,
std::size_t _modelIndex)
const = 0;
263 public:
virtual Identity GetNestedModel(
264 const Identity &_modelID,
const std::string &_modelName)
const = 0;
273 public:
template <
typename PolicyT,
typename FeaturesT>
304 public:
template <
typename PolicyT,
typename FeaturesT>
325 public:
template <
typename PolicyT>
329 const Identity &_modelID)
const = 0;
331 public:
virtual Identity GetLink(
332 const Identity &_modelID,
std::size_t _linkIndex)
const = 0;
334 public:
virtual Identity GetLink(
335 const Identity &_modelID,
const std::string &_linkName)
const = 0;
338 const Identity &_linkID)
const = 0;
341 const Identity &_linkID)
const = 0;
343 public:
virtual Identity GetModelOfLink(
344 const Identity &_linkID)
const = 0;
353 public:
template <
typename PolicyT,
typename FeaturesT>
384 public:
template <
typename PolicyT,
typename FeaturesT>
405 public:
template <
typename PolicyT>
409 const Identity &_modelID)
const = 0;
411 public:
virtual Identity GetJoint(
412 const Identity &_modelID,
std::size_t _jointIndex)
const = 0;
414 public:
virtual Identity GetJoint(
415 const Identity &_modelID,
const std::string &_jointName)
const = 0;
418 const Identity &_jointID)
const = 0;
421 const Identity &_jointID)
const = 0;
423 public:
virtual Identity GetModelOfJoint(
424 const Identity &_jointID)
const = 0;
433 public:
template <
typename PolicyT,
typename FeaturesT>
464 public:
template <
typename PolicyT,
typename FeaturesT>
485 public:
template <
typename PolicyT>
489 const Identity &_linkID)
const = 0;
491 public:
virtual Identity GetShape(
492 const Identity &_linkID,
std::size_t _shapeIndex)
const = 0;
494 public:
virtual Identity GetShape(
495 const Identity &_linkID,
const std::string &_shapeName)
const = 0;
498 const Identity &_shapeID)
const = 0;
501 const Identity &_shapeID)
const = 0;
503 public:
virtual Identity GetLinkOfShape(
504 const Identity &_shapeID)
const = 0;
526 public:
template <
typename PolicyT,
typename FeaturesT>
539 public:
template <
typename PolicyT>
543 virtual Identity GetWorldModel(
const Identity &_worldID)
const = 0;
551 GetNestedModelFromModel,
559 #include <gz/physics/detail/GetEntities.hh>