Skip to content

Commit

Permalink
hpp ifndef guards fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzs13 committed Dec 16, 2024
1 parent 110ecce commit a2e62ae
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 42 deletions.
6 changes: 3 additions & 3 deletions yasmin/include/yasmin/blackboard/blackboard.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

#ifndef YASMIN_BLACKBOARD_HPP
#define YASMIN_BLACKBOARD_HPP
#ifndef YASMIN__BLACKBOARD__BLACKBOARD_HPP
#define YASMIN__BLACKBOARD__BLACKBOARD_HPP

#include <exception>
#include <map>
Expand Down Expand Up @@ -129,4 +129,4 @@ class Blackboard {
} // namespace blackboard
} // namespace yasmin

#endif // YASMIN_BLACKBOARD_HPP
#endif // YASMIN__BLACKBOARD_HPP
6 changes: 3 additions & 3 deletions yasmin/include/yasmin/blackboard/blackboard_value.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

#ifndef YASMIN_BLACKBOARD_VAL_HPP
#define YASMIN_BLACKBOARD_VAL_HPP
#ifndef YASMIN__BLACKBOARD__BLACKBOARD_VALUE_HPP
#define YASMIN__BLACKBOARD__BLACKBOARD_VALUE_HPP

#include <string>
#include <typeinfo>
Expand Down Expand Up @@ -98,4 +98,4 @@ template <class T> class BlackboardValue : public BlackboardValueInterface {
} // namespace blackboard
} // namespace yasmin

#endif // YASMIN_BLACKBOARD_VAL_HPP
#endif // YASMIN__BLACKBOARD__BLACKBOARD_VALUE_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

#ifndef YASMIN_BLACKBOARD_VAL_IFACE_HPP
#define YASMIN_BLACKBOARD_VAL_IFACE_HPP
#ifndef YASMIN__BLACKBOARD__BLACKBOARD_VALUE_INTERFACE_HPP
#define YASMIN__BLACKBOARD__BLACKBOARD_VALUE_INTERFACE_HPP

#include <string>

Expand Down Expand Up @@ -47,4 +47,4 @@ class BlackboardValueInterface {
} // namespace blackboard
} // namespace yasmin

#endif // YASMIN_BLACKBOARD_VAL_IFACE_HPP
#endif // YASMIN__BLACKBOARD__BLACKBOARD_VALUE_INTERFACE_HPP
6 changes: 3 additions & 3 deletions yasmin/include/yasmin/cb_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

#ifndef YASMIN_CB_STATE_HPP
#define YASMIN_CB_STATE_HPP
#ifndef YASMIN__CB_STATE_HPP
#define YASMIN__CB_STATE_HPP

#include <memory>
#include <set>
Expand Down Expand Up @@ -72,4 +72,4 @@ class CbState : public State {

} // namespace yasmin

#endif // YASMIN_CB_STATE_HPP
#endif // YASMIN__CB_STATE_HPP
6 changes: 3 additions & 3 deletions yasmin/include/yasmin/logs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

#ifndef YASMIN_LOGS_HPP
#define YASMIN_LOGS_HPP
#ifndef YASMIN__LOGS_HPP
#define YASMIN__LOGS_HPP

#include <cstdarg>
#include <cstdio>
Expand Down Expand Up @@ -100,4 +100,4 @@ void set_default_loggers();

} // namespace yasmin

#endif // YASMIN_LOGS_HPP
#endif // YASMIN__LOGS_HPP
6 changes: 3 additions & 3 deletions yasmin/include/yasmin/state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

#ifndef YASMIN_STATE_HPP
#define YASMIN_STATE_HPP
#ifndef YASMIN__STATE_HPP
#define YASMIN__STATE_HPP

#include <atomic>
#include <memory>
Expand Down Expand Up @@ -141,4 +141,4 @@ class State {

} // namespace yasmin

#endif // YASMIN_STATE_HPP
#endif // YASMIN__STATE_HPP
6 changes: 3 additions & 3 deletions yasmin/include/yasmin/state_machine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

#ifndef YASMIN_STATE_MACHINE_HPP
#define YASMIN_STATE_MACHINE_HPP
#ifndef YASMIN__STATE_MACHINE_HPP
#define YASMIN__STATE_MACHINE_HPP

#include <atomic>
#include <functional>
Expand Down Expand Up @@ -256,4 +256,4 @@ class StateMachine : public State {

} // namespace yasmin

#endif
#endif // YASMIN__STATE_MACHINE_HPP
6 changes: 3 additions & 3 deletions yasmin_ros/include/yasmin_ros/action_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

#ifndef YASMIN_ROS_ACTION_STATE_HPP
#define YASMIN_ROS_ACTION_STATE_HPP
#ifndef YASMIN_ROS__ACTION_STATE_HPP
#define YASMIN_ROS__ACTION_STATE_HPP

#include <condition_variable>
#include <functional>
Expand Down Expand Up @@ -377,4 +377,4 @@ template <typename ActionT> class ActionState : public yasmin::State {

} // namespace yasmin_ros

#endif // YASMIN_ROS_ACTION_STATE_HPP
#endif // YASMIN_ROS__ACTION_STATE_HPP
6 changes: 3 additions & 3 deletions yasmin_ros/include/yasmin_ros/basic_outcomes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

#ifndef YASMIN_ROS_BASIC_OUTCOME_HPP
#define YASMIN_ROS_BASIC_OUTCOME_HPP
#ifndef YASMIN_ROS__BASIC_OUTCOME_HPP
#define YASMIN_ROS__BASIC_OUTCOME_HPP

#include <string>

Expand Down Expand Up @@ -65,4 +65,4 @@ constexpr char TIMEOUT[] = "timeout";
} // namespace basic_outcomes
} // namespace yasmin_ros

#endif // YASMIN_ROS_BASIC_OUTCOME_HPP
#endif // YASMIN_ROS__BASIC_OUTCOME_HPP
6 changes: 3 additions & 3 deletions yasmin_ros/include/yasmin_ros/monitor_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

#ifndef YASMIN_ROS_MONITOR_STATE_HPP
#define YASMIN_ROS_MONITOR_STATE_HPP
#ifndef YASMIN_ROS__MONITOR_STATE_HPP
#define YASMIN_ROS__MONITOR_STATE_HPP

#include <chrono>
#include <functional>
Expand Down Expand Up @@ -215,4 +215,4 @@ template <typename MsgT> class MonitorState : public yasmin::State {

} // namespace yasmin_ros

#endif
#endif // YASMIN_ROS__MONITOR_STATE_HPP
6 changes: 3 additions & 3 deletions yasmin_ros/include/yasmin_ros/ros_logs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

#ifndef YASMIN_ROS_LOGS_HPP
#define YASMIN_ROS_LOGS_HPP
#ifndef YASMIN_ROS__LOGS_HPP
#define YASMIN_ROS__LOGS_HPP

namespace yasmin_ros {

Expand All @@ -33,4 +33,4 @@ void set_ros_loggers();

} // namespace yasmin_ros

#endif // YASMIN_ROS_LOGS_HPP
#endif // YASMIN_ROS__LOGS_HPP
6 changes: 3 additions & 3 deletions yasmin_ros/include/yasmin_ros/service_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

#ifndef YASMIN_ROS_SERVICE_STATE_HPP
#define YASMIN_ROS_SERVICE_STATE_HPP
#ifndef YASMIN_ROS__SERVICE_STATE_HPP
#define YASMIN_ROS__SERVICE_STATE_HPP

#include <functional>
#include <memory>
Expand Down Expand Up @@ -214,4 +214,4 @@ template <typename ServiceT> class ServiceState : public yasmin::State {

} // namespace yasmin_ros

#endif // YASMIN_ROS_SERVICE_STATE_HPP
#endif // YASMIN_ROS__SERVICE_STATE_HPP
6 changes: 3 additions & 3 deletions yasmin_ros/include/yasmin_ros/yasmin_node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

#ifndef YASMIN_ROS_YASMIN_NODE_HPP
#define YASMIN_ROS_YASMIN_NODE_HPP
#ifndef YASMIN_ROS__YASMIN_NODE_HPP
#define YASMIN_ROS__YASMIN_NODE_HPP

#include <memory>
#include <string>
Expand Down Expand Up @@ -85,4 +85,4 @@ class YasminNode : public rclcpp::Node {

} // namespace yasmin_ros

#endif // YASMIN_ROS_YASMIN_NODE_HPP
#endif // YASMIN_ROS__YASMIN_NODE_HPP
6 changes: 3 additions & 3 deletions yasmin_viewer/include/yasmin_viewer/yasmin_viewer_pub.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

#ifndef YASMIN_VIEWER_PUB_HPP
#define YASMIN_VIEWER_PUB_HPP
#ifndef YASMIN_VIEWER__YASMIN_VIEWER_PUB_HPP
#define YASMIN_VIEWER__YASMIN_VIEWER_PUB_HPP

#include <map>
#include <memory>
Expand Down Expand Up @@ -104,4 +104,4 @@ class YasminViewerPub {

} // namespace yasmin_viewer

#endif
#endif // YASMIN_VIEWER__YASMIN_VIEWER_PUB_HPP

0 comments on commit a2e62ae

Please sign in to comment.