Template Function cpphots::create_pool_ptr

Function Documentation

template<typename TS, typename ...TSArgs>
TimeSurfacePool *cpphots::create_pool_ptr(uint16_t polarities, TSArgs... tsargs)

Shorthand for TimeSurfacePool::create_ptr.

Template Parameters
  • TS – time surface type

  • TSArgs – types of the time surface constructor arguments

Parameters
  • polarities – numer of polarities (size of the pool)

  • tsargs – arguments forwarded to the time surface constructor

Returns

pointer to the constructed pool