Skip to content

Commit

Permalink
Fix linters by bypassing for specific lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
livanov93 committed Mar 27, 2023
1 parent a100537 commit 496dde5
Showing 1 changed file with 43 additions and 41 deletions.
84 changes: 43 additions & 41 deletions ign_ros2_control/include/ign_ros2_control/MimicJointSystem.hh
Original file line number Diff line number Diff line change
Expand Up @@ -51,51 +51,53 @@

namespace ign_ros2_control
{
class MimicJointSystemPrivate;

class MimicJointSystem:
// Forward declaration
class MimicJointSystemPrivate; // NOLINT

class MimicJointSystem: // NOLINT
// This class is a system.
public ignition::gazebo::System,
public ignition::gazebo::ISystemConfigure,
public ignition::gazebo::System, // NOLINT
public ignition::gazebo::ISystemConfigure, // NOLINT
// This class also implements the ISystemPreUpdate, ISystemUpdate,
// and ISystemPostUpdate interfaces.
public ignition::gazebo::ISystemPreUpdate,
public ignition::gazebo::ISystemUpdate,
public ignition::gazebo::ISystemPostUpdate
{
public:
MimicJointSystem();

// Documentation inherited

public:
void Configure(
const ignition::gazebo::Entity & _entity,
const std::shared_ptr < const sdf::Element > & _sdf,
ignition::gazebo::EntityComponentManager & _ecm,
ignition::gazebo::EventManager & _eventMgr) override;

public:
void PreUpdate(
const ignition::gazebo::UpdateInfo & _info,
ignition::gazebo::EntityComponentManager & _ecgm) override;

public:
void Update(
const ignition::gazebo::UpdateInfo & _info,
ignition::gazebo::EntityComponentManager & _ecm) override;

public:
void PostUpdate(
const ignition::gazebo::UpdateInfo & _info,
const ignition::gazebo::EntityComponentManager & _ecm) override;

private:
/// \brief Private data pointer

private:
std::unique_ptr < MimicJointSystemPrivate > dataPtr;
};
public ignition::gazebo::ISystemPreUpdate, // NOLINT
public ignition::gazebo::ISystemUpdate, // NOLINT
public ignition::gazebo::ISystemPostUpdate // NOLINT
{
public:
MimicJointSystem();

// Documentation inherited

public:
void Configure(
const ignition::gazebo::Entity & _entity,
const std::shared_ptr < const sdf::Element > & _sdf,
ignition::gazebo::EntityComponentManager & _ecm,
ignition::gazebo::EventManager & _eventMgr) override;

public:
void PreUpdate(
const ignition::gazebo::UpdateInfo & _info,
ignition::gazebo::EntityComponentManager & _ecgm) override;

public:
void Update(
const ignition::gazebo::UpdateInfo & _info,
ignition::gazebo::EntityComponentManager & _ecm) override;

public:
void PostUpdate(
const ignition::gazebo::UpdateInfo & _info,
const ignition::gazebo::EntityComponentManager & _ecm) override;

private:
/// \brief Private data pointer

private:
std::unique_ptr < MimicJointSystemPrivate > dataPtr;
};
} // namespace ign_ros2_control
//! [header]

Expand Down

0 comments on commit 496dde5

Please sign in to comment.