|
| 1 | +// Copyright 2020 Proyectos y Sistemas de Mantenimiento SL (eProsima). |
| 2 | +// |
| 3 | +// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +// you may not use this file except in compliance with the License. |
| 5 | +// You may obtain a copy of the License at |
| 6 | +// |
| 7 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +// |
| 9 | +// Unless required by applicable law or agreed to in writing, software |
| 10 | +// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +// See the License for the specific language governing permissions and |
| 13 | +// limitations under the License. |
| 14 | + |
| 15 | +#include <rmw/rmw.h> |
| 16 | +#include "./rmw_microros_internal/error_handling_internal.h" |
| 17 | + |
| 18 | +rmw_ret_t |
| 19 | +rmw_subscription_set_on_new_message_callback( |
| 20 | + rmw_subscription_t * subscription, |
| 21 | + rmw_event_callback_t callback, |
| 22 | + const void * user_data) |
| 23 | +{ |
| 24 | + (void) subscription; |
| 25 | + (void) callback; |
| 26 | + (void) user_data; |
| 27 | + |
| 28 | + RMW_UROS_TRACE_MESSAGE("function not implemented"); |
| 29 | + return RMW_RET_UNSUPPORTED; |
| 30 | +} |
| 31 | + |
| 32 | +rmw_ret_t |
| 33 | +rmw_service_set_on_new_request_callback( |
| 34 | + rmw_service_t * service, |
| 35 | + rmw_event_callback_t callback, |
| 36 | + const void * user_data) |
| 37 | +{ |
| 38 | + (void) service; |
| 39 | + (void) callback; |
| 40 | + (void) user_data; |
| 41 | + |
| 42 | + RMW_UROS_TRACE_MESSAGE("function not implemented"); |
| 43 | + return RMW_RET_UNSUPPORTED; |
| 44 | +} |
| 45 | + |
| 46 | +rmw_ret_t |
| 47 | +rmw_client_set_on_new_response_callback( |
| 48 | + rmw_client_t * client, |
| 49 | + rmw_event_callback_t callback, |
| 50 | + const void * user_data) |
| 51 | +{ |
| 52 | + (void) client; |
| 53 | + (void) callback; |
| 54 | + (void) user_data; |
| 55 | + |
| 56 | + RMW_UROS_TRACE_MESSAGE("function not implemented"); |
| 57 | + return RMW_RET_UNSUPPORTED; |
| 58 | +} |
| 59 | + |
| 60 | +rmw_ret_t |
| 61 | +rmw_event_set_callback( |
| 62 | + rmw_event_t * event, |
| 63 | + rmw_event_callback_t callback, |
| 64 | + const void * user_data) |
| 65 | +{ |
| 66 | + (void) event; |
| 67 | + (void) callback; |
| 68 | + (void) user_data; |
| 69 | + |
| 70 | + RMW_UROS_TRACE_MESSAGE("function not implemented"); |
| 71 | + return RMW_RET_UNSUPPORTED; |
| 72 | +} |
0 commit comments