Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
tesseract_support_resource_locator.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_SUPPORT_TESSERACT_SUPPORT_RESOURCE_LOCATOR_H
27#define TESSERACT_SUPPORT_TESSERACT_SUPPORT_RESOURCE_LOCATOR_H
28
31#include <boost/serialization/access.hpp>
32#include <string>
34
37
38namespace tesseract_common
39{
42{
43public:
44 using Ptr = std::shared_ptr<TesseractSupportResourceLocator>;
45 using ConstPtr = std::shared_ptr<const TesseractSupportResourceLocator>;
46
47 std::shared_ptr<Resource> locateResource(const std::string& url) const override final;
48
49private:
51 template <class Archive>
52 void serialize(Archive& ar, const unsigned int version); // NOLINT
53};
54} // namespace tesseract_common
55
56#include <boost/serialization/export.hpp>
57#include <boost/serialization/tracking.hpp>
58BOOST_CLASS_EXPORT_KEY2(tesseract_common::TesseractSupportResourceLocator, "TesseractSupportResourceLocator")
59
60#endif // TESSERACT_SUPPORT_TESSERACT_SUPPORT_RESOURCE_LOCATOR_H
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
Common Tesseract Macros.
#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.
Common Tesseract Types.