Skip to content

Commit

Permalink
move the public functions above the private ones
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Doisy <[email protected]>
  • Loading branch information
Guillaume Doisy committed Jan 25, 2021
1 parent 30c0634 commit 19a8587
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions include/sdf/Visual.hh
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,24 @@ namespace sdf
/// \param[in] _flags visibility flags
public: void SetVisibilityFlags(uint32_t _flags);

/// \brief Set whether the lidar reflective intensity
/// has been specified.
/// \param[in] _laserRetro True if the lidar reflective intensity
/// has been set in the sdf.
public: void SetHasLaserRetro(bool _laserRetro);

/// \brief Get whether the lidar reflective intensity was set was set.
/// \return True if the lidar reflective intensity was set was set.
public: bool HasLaserRetro() const;

/// \brief Get the flidar reflective intensity.
/// \return The lidar reflective intensity.
public: double LaserRetro() const;

/// \brief Set the lidar reflective intensity.
/// \param[in] _laserRetro The lidar reflective intensity.
public: void SetLaserRetro(double _laserRetro);

/// \brief Give the name of the xml parent of this object, to be used
/// for resolving poses. This is private and is intended to be called by
/// Link::SetPoseRelativeToGraph.
Expand All @@ -213,24 +231,6 @@ namespace sdf

/// \brief Private data pointer.
private: VisualPrivate *dataPtr = nullptr;

/// \brief Set whether the lidar reflective intensity
/// has been specified.
/// \param[in] _laserRetro True if the lidar reflective intensity
/// has been set in the sdf.
public: void SetHasLaserRetro(bool _laserRetro);

/// \brief Get whether the lidar reflective intensity was set was set.
/// \return True if the lidar reflective intensity was set was set.
public: bool HasLaserRetro() const;

/// \brief Get the flidar reflective intensity.
/// \return The lidar reflective intensity.
public: double LaserRetro() const;

/// \brief Set the lidar reflective intensity.
/// \param[in] _laserRetro The lidar reflective intensity.
public: void SetLaserRetro(double _laserRetro);
};
}
}
Expand Down

0 comments on commit 19a8587

Please sign in to comment.