Tesseract
Motion Planning Environment
|
Resource locator implementation using a provided function to locate file resources. More...
Public Types | |
using | Ptr = std::shared_ptr< TestResourceLocator > |
using | ConstPtr = std::shared_ptr< const TestResourceLocator > |
Public Types inherited from tesseract_common::ResourceLocator | |
using | Ptr = std::shared_ptr< ResourceLocator > |
using | ConstPtr = std::shared_ptr< const ResourceLocator > |
Public Member Functions | |
~TestResourceLocator () override=default | |
tesseract_common::Resource::Ptr | locateResource (const std::string &url) const override final |
Locate a resource based on a URL. More... | |
Public Member Functions inherited from tesseract_common::ResourceLocator | |
virtual | ~ResourceLocator ()=default |
virtual std::shared_ptr< Resource > | locateResource (const std::string &url) const =0 |
Locate a resource based on a URL. More... | |
bool | operator== (const ResourceLocator &rhs) const |
bool | operator!= (const ResourceLocator &rhs) const |
Resource locator implementation using a provided function to locate file resources.
using TestResourceLocator::ConstPtr = std::shared_ptr<const TestResourceLocator> |
using TestResourceLocator::Ptr = std::shared_ptr<TestResourceLocator> |
|
overridedefault |
|
inlinefinaloverridevirtual |
Locate a resource based on a URL.
url | The URL of the resource |
Implements tesseract_common::ResourceLocator.