- /// @brief Default construct an ObjectLinkingLayer.
- ObjectLinkingLayer() {}
-
- /// @brief Construct an ObjectLinkingLayer with the given NotifyLoaded
- /// functor.
- ObjectLinkingLayer(NotifyLoadedFtor NotifyLoaded)
- : NotifyLoaded(std::move(NotifyLoaded)) {}
-
- /// @brief Construct an ObjectLinkingLayer with the given NotifyFinalized
- /// functor.
- ObjectLinkingLayer(std::function<void(ObjSetHandleT)> NotifyFinalized)
- : NotifyFinalized(std::move(NotifyFinalized)) {}
-
- /// @brief Construct an ObjectLinkingLayer with the given CreateMemoryManager
- /// functor.
- ObjectLinkingLayer(
- std::function<std::unique_ptr<RTDyldMemoryManager>()> CreateMemoryManager)
- : CreateMemoryManager(std::move(CreateMemoryManager)) {}
-
- /// @brief Construct an ObjectLinkingLayer with the given NotifyLoaded and
- /// NotifyFinalized functors.
- ObjectLinkingLayer(NotifyLoadedFtor NotifyLoaded,
- std::function<void(ObjSetHandleT)> NotifyFinalized)
- : NotifyLoaded(std::move(NotifyLoaded)),
- NotifyFinalized(std::move(NotifyFinalized)) {}
+ /// @brief Functor to create RTDyldMemoryManager instances.
+ typedef std::function<std::unique_ptr<RTDyldMemoryManager>()> CreateRTDyldMMFtor;