#include "sick_scan/sick_scan_base.h"
#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 70 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; \
typedef std::shared_ptr<new_name> new_name##Ptr; \
typedef std::shared_ptr<new_name const> new_name##ConstPtr;
Forward-declare a message, including Ptr and ConstPtr types, with an allocator.
- Parameters
-
ns | The namespace the message should be declared inside |
m | 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 60 of file message_forward.h.
◆ ROSLIB_MESSAGE_FORWARD_H
#define ROSLIB_MESSAGE_FORWARD_H |