Robowflex  v0.1
Making MoveIt Easy
class_forward.h File Reference
#include <memory>

Go to the source code of this file.

Macros

#define ROBOWFLEX_CLASS_FORWARD(C)
 Macro that forward declares a class and defines two shared ptrs types: More...
 
#define ROBOWFLEX_EIGEN   EIGEN_MAKE_ALIGNED_OPERATOR_NEW
 Macro for classes with fixed width Eigen classes. More...
 

Macro Definition Documentation

◆ ROBOWFLEX_CLASS_FORWARD

#define ROBOWFLEX_CLASS_FORWARD (   C)
Value:
class C; \
typedef std::shared_ptr<C> C##Ptr; \
typedef std::shared_ptr<const C> C##ConstPtr;

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 16 of file class_forward.h.

◆ ROBOWFLEX_EIGEN

#define ROBOWFLEX_EIGEN   EIGEN_MAKE_ALIGNED_OPERATOR_NEW

Macro for classes with fixed width Eigen classes.

Definition at line 25 of file class_forward.h.