moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Macros
class_forward.h File Reference
#include <moveit/macros/declare_ptr.h>
Include dependency graph for class_forward.h:

Go to the source code of this file.

Macros

#define MOVEIT_CLASS_FORWARD(C)
 
#define MOVEIT_STRUCT_FORWARD(C)
 

Macro Definition Documentation

◆ MOVEIT_CLASS_FORWARD

#define MOVEIT_CLASS_FORWARD (   C)
Value:
class C; \
MOVEIT_DECLARE_PTR(C, C)

Macro that forward declares a class and defines the respective smartpointers through MOVEIT_DECLARE_PTR.

Definition at line 46 of file class_forward.h.

◆ MOVEIT_STRUCT_FORWARD

#define MOVEIT_STRUCT_FORWARD (   C)
Value:
struct C; \
MOVEIT_DECLARE_PTR(C, C)

Like MOVEIT_CLASS_FORWARD, but forward declares the type as a struct instead of a class.

Definition at line 55 of file class_forward.h.