Skip to content

Commit

Permalink
fix: change header format
Browse files Browse the repository at this point in the history
  • Loading branch information
mbsaloka committed Jun 18, 2024
1 parent 5efb0a4 commit c22d806
Show file tree
Hide file tree
Showing 40 changed files with 113 additions and 113 deletions.
8 changes: 4 additions & 4 deletions include/shisen_cpp/camera/node/camera_node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#ifndef SHISEN_CPP__CAMERA__NODE__CAMERA_NODE_HPP_
#define SHISEN_CPP__CAMERA__NODE__CAMERA_NODE_HPP_

#include "rclcpp/rclcpp.hpp"
#include "shisen_cpp/camera/provider/camera_config_provider.hpp"
#include "shisen_cpp/camera/provider/image_provider.hpp"
#include "shisen_cpp/utility.hpp"
#include <rclcpp/rclcpp.hpp>
#include <shisen_cpp/camera/provider/camera_config_provider.hpp>
#include <shisen_cpp/camera/provider/image_provider.hpp>
#include <shisen_cpp/utility.hpp>

#include <memory>
#include <string>
Expand Down
6 changes: 3 additions & 3 deletions include/shisen_cpp/camera/provider/camera_config_provider.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
#ifndef SHISEN_CPP__CAMERA__PROVIDER__CAMERA_CONFIG_PROVIDER_HPP_
#define SHISEN_CPP__CAMERA__PROVIDER__CAMERA_CONFIG_PROVIDER_HPP_

#include "keisan/keisan.hpp"
#include "shisen_cpp/utility/options.hpp"
#include "shisen_interfaces/msg/camera_config.hpp"
#include <keisan/keisan.hpp>
#include <shisen_cpp/utility/options.hpp>
#include <shisen_interfaces/msg/camera_config.hpp>

#include <memory>
#include <string>
Expand Down
6 changes: 3 additions & 3 deletions include/shisen_cpp/camera/provider/image_provider.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
#ifndef SHISEN_CPP__CAMERA__PROVIDER__IMAGE_PROVIDER_HPP_
#define SHISEN_CPP__CAMERA__PROVIDER__IMAGE_PROVIDER_HPP_

#include "sensor_msgs/msg/image.hpp"
#include "shisen_cpp/utility.hpp"
#include "std_msgs/msg/header.hpp"
#include <sensor_msgs/msg/image.hpp>
#include <shisen_cpp/utility.hpp>
#include <std_msgs/msg/header.hpp>

#include <cv_bridge/cv_bridge.hpp>
#include <memory>
Expand Down
6 changes: 3 additions & 3 deletions include/shisen_cpp/config/grpc/call_data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
#ifndef __SHISEN_CPP__CONFIG__GRPC__CALL_DATA_HPP__
#define __SHISEN_CPP__CONFIG__GRPC__CALL_DATA_HPP__

#include "shisen_cpp/config/grpc/call_data_base.hpp"
#include "shisen_interfaces/shisen.grpc.pb.h"
#include "shisen_interfaces/shisen.pb.h"
#include <shisen_cpp/config/grpc/call_data_base.hpp>
#include <shisen_interfaces/shisen.grpc.pb.h>
#include <shisen_interfaces/shisen.pb.h>

enum class CallStatus
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#ifndef SHISEN_CPP__CONFIG__GRPC__CALL_DATA_GET_CAPTURE_SETTING_HPP__
#define SHISEN_CPP__CONFIG__GRPC__CALL_DATA_GET_CAPTURE_SETTING_HPP__

#include "shisen_cpp/config/grpc/call_data.hpp"
#include <shisen_cpp/config/grpc/call_data.hpp>

namespace shisen_cpp
{
Expand Down
4 changes: 2 additions & 2 deletions include/shisen_cpp/config/grpc/call_data_get_image.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#ifndef SHISEN_CPP__CONFIG__GRPC__CALL_DATA_GET_IMAGE_HPP__
#define SHISEN_CPP__CONFIG__GRPC__CALL_DATA_GET_IMAGE_HPP__

#include "shisen_cpp/camera/node/camera_node.hpp"
#include "shisen_cpp/config/grpc/call_data.hpp"
#include <shisen_cpp/camera/node/camera_node.hpp>
#include <shisen_cpp/config/grpc/call_data.hpp>

namespace shisen_cpp
{
Expand Down
6 changes: 3 additions & 3 deletions include/shisen_cpp/config/grpc/call_data_load_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
#ifndef SHISEN_CPP__CONFIG__GRPC__CALL_DATA_LOAD_CONFIG_HPP__
#define SHISEN_CPP__CONFIG__GRPC__CALL_DATA_LOAD_CONFIG_HPP__

#include "shisen_cpp/camera/node/camera_node.hpp"
#include "shisen_cpp/config/grpc/call_data.hpp"
#include "shisen_cpp/utility.hpp"
#include <shisen_cpp/camera/node/camera_node.hpp>
#include <shisen_cpp/config/grpc/call_data.hpp>
#include <shisen_cpp/utility.hpp>

namespace shisen_cpp
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#ifndef SHISEN_CPP__CONFIG__GRPC__CALL_DATA_SAVE_CAPTURE_SETTING_HPP__
#define SHISEN_CPP__CONFIG__GRPC__CALL_DATA_SAVE_CAPTURE_SETTING_HPP__

#include "shisen_cpp/config/grpc/call_data.hpp"
#include <shisen_cpp/config/grpc/call_data.hpp>

namespace shisen_cpp
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
#ifndef SHISEN_CPP__CONFIG__GRPC__CALL_DATA_SET_CAPTURE_SETTING_HPP__
#define SHISEN_CPP__CONFIG__GRPC__CALL_DATA_SET_CAPTURE_SETTING_HPP__

#include "shisen_cpp/camera/node/camera_node.hpp"
#include "shisen_cpp/config/grpc/call_data.hpp"
#include "shisen_cpp/utility.hpp"
#include <shisen_cpp/camera/node/camera_node.hpp>
#include <shisen_cpp/config/grpc/call_data.hpp>
#include <shisen_cpp/utility.hpp>

namespace shisen_cpp
{
Expand Down
8 changes: 4 additions & 4 deletions include/shisen_cpp/config/grpc/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#ifndef SHISEN_CPP__CONFIG__GRPC__CONFIG_HPP_
#define SHISEN_CPP__CONFIG__GRPC__CONFIG_HPP_

#include "grpcpp/grpcpp.h"
#include "shisen_cpp/camera/node/camera_node.hpp"
#include "shisen_interfaces/shisen.grpc.pb.h"
#include "shisen_interfaces/shisen.pb.h"
#include <grpcpp/grpcpp.h>
#include <shisen_cpp/camera/node/camera_node.hpp>
#include <shisen_interfaces/shisen.grpc.pb.h>
#include <shisen_interfaces/shisen.pb.h>

#include <memory>
#include <thread>
Expand Down
2 changes: 1 addition & 1 deletion include/shisen_cpp/config/utils/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#ifndef SHISEN_CPP__CONFIG__UTILS__CONFIG_HPP_
#define SHISEN_CPP__CONFIG__UTILS__CONFIG_HPP_

#include "nlohmann/json.hpp"
#include <nlohmann/json.hpp>

namespace shisen_cpp
{
Expand Down
10 changes: 5 additions & 5 deletions include/shisen_cpp/node/shisen_cpp_node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
#ifndef SHISEN_CPP__NODE__SHISEN_CPP_NODE_HPP_
#define SHISEN_CPP__NODE__SHISEN_CPP_NODE_HPP_

#include "rclcpp/rclcpp.hpp"
#include "shisen_cpp/camera/node/camera_node.hpp"
#include "shisen_cpp/config/grpc/config.hpp"
#include "shisen_cpp/config/utils/config.hpp"
#include "shisen_cpp/utility.hpp"
#include <rclcpp/rclcpp.hpp>
#include <shisen_cpp/camera/node/camera_node.hpp>
#include <shisen_cpp/config/grpc/config.hpp>
#include <shisen_cpp/config/utils/config.hpp>
#include <shisen_cpp/utility.hpp>

#include <memory>

Expand Down
14 changes: 7 additions & 7 deletions include/shisen_cpp/shisen_cpp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
#ifndef SHISEN_CPP__SHISEN_CPP_HPP_
#define SHISEN_CPP__SHISEN_CPP_HPP_

#include "shisen_cpp/camera/node/camera_node.hpp"
#include "shisen_cpp/camera/provider/image_provider.hpp"
#include "shisen_cpp/camera/provider/camera_config_provider.hpp"
#include "shisen_cpp/node/shisen_cpp_node.hpp"
#include "shisen_cpp/viewer/consumer/image_consumer.hpp"
#include "shisen_cpp/viewer/node/viewer_node.hpp"
#include <shisen_cpp/camera/node/camera_node.hpp>
#include <shisen_cpp/camera/provider/image_provider.hpp>
#include <shisen_cpp/camera/provider/camera_config_provider.hpp>
#include <shisen_cpp/node/shisen_cpp_node.hpp>
#include <shisen_cpp/viewer/consumer/image_consumer.hpp>
#include <shisen_cpp/viewer/node/viewer_node.hpp>

#include "shisen_cpp/utility.hpp"
#include <shisen_cpp/utility.hpp>

#endif // SHISEN_CPP__SHISEN_CPP_HPP_
8 changes: 4 additions & 4 deletions include/shisen_cpp/utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
#ifndef SHISEN_CPP__UTILITY_HPP_
#define SHISEN_CPP__UTILITY_HPP_

#include "shisen_cpp/utility/capture_setting.hpp"
#include "shisen_cpp/utility/emptiable.hpp"
#include "shisen_cpp/utility/interface.hpp"
#include "shisen_cpp/utility/options.hpp"
#include <shisen_cpp/utility/capture_setting.hpp>
#include <shisen_cpp/utility/emptiable.hpp>
#include <shisen_cpp/utility/interface.hpp>
#include <shisen_cpp/utility/options.hpp>

#endif // SHISEN_CPP__UTILITY_HPP_
4 changes: 2 additions & 2 deletions include/shisen_cpp/utility/capture_setting.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#ifndef SHISEN_CPP__UTILITY__CAPTURE_SETTING_HPP_
#define SHISEN_CPP__UTILITY__CAPTURE_SETTING_HPP_

#include "shisen_cpp/utility/emptiable.hpp"
#include "shisen_interfaces/msg/capture_setting.hpp"
#include <shisen_cpp/utility/emptiable.hpp>
#include <shisen_interfaces/msg/capture_setting.hpp>

namespace shisen_cpp
{
Expand Down
2 changes: 1 addition & 1 deletion include/shisen_cpp/utility/emptiable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ class Emptiable

} // namespace shisen_cpp

#include "shisen_cpp/utility/emptiable.impl.hpp"
#include <shisen_cpp/utility/emptiable.impl.hpp>

#endif // SHISEN_CPP__UTILITY__EMPTIABLE_HPP_
2 changes: 1 addition & 1 deletion include/shisen_cpp/utility/emptiable.impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#ifndef SHISEN_CPP__UTILITY__EMPTIABLE_IMPL_HPP_
#define SHISEN_CPP__UTILITY__EMPTIABLE_IMPL_HPP_

#include "shisen_cpp/utility/emptiable.hpp"
#include <shisen_cpp/utility/emptiable.hpp>

namespace shisen_cpp
{
Expand Down
6 changes: 3 additions & 3 deletions include/shisen_cpp/utility/interface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
#ifndef SHISEN_CPP__UTILITY__INTERFACE_HPP_
#define SHISEN_CPP__UTILITY__INTERFACE_HPP_

#include "sensor_msgs/msg/image.hpp"
#include "shisen_interfaces/msg/camera_config.hpp"
#include "shisen_interfaces/srv/configure_capture_setting.hpp"
#include <sensor_msgs/msg/image.hpp>
#include <shisen_interfaces/msg/camera_config.hpp>
#include <shisen_interfaces/srv/configure_capture_setting.hpp>

namespace shisen_cpp
{
Expand Down
4 changes: 2 additions & 2 deletions include/shisen_cpp/viewer/consumer/image_consumer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#ifndef SHISEN_CPP__VIEWER__CONSUMER__IMAGE_CONSUMER_HPP_
#define SHISEN_CPP__VIEWER__CONSUMER__IMAGE_CONSUMER_HPP_

#include "sensor_msgs/msg/image.hpp"
#include "shisen_cpp/utility.hpp"
#include <sensor_msgs/msg/image.hpp>
#include <shisen_cpp/utility.hpp>

#include <cv_bridge/cv_bridge.hpp>
#include <memory>
Expand Down
8 changes: 4 additions & 4 deletions include/shisen_cpp/viewer/node/viewer_node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#ifndef SHISEN_CPP__VIEWER__NODE__VIEWER_NODE_HPP_
#define SHISEN_CPP__VIEWER__NODE__VIEWER_NODE_HPP_

#include "rclcpp/rclcpp.hpp"
#include "sensor_msgs/msg/image.hpp"
#include "shisen_cpp/utility.hpp"
#include "shisen_cpp/viewer/consumer/image_consumer.hpp"
#include <rclcpp/rclcpp.hpp>
#include <sensor_msgs/msg/image.hpp>
#include <shisen_cpp/utility.hpp>
#include <shisen_cpp/viewer/consumer/image_consumer.hpp>

#include <memory>
#include <string>
Expand Down
4 changes: 2 additions & 2 deletions src/shisen_cpp/camera/node/camera_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#include "nlohmann/json.hpp"
#include "shisen_cpp/camera/node/camera_node.hpp"
#include <nlohmann/json.hpp>
#include <shisen_cpp/camera/node/camera_node.hpp>

#include <fstream>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion src/shisen_cpp/camera/provider/camera_config_provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#include "shisen_cpp/camera/provider/camera_config_provider.hpp"
#include <shisen_cpp/camera/provider/camera_config_provider.hpp>

namespace shisen_cpp::camera
{
Expand Down
2 changes: 1 addition & 1 deletion src/shisen_cpp/camera/provider/image_provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#include "shisen_cpp/camera/provider/image_provider.hpp"
#include <shisen_cpp/camera/provider/image_provider.hpp>

#include <memory>
#include <opencv2/opencv.hpp>
Expand Down
10 changes: 5 additions & 5 deletions src/shisen_cpp/config/grpc/call_data_get_capture_setting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#include "rclcpp/rclcpp.hpp"
#include "shisen_cpp/config/grpc/call_data_get_capture_setting.hpp"
#include "shisen_cpp/config/utils/config.hpp"
#include "shisen_interfaces/shisen.grpc.pb.h"
#include "shisen_interfaces/shisen.pb.h"
#include <rclcpp/rclcpp.hpp>
#include <shisen_cpp/config/grpc/call_data_get_capture_setting.hpp>
#include <shisen_cpp/config/utils/config.hpp>
#include <shisen_interfaces/shisen.grpc.pb.h>
#include <shisen_interfaces/shisen.pb.h>

namespace shisen_cpp
{
Expand Down
8 changes: 4 additions & 4 deletions src/shisen_cpp/config/grpc/call_data_get_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#include "rclcpp/rclcpp.hpp"
#include "shisen_cpp/config/grpc/call_data_get_image.hpp"
#include "shisen_interfaces/shisen.grpc.pb.h"
#include "shisen_interfaces/shisen.pb.h"
#include <rclcpp/rclcpp.hpp>
#include <shisen_cpp/config/grpc/call_data_get_image.hpp>
#include <shisen_interfaces/shisen.grpc.pb.h>
#include <shisen_interfaces/shisen.pb.h>

#include <opencv2/opencv.hpp>

Expand Down
10 changes: 5 additions & 5 deletions src/shisen_cpp/config/grpc/call_data_load_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#include "rclcpp/rclcpp.hpp"
#include "shisen_cpp/config/grpc/call_data_load_config.hpp"
#include "shisen_cpp/config/utils/config.hpp"
#include "shisen_interfaces/shisen.grpc.pb.h"
#include "shisen_interfaces/shisen.pb.h"
#include <rclcpp/rclcpp.hpp>
#include <shisen_cpp/config/grpc/call_data_load_config.hpp>
#include <shisen_cpp/config/utils/config.hpp>
#include <shisen_interfaces/shisen.grpc.pb.h>
#include <shisen_interfaces/shisen.pb.h>

namespace shisen_cpp
{
Expand Down
12 changes: 6 additions & 6 deletions src/shisen_cpp/config/grpc/call_data_save_capture_setting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#include "nlohmann/json.hpp"
#include "rclcpp/rclcpp.hpp"
#include "shisen_cpp/config/grpc/call_data_save_capture_setting.hpp"
#include "shisen_cpp/config/utils/config.hpp"
#include "shisen_interfaces/shisen.grpc.pb.h"
#include "shisen_interfaces/shisen.pb.h"
#include <nlohmann/json.hpp>
#include <rclcpp/rclcpp.hpp>
#include <shisen_cpp/config/grpc/call_data_save_capture_setting.hpp>
#include <shisen_cpp/config/utils/config.hpp>
#include <shisen_interfaces/shisen.grpc.pb.h>
#include <shisen_interfaces/shisen.pb.h>

namespace shisen_cpp
{
Expand Down
10 changes: 5 additions & 5 deletions src/shisen_cpp/config/grpc/call_data_set_capture_setting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#include "rclcpp/rclcpp.hpp"
#include "shisen_cpp/config/grpc/call_data_set_capture_setting.hpp"
#include "shisen_cpp/config/utils/config.hpp"
#include "shisen_interfaces/shisen.grpc.pb.h"
#include "shisen_interfaces/shisen.pb.h"
#include <rclcpp/rclcpp.hpp>
#include <shisen_cpp/config/grpc/call_data_set_capture_setting.hpp>
#include <shisen_cpp/config/utils/config.hpp>
#include <shisen_interfaces/shisen.grpc.pb.h>
#include <shisen_interfaces/shisen.pb.h>

namespace shisen_cpp
{
Expand Down
18 changes: 9 additions & 9 deletions src/shisen_cpp/config/grpc/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#include "rclcpp/rclcpp.hpp"
#include "shisen_cpp/config/grpc/call_data_base.hpp"
#include "shisen_cpp/config/grpc/call_data_get_capture_setting.hpp"
#include "shisen_cpp/config/grpc/call_data_get_image.hpp"
#include "shisen_cpp/config/grpc/call_data_load_config.hpp"
#include "shisen_cpp/config/grpc/call_data_save_capture_setting.hpp"
#include "shisen_cpp/config/grpc/call_data_set_capture_setting.hpp"
#include "shisen_cpp/config/grpc/config.hpp"
#include "shisen_cpp/config/utils/config.hpp"
#include <rclcpp/rclcpp.hpp>
#include <shisen_cpp/config/grpc/call_data_base.hpp>
#include <shisen_cpp/config/grpc/call_data_get_capture_setting.hpp>
#include <shisen_cpp/config/grpc/call_data_get_image.hpp>
#include <shisen_cpp/config/grpc/call_data_load_config.hpp>
#include <shisen_cpp/config/grpc/call_data_save_capture_setting.hpp>
#include <shisen_cpp/config/grpc/call_data_set_capture_setting.hpp>
#include <shisen_cpp/config/grpc/config.hpp>
#include <shisen_cpp/config/utils/config.hpp>

using grpc::ServerBuilder;
using namespace std::chrono_literals;
Expand Down
2 changes: 1 addition & 1 deletion src/shisen_cpp/config/utils/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#include "shisen_cpp/config/utils/config.hpp"
#include <shisen_cpp/config/utils/config.hpp>

#include <fstream>
#include <iomanip>
Expand Down
Loading

0 comments on commit c22d806

Please sign in to comment.