Skip to content
Snippets Groups Projects
Commit 76215e6a authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Remove TYPEDEF_PTRS_SHARED from RobotUnit/util.h (it was moved to ManagedIceObject.h)

parent 6d33738b
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@
#define _ARMARX_UNIT_RobotAPI_RobotUnit_util_H
#include <ArmarXCore/core/util/PropagateConst.h>
#include <ArmarXCore/core/ManagedIceObject.h>
#include "util/EigenForwardDeclarations.h"
#include "util/KeyValueVector.h"
......@@ -33,16 +34,4 @@
#include <type_traits>
// ------------------------------------------------------------------------------- //
// --------------------------- macros to typedef ptrs ---------------------------- //
// ------------------------------------------------------------------------------- //
#define TYPEDEF_PTRS_SHARED(T) \
class T; \
using T##Ptr = ::std::shared_ptr<T>; \
using T##PropagateConstPtr = ::armarx::PropagateConst<T##Ptr>; \
using Const##T##Ptr = ::std::shared_ptr<const T>
#define TYPEDEF_PTRS_HANDLE(T) \
class T; \
using T##Ptr = IceUtil::Handle<T>
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment