18#ifndef GAZEBO_PHYSICS_LIGHT_HH_
19#define GAZEBO_PHYSICS_LIGHT_HH_
63 private:
void PublishPose();
71 public:
virtual const ignition::math::Pose3d &
WorldPose()
const;
74 private: std::unique_ptr<LightPrivate> dataPtr;
Base class for all physics objects in Gazebo.
Definition Entity.hh:53
Store state information of a Light object.
Definition LightState.hh:39
A light entity.
Definition physics/Light.hh:36
void Init()
Initialize the light.
void ProcessMsg(const msgs::Light &_msg)
Update this light's parameters from a message.
void OnPoseChange()
This function is called when the entity's (or one of its parents) pose of the parent has changed.
virtual ~Light()
Destructor.
void FillMsg(msgs::Light &_msg)
Fill a light message with this light's parameters.
virtual const ignition::math::Pose3d & WorldPose() const
Get the absolute pose of the entity.
Light(BasePtr _parent)
Constructor.
void SetState(const LightState &_state)
Set the current light state.
void SetWorldPoseDirty()
Indicate that the world pose should be recalculated.
boost::shared_ptr< Base > BasePtr
Definition PhysicsTypes.hh:77
Forward declarations for the common classes.
Definition Animation.hh:27