Skip to content

Commit

Permalink
Deprecate realtime_box_best_effort.h properly
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed Nov 24, 2024
1 parent eb09650 commit 66f50ef
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions include/realtime_tools/realtime_box_best_effort.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// Copyright 2024 ros2_control Development Team
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// 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 REALTIME_TOOLS__REALTIME_BOX_BEST_EFFORT_H_
#define REALTIME_TOOLS__REALTIME_BOX_BEST_EFFORT_H_

#include "realtime_tools/realtime_box.h"

// Deprecation notice
#ifdef _WIN32
#pragma message( \
"This header include is deprecated. Please update your code to use 'realtime_box.h' header.") //NOLINT
#else
#warning \
"This header include is deprecated. Please update your code to use 'realtime_box.h' header." //NOLINT
#endif


#endif // REALTIME_TOOLS__REALTIME_BOX_BEST_EFFORT_H_

0 comments on commit 66f50ef

Please sign in to comment.