Helios++
Helios software for LiDAR simulations
|
Functor container can be used to wrap any element so its functor () is called while having a shared pointer to the contained element. More...
#include <SmartSharedFunctorContainer.h>
Public Member Functions | |
SmartSharedFunctorContainer (std::shared_ptr< T > f) | |
Default constructor for the smart shared functor container. More... | |
virtual void | operator() () |
Functor to the contained element's functor. | |
Protected Attributes | |
std::shared_ptr< T > | f |
Container object which must have a callable functor () | |
Functor container can be used to wrap any element so its functor () is called while having a shared pointer to the contained element.
|
inline |
Default constructor for the smart shared functor container.