SMACC2
|
Public Member Functions | |
std::shared_ptr< FlashLightSetting > | SettingByLightNameAndLinkName (const std::string &_lightName, const std::string &_linkName) const |
Find a setting by names. This is internally used to access an individual setting. If the link name is blank (""), the first match of the light name in the list will be returned. More... | |
Public Attributes | |
gazebo::physics::ModelPtr | model |
pointer to the model. More... | |
gazebo::physics::WorldPtr | world |
pointer to the world. More... | |
gazebo::transport::NodePtr | node |
The pointer to node for communication. More... | |
gazebo::transport::PublisherPtr | pubLight |
The pointer to publisher to send a command to the light. More... | |
std::vector< std::shared_ptr< FlashLightSetting > > | listFlashLight |
The list of flashlight settings to control. More... | |
event::ConnectionPtr | updateConnection |
pointer to the update even connection. More... | |
Definition at line 131 of file FlashLightPlugin.cc.
|
inline |
Find a setting by names. This is internally used to access an individual setting. If the link name is blank (""), the first match of the light name in the list will be returned.
[in] | _lightName | The name of the light. |
[in] | _linkName | The name of the link holding the light. |
Definition at line 141 of file FlashLightPlugin.cc.
References listFlashLight.
std::vector< std::shared_ptr<FlashLightSetting> > smacc2::FlashLightPluginPrivate::listFlashLight |
The list of flashlight settings to control.
Definition at line 172 of file FlashLightPlugin.cc.
Referenced by SettingByLightNameAndLinkName().
gazebo::physics::ModelPtr smacc2::FlashLightPluginPrivate::model |
pointer to the model.
Definition at line 160 of file FlashLightPlugin.cc.
gazebo::transport::NodePtr smacc2::FlashLightPluginPrivate::node |
The pointer to node for communication.
Definition at line 166 of file FlashLightPlugin.cc.
gazebo::transport::PublisherPtr smacc2::FlashLightPluginPrivate::pubLight |
The pointer to publisher to send a command to the light.
Definition at line 169 of file FlashLightPlugin.cc.
event::ConnectionPtr smacc2::FlashLightPluginPrivate::updateConnection |
pointer to the update even connection.
Definition at line 175 of file FlashLightPlugin.cc.
gazebo::physics::WorldPtr smacc2::FlashLightPluginPrivate::world |
pointer to the world.
Definition at line 163 of file FlashLightPlugin.cc.