18 #ifndef GAZEBO_PLUGINS_LEDPLUGIN_HH_ 19 #define GAZEBO_PLUGINS_LEDPLUGIN_HH_ 24 #include "gazebo/physics/physics.hh" 31 class LedSettingPrivate;
38 const sdf::ElementPtr &_sdf,
47 public:
virtual void InitPubVisual(
51 protected:
virtual void Flash();
54 protected:
virtual void Dim();
57 private: std::unique_ptr<LedSettingPrivate> dataPtr;
61 class LedPluginPrivate;
110 protected:
virtual std::shared_ptr<FlashLightSetting> CreateSetting(
111 const sdf::ElementPtr &_sdf,
116 protected:
virtual void InitSettingBySpecificData(
117 std::shared_ptr<FlashLightSetting> &_setting);
120 private: std::unique_ptr<LedPluginPrivate> dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:26
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
Internal data class to hold individual flash light settings.
Definition: FlashLightPlugin.hh:38
A plugin that blinks light and visual elements in a model.
Definition: LedPlugin.hh:101
Internal data class to hold individual LED light settings.
Definition: LedPlugin.hh:34
boost::shared_ptr< Model > ModelPtr
Definition: PhysicsTypes.hh:94
A plugin that blinks a light component in the model.
Definition: FlashLightPlugin.hh:229
A Time class, can be used to hold wall- or sim-time.
Definition: Time.hh:47