17#ifndef GZ_SIM_CONVERSIONS_HH_
18#define GZ_SIM_CONVERSIONS_HH_
20#include <gz/msgs/actor.pb.h>
21#include <gz/msgs/atmosphere.pb.h>
22#include <gz/msgs/axis.pb.h>
23#include <gz/msgs/entity.pb.h>
24#include <gz/msgs/geometry.pb.h>
25#include <gz/msgs/gui.pb.h>
26#include <gz/msgs/inertial.pb.h>
27#include <gz/msgs/light.pb.h>
28#include <gz/msgs/material.pb.h>
29#include <gz/msgs/particle_emitter.pb.h>
30#include <gz/msgs/plugin.pb.h>
31#include <gz/msgs/plugin_v.pb.h>
32#include <gz/msgs/physics.pb.h>
33#include <gz/msgs/scene.pb.h>
34#include <gz/msgs/sensor.pb.h>
35#include <gz/msgs/sensor_noise.pb.h>
36#include <gz/msgs/time.pb.h>
37#include <gz/msgs/world_stats.pb.h>
45#include <sdf/Actor.hh>
46#include <sdf/Atmosphere.hh>
47#include <sdf/Collision.hh>
48#include <sdf/Geometry.hh>
50#include <sdf/JointAxis.hh>
51#include <sdf/Light.hh>
52#include <sdf/Material.hh>
53#include <sdf/Noise.hh>
54#include <sdf/ParticleEmitter.hh>
55#include <sdf/Plugin.hh>
56#include <sdf/Physics.hh>
57#include <sdf/Projector.hh>
58#include <sdf/Scene.hh>
59#include <sdf/Sensor.hh>
61#include "gz/sim/config.hh"
62#include "gz/sim/Export.hh"
70 inline namespace GZ_SIM_VERSION_NAMESPACE {
76 set(msgs::SensorNoise *_msg,
const sdf::Noise &_sdf);
91 set(msgs::Time *_msg,
const std::chrono::steady_clock::duration &_in);
101 Out::ConversionNotImplemented;
109 msgs::Geometry
convert(
const sdf::Geometry &_in);
119 Out::ConversionNotImplemented;
136 Out::ConversionNotImplemented;
144 sdf::Geometry
convert(
const msgs::Geometry &_in);
154 Out::ConversionNotImplemented;
162 msgs::Material
convert(
const sdf::Material &_in);
172 Out::ConversionNotImplemented;
180 sdf::Material
convert(
const msgs::Material &_in);
190 Out::ConversionNotImplemented;
208 Out::ConversionNotImplemented;
226 Out::ConversionNotImplemented;
251 Out::ConversionNotImplemented;
264 sdf::LightType GZ_SIM_VISIBLE
275 Out::ConversionNotImplemented;
289 Out
convert(
const std::chrono::steady_clock::duration &_in)
292 Out::ConversionNotImplemented;
300 msgs::Time
convert(
const std::chrono::steady_clock::duration &_in);
310 Out::ConversionNotImplemented;
318 std::chrono::steady_clock::duration
convert(
const msgs::Time &_in);
328 Out::ConversionNotImplemented;
346 Out::ConversionNotImplemented;
364 Out::ConversionNotImplemented;
372 msgs::Axis
convert(
const sdf::JointAxis &_in);
382 Out::ConversionNotImplemented;
390 sdf::JointAxis
convert(
const msgs::Axis &_in);
400 Out::ConversionNotImplemented;
417 Out::ConversionNotImplemented;
435 Out::ConversionNotImplemented;
443 msgs::Atmosphere
convert(
const sdf::Atmosphere &_in);
453 Out::ConversionNotImplemented;
461 sdf::Atmosphere
convert(
const msgs::Atmosphere &_in);
472 Out::ConversionNotImplemented;
480 msgs::Physics
convert(
const sdf::Physics &_in);
490 Out::ConversionNotImplemented;
498 sdf::Physics
convert(
const msgs::Physics &_in);
509 Out::ConversionNotImplemented;
527 Out::ConversionNotImplemented;
545 Out::ConversionNotImplemented;
553 sdf::Noise
convert(
const msgs::SensorNoise &_in);
564 Out::ConversionNotImplemented;
582 Out::ConversionNotImplemented;
600 Out::ConversionNotImplemented;
608 msgs::Collision
convert(
const sdf::Collision &_in);
618 Out::ConversionNotImplemented;
626 sdf::Collision
convert(
const msgs::Collision &_in);
636 Out::ConversionNotImplemented;
653 Out::ConversionNotImplemented;
672 Out::ConversionNotImplemented;
690 Out::ConversionNotImplemented;
698 msgs::ParticleEmitter
convert(
const sdf::ParticleEmitter &_in);
708 Out::ConversionNotImplemented;
716 sdf::ParticleEmitter
convert(
const msgs::ParticleEmitter &_in);
726 Out::ConversionNotImplemented;
734 msgs::Projector
convert(
const sdf::Projector &_in);
744 Out::ConversionNotImplemented;
752 sdf::Projector
convert(
const msgs::Projector &_in);
762 Out::ConversionNotImplemented;
769 msgs::Plugin
convert(
const sdf::Element &_in);
778 Out::ConversionNotImplemented;
794 Out::ConversionNotImplemented;
801 msgs::Plugin_V
convert(
const sdf::Plugins &_in);
810 Out::ConversionNotImplemented;
826 Out::ConversionNotImplemented;
833 sdf::Plugins
convert(
const msgs::Plugin_V &_in);