rmw  beta1
C API providing a middleware abstraction layer which is used to implement the rest of ROS.
allocators.h
Go to the documentation of this file.
1 // Copyright 2014 Open Source Robotics Foundation, Inc.
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 #ifndef RMW__ALLOCATORS_H_
16 #define RMW__ALLOCATORS_H_
17 
18 #if __cplusplus
19 extern "C"
20 {
21 #endif
22 
23 #include "rmw/types.h"
24 #include "rmw/visibility_control.h"
25 
27 void *
28 rmw_allocate(size_t size);
29 
31 void
32 rmw_free(void * pointer);
33 
35 rmw_node_t *
36 rmw_node_allocate(void);
37 
39 void
41 
45 
47 void
49 
53 
55 void
57 
61 
63 void
65 
69 
71 void
73 
77 
79 void
81 
85 
87 void
89 
90 #if __cplusplus
91 }
92 #endif
93 
94 #endif // RMW__ALLOCATORS_H_
#define RMW_PUBLIC
Definition: visibility_control.h:48
void rmw_waitset_free(rmw_waitset_t *waitset)
rmw_publisher_t * rmw_publisher_allocate(void)
void * rmw_allocate(size_t size)
rmw_node_t * rmw_node_allocate(void)
void rmw_publisher_free(rmw_publisher_t *publisher)
rmw_waitset_t * rmw_waitset_allocate(void)
void rmw_free(void *pointer)
void rmw_client_free(rmw_client_t *client)
Definition: types.h:53
Definition: types.h:140
rmw_client_t * rmw_client_allocate(void)
rmw_subscription_t * rmw_subscription_allocate(void)
Definition: types.h:67
void rmw_service_free(rmw_service_t *service)
rmw_guard_condition_t * rmw_guard_condition_allocate(void)
void rmw_node_free(rmw_node_t *node)
Definition: types.h:74
Definition: types.h:60
rmw_service_t * rmw_service_allocate(void)
Definition: types.h:46
Definition: types.h:38
void rmw_guard_condition_free(rmw_guard_condition_t *guard_condition)
void rmw_subscription_free(rmw_subscription_t *subscription)