#include <memory>
Go to the source code of this file.
Macros | |
#define | MOVEIT_DECLARE_PTR(Name, Type) |
#define | MOVEIT_DECLARE_PTR_MEMBER(Type) |
#define MOVEIT_DECLARE_PTR | ( | Name, | |
Type | |||
) |
Macro that given a Name and a Type declares the following types:
For best portability the exact type of shared_ptr declared by the macro should be considered to be an implementation detail, liable to change in future releases.
Definition at line 54 of file declare_ptr.h.
#define MOVEIT_DECLARE_PTR_MEMBER | ( | Type | ) |
The macro defines the same typedefs as MOVEIT_DECLARE_PTR, but shortens the new names to their suffix.
This can be used to create Classname::Ptr
style names, but in most situations in MoveIt's codebase, MOVEIT_CLASS_FORWARD and MOVEIT_DECLARE_PTR should be preferred.
Definition at line 70 of file declare_ptr.h.