$search

message_forward.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  boost
namespace  std

Defines

#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.
#define ROS_DECLARE_MESSAGE_WITH_ALLOCATOR(msg, new_name, alloc)
 Forward-declare a message, including Ptr and ConstPtr types, with an allocator.

Define Documentation

#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:
msg The "base" message type, i.e. the name of the .msg file

Definition at line 59 of file message_forward.h.

#define ROS_DECLARE_MESSAGE_WITH_ALLOCATOR ( msg,
new_name,
alloc   ) 
Value:
template<class Allocator> struct msg##_; \
  typedef msg##_<alloc<void> > new_name; \
  typedef boost::shared_ptr<new_name> new_name##Ptr; \
  typedef boost::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 49 of file message_forward.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines


roscpp_traits
Author(s): Josh Faust
autogenerated on Sat Mar 2 13:22:46 2013