![]() |
Tesseract 0.28.4
|

Public Member Functions | |
| 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. | |
| virtual long | getCacheSize () const =0 |
| Get the cache size used to hold tesseract objects for motion planning. | |
| virtual void | refreshCache () const =0 |
| If the environment has changed it will rebuild the cache of tesseract objects. | |
| virtual std::unique_ptr< Environment > | getCachedEnvironment () const =0 |
| This will pop an Environment object from the queue. | |
|
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.
|
pure virtual |
Get the cache size used to hold tesseract objects for motion planning.
Implemented in tesseract::environment::DefaultEnvironmentCache.
|
pure virtual |
If the environment has changed it will rebuild the cache of tesseract objects.
Implemented in tesseract::environment::DefaultEnvironmentCache.
|
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.