![]() |
Tesseract
Motion Planning Environment
|
#include <environment_cache.h>
Public Types | |
using | Ptr = std::shared_ptr< EnvironmentCache > |
using | ConstPtr = std::shared_ptr< const EnvironmentCache > |
using | UPtr = std::unique_ptr< EnvironmentCache > |
using | ConstUPtr = std::unique_ptr< const EnvironmentCache > |
Public Member Functions | |
EnvironmentCache ()=default | |
virtual | ~EnvironmentCache ()=default |
EnvironmentCache (const EnvironmentCache &)=delete | |
EnvironmentCache & | operator= (const EnvironmentCache &)=delete |
EnvironmentCache (EnvironmentCache &&)=delete | |
EnvironmentCache & | operator= (EnvironmentCache &&)=delete |
virtual void | setCacheSize (long size)=0 |
Set the cache size used to hold tesseract objects for motion planning. More... | |
virtual long | getCacheSize () const =0 |
Get the cache size used to hold tesseract objects for motion planning. More... | |
virtual void | refreshCache () const =0 |
If the environment has changed it will rebuild the cache of tesseract objects. More... | |
virtual Environment::UPtr | getCachedEnvironment () const =0 |
This will pop an Environment object from the queue. More... | |
using tesseract_environment::EnvironmentCache::ConstPtr = std::shared_ptr<const EnvironmentCache> |
using tesseract_environment::EnvironmentCache::ConstUPtr = std::unique_ptr<const EnvironmentCache> |
using tesseract_environment::EnvironmentCache::Ptr = std::shared_ptr<EnvironmentCache> |
using tesseract_environment::EnvironmentCache::UPtr = std::unique_ptr<EnvironmentCache> |
|
default |
|
virtualdefault |
|
delete |
|
delete |
|
pure virtual |
This will pop an Environment object from the queue.
This will first call refreshCache to ensure it has an updated tesseract then proceed
Implemented in tesseract_environment::DefaultEnvironmentCache.
|
pure virtual |
Get the cache size used to hold tesseract objects for motion planning.
Implemented in tesseract_environment::DefaultEnvironmentCache.
|
delete |
|
delete |
|
pure virtual |
If the environment has changed it will rebuild the cache of tesseract objects.
Implemented in tesseract_environment::DefaultEnvironmentCache.
|
pure virtual |
Set the cache size used to hold tesseract objects for motion planning.
size | The size of the cache. |
Implemented in tesseract_environment::DefaultEnvironmentCache.