26#ifndef TESSERACT_SUPPORT_TESSERACT_SUPPORT_RESOURCE_LOCATOR_H
27#define TESSERACT_SUPPORT_TESSERACT_SUPPORT_RESOURCE_LOCATOR_H
31#include <boost/serialization/access.hpp>
44 using Ptr = std::shared_ptr<TesseractSupportResourceLocator>;
45 using ConstPtr = std::shared_ptr<const TesseractSupportResourceLocator>;
47 std::shared_ptr<Resource>
locateResource(
const std::string& url)
const override final;
51 template <
class Archive>
52 void serialize(Archive& ar,
const unsigned int version);
56#include <boost/serialization/export.hpp>
57#include <boost/serialization/tracking.hpp>
Abstract class for resource loaders.
Definition: resource_locator.h:43
Abstract class for resource loaders.
Definition: tesseract_support_resource_locator.h:42
std::shared_ptr< Resource > locateResource(const std::string &url) const override final
Locate a resource based on a URL.
Definition: tesseract_support_resource_locator.cpp:36
void serialize(Archive &ar, const unsigned int version)
Definition: tesseract_support_resource_locator.cpp:64
std::shared_ptr< const TesseractSupportResourceLocator > ConstPtr
Definition: tesseract_support_resource_locator.h:45
friend class boost::serialization::access
Definition: tesseract_support_resource_locator.h:50
std::shared_ptr< TesseractSupportResourceLocator > Ptr
Definition: tesseract_support_resource_locator.h:44
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
Definition: macros.h:71
Definition: create_convex_hull.cpp:36
Definition: allowed_collision_matrix.h:16
Locate and retrieve resource data.