Classes | Namespaces | Macros
message_forward.h File Reference
#include "sick_scan/sick_scan_base.h"
#include <cstddef>
Include dependency graph for message_forward.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  std::allocator< class >
 
class  boost::shared_ptr< class >
 

Namespaces

 boost
 
 std
 

Macros

#define ROS_DECLARE_MESSAGE(msg)   ROS_DECLARE_MESSAGE_WITH_ALLOCATOR(msg, msg, std::allocator)
 Forward-declare a message, including Ptr and ConstPtr types, using std::allocator. More...
 
#define ROS_DECLARE_MESSAGE_WITH_ALLOCATOR(msg, new_name, alloc)
 Forward-declare a message, including Ptr and ConstPtr types, with an allocator. More...
 
#define ROSLIB_MESSAGE_FORWARD_H
 

Macro Definition Documentation

◆ ROS_DECLARE_MESSAGE

#define ROS_DECLARE_MESSAGE (   msg)    ROS_DECLARE_MESSAGE_WITH_ALLOCATOR(msg, msg, std::allocator)

Forward-declare a message, including Ptr and ConstPtr types, using std::allocator.

Parameters
msgThe "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
nsThe namespace the message should be declared inside
mThe "base" message type, i.e. the name of the .msg file
new_nameThe name you'd like the message to have
allocThe 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

Definition at line 30 of file message_forward.h.

msg
msg
_
#define _(msgid)
Definition: getopt.c:87


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:13