Skip to content
4 changes: 2 additions & 2 deletions rcljava/src/main/cpp/org_ros2_rcljava_RCLJava.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
#include "rmw/rmw.h"
#include "rosidl_generator_c/message_type_support_struct.h"

#include "rcljava_common/exceptions.h"
#include "rcljava_common/signatures.h"
#include "rcljava_common/exceptions.hpp"
#include "rcljava_common/signatures.hpp"

#include "org_ros2_rcljava_RCLJava.h"

Expand Down
2 changes: 1 addition & 1 deletion rcljava/src/main/cpp/org_ros2_rcljava_Time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "rcl/error_handling.h"
#include "rcl/rcl.h"

#include "rcljava_common/exceptions.h"
#include "rcljava_common/exceptions.hpp"

#include "org_ros2_rcljava_Time.h"

Expand Down
4 changes: 2 additions & 2 deletions rcljava/src/main/cpp/org_ros2_rcljava_client_ClientImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include "rmw/rmw.h"
#include "rosidl_generator_c/message_type_support_struct.h"

#include "rcljava_common/exceptions.h"
#include "rcljava_common/signatures.h"
#include "rcljava_common/exceptions.hpp"
#include "rcljava_common/signatures.hpp"

#include "org_ros2_rcljava_client_ClientImpl.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#include "rcl/error_handling.h"
#include "rcl/init.h"

#include "rcljava_common/exceptions.h"
#include "rcljava_common/signatures.h"
#include "rcljava_common/exceptions.hpp"
#include "rcljava_common/signatures.hpp"

#include "org_ros2_rcljava_contexts_ContextImpl.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
#include "rmw/rmw.h"
#include "rosidl_generator_c/message_type_support_struct.h"

#include "rcljava_common/exceptions.h"
#include "rcljava_common/signatures.h"
#include "rcljava_common/exceptions.hpp"
#include "rcljava_common/signatures.hpp"

#include "org_ros2_rcljava_executors_BaseExecutor.h"

Expand Down
4 changes: 2 additions & 2 deletions rcljava/src/main/cpp/org_ros2_rcljava_node_NodeImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include "rmw/rmw.h"
#include "rosidl_generator_c/message_type_support_struct.h"

#include "rcljava_common/exceptions.h"
#include "rcljava_common/signatures.h"
#include "rcljava_common/exceptions.hpp"
#include "rcljava_common/signatures.hpp"

#include "org_ros2_rcljava_node_NodeImpl.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include "rcl/rcl.h"
#include "rmw/rmw.h"

#include "rcljava_common/exceptions.h"
#include "rcljava_common/signatures.h"
#include "rcljava_common/exceptions.hpp"
#include "rcljava_common/signatures.hpp"

#include "org_ros2_rcljava_publisher_PublisherImpl.h"

Expand Down
4 changes: 2 additions & 2 deletions rcljava/src/main/cpp/org_ros2_rcljava_service_ServiceImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include "rmw/rmw.h"
#include "rosidl_generator_c/message_type_support_struct.h"

#include "rcljava_common/exceptions.h"
#include "rcljava_common/signatures.h"
#include "rcljava_common/exceptions.hpp"
#include "rcljava_common/signatures.hpp"

#include "org_ros2_rcljava_service_ServiceImpl.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include "rmw/rmw.h"
#include "rosidl_generator_c/message_type_support_struct.h"

#include "rcljava_common/exceptions.h"
#include "rcljava_common/signatures.h"
#include "rcljava_common/exceptions.hpp"
#include "rcljava_common/signatures.hpp"

#include "org_ros2_rcljava_subscription_SubscriptionImpl.h"

Expand Down
4 changes: 2 additions & 2 deletions rcljava/src/main/cpp/org_ros2_rcljava_time_Clock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#include "rcl/error_handling.h"
#include "rcl/time.h"

#include "rcljava_common/exceptions.h"
#include "rcljava_common/signatures.h"
#include "rcljava_common/exceptions.hpp"
#include "rcljava_common/signatures.hpp"

#include "org_ros2_rcljava_time_Clock.h"

Expand Down
4 changes: 2 additions & 2 deletions rcljava/src/main/cpp/org_ros2_rcljava_timer_WallTimerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include "rcl/rcl.h"
#include "rmw/rmw.h"

#include "rcljava_common/exceptions.h"
#include "rcljava_common/signatures.h"
#include "rcljava_common/exceptions.hpp"
#include "rcljava_common/signatures.hpp"

#include "org_ros2_rcljava_timer_WallTimerImpl.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef RCLJAVA_COMMON__EXCEPTIONS_H_
#define RCLJAVA_COMMON__EXCEPTIONS_H_
#ifndef RCLJAVA_COMMON__EXCEPTIONS_HPP_
#define RCLJAVA_COMMON__EXCEPTIONS_HPP_
#include <jni.h>

#include <string>

#include "rcljava_common/visibility_control.h"
#include "rcljava_common/visibility_control.hpp"

namespace rcljava_common
{
Expand All @@ -31,4 +31,4 @@ void rcljava_throw_exception(JNIEnv *, const char *, const std::string &);
} // namespace exceptions
} // namespace rcljava_common

#endif // RCLJAVA_COMMON__EXCEPTIONS_H_
#endif // RCLJAVA_COMMON__EXCEPTIONS_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef RCLJAVA_COMMON__SIGNATURES_H_
#define RCLJAVA_COMMON__SIGNATURES_H_
#ifndef RCLJAVA_COMMON__SIGNATURES_HPP_
#define RCLJAVA_COMMON__SIGNATURES_HPP_
#include <jni.h>

#include <string>
Expand All @@ -29,4 +29,4 @@ using destroy_ros_message_signature = void (*)(void *);
} // namespace signatures
} // namespace rcljava_common

#endif // RCLJAVA_COMMON__SIGNATURES_H_
#endif // RCLJAVA_COMMON__SIGNATURES_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef RCLJAVA_COMMON__VISIBILITY_CONTROL_H_
#define RCLJAVA_COMMON__VISIBILITY_CONTROL_H_
#ifndef RCLJAVA_COMMON__VISIBILITY_CONTROL_HPP_
#define RCLJAVA_COMMON__VISIBILITY_CONTROL_HPP_

#ifdef __cplusplus
extern "C"
Expand Down Expand Up @@ -55,4 +55,4 @@ extern "C"
}
#endif

#endif // RCLJAVA_COMMON__VISIBILITY_CONTROL_H_
#endif // RCLJAVA_COMMON__VISIBILITY_CONTROL_HPP_
2 changes: 1 addition & 1 deletion rcljava_common/src/main/cpp/rcljava_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <cassert>
#include <string>

#include "rcljava_common/exceptions.h"
#include "rcljava_common/exceptions.hpp"

namespace rcljava_common
{
Expand Down
4 changes: 2 additions & 2 deletions rosidl_generator_java/resource/msg.cpp.em
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ elif message_c_include_prefix.endswith('__feedback'):

#include "rosidl_generator_c/message_type_support_struct.h"

#include "rcljava_common/exceptions.h"
#include "rcljava_common/signatures.h"
#include "rcljava_common/exceptions.hpp"
#include "rcljava_common/signatures.hpp"

@[for include in member_includes]@
#include "@(include)"
Expand Down