#include <cstddef>
Go to the source code of this file.
◆ ROS_DECLARE_MESSAGE
Forward-declare a message, including Ptr and ConstPtr types, using std::allocator.
- Parameters
-
msg | The "base" message type, i.e. the name of the .msg file |
Definition at line 68 of file message_forward.h.
◆ ROS_DECLARE_MESSAGE_WITH_ALLOCATOR
#define ROS_DECLARE_MESSAGE_WITH_ALLOCATOR |
( |
|
msg, |
|
|
|
new_name, |
|
|
|
alloc |
|
) |
| |
Value:template<class Allocator> struct msg##_; \
typedef msg##_<alloc<void> > new_name; \
Forward-declare a message, including Ptr and ConstPtr types, with an allocator.
- Parameters
-
msg | The "base" message type, i.e., the name of the .msg file |
new_name | The name you'd like the message to have |
alloc | The allocator to use, e.g. std::allocator |
Definition at line 58 of file message_forward.h.