Macros
class_forward.h File Reference
#include <moveit/macros/declare_ptr.h>
Include dependency graph for class_forward.h:
This graph shows which files directly or indirectly include this file:

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 two shared ptrs types:

  • ${Class}Ptr = shared_ptr<${Class}>
  • ${Class}ConstPtr = shared_ptr<const ${Class}>

Definition at line 49 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 58 of file class_forward.h.



moveit_core
Author(s): Ioan Sucan , Sachin Chitta , Acorn Pooley
autogenerated on Wed Nov 14 2018 03:58:10