Skip to content

Commit

Permalink
Added comments to the has_logging_interface and has_parameter_interfa…
Browse files Browse the repository at this point in the history
…ce methods
  • Loading branch information
saikishor committed Apr 16, 2024
1 parent 4e9b20f commit 694da1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions joint_limits/include/joint_limits/joint_limiter_interface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,17 @@ class JointLimiterInterface

/** \brief Checks if the logging interface is set.
* \returns true if the logging interface is available, otherwise false.
*
* \note this way of interfacing would be useful for instances where the logging interface is not
* available, for example in the ResourceManager or ResourceStorage classes.
*/
bool has_logging_interface() const { return node_logging_itf_ != nullptr; }

/** \brief Checks if the parameter interface is set.
* \returns true if the parameter interface is available, otherwise false.
*
* * \note this way of interfacing would be useful for instances where the logging interface is
* not available, for example in the ResourceManager or ResourceStorage classes.
*/
bool has_parameter_interface() const { return node_param_itf_ != nullptr; }

Expand Down

0 comments on commit 694da1e

Please sign in to comment.