18 #ifndef GAZEBO_PHYSICS_LIGHT_HH_ 19 #define GAZEBO_PHYSICS_LIGHT_HH_ 42 public:
virtual ~
Light();
46 public:
void Load(sdf::ElementPtr _sdf)
override;
49 public:
void Init()
override;
53 public:
void ProcessMsg(
const msgs::Light &_msg);
57 public:
void FillMsg(msgs::Light &_msg);
61 public:
void SetState(
const LightState &_state);
64 public:
void OnPoseChange()
override;
67 private:
void PublishPose()
override;
72 public:
void SetWorldPoseDirty();
75 public:
virtual const ignition::math::Pose3d &WorldPose()
const override;
78 public: std::optional<sdf::SemanticPose> SDFSemanticPose()
const override;
81 private: std::unique_ptr<LightPrivate> dataPtr;
A light entity.
Definition: physics/Light.hh:35
Forward declarations for the common classes.
Definition: Animation.hh:26
Store state information of a Light object.
Definition: LightState.hh:38
Base class for all physics objects in Gazebo.
Definition: Entity.hh:52
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:78