23 template<
typename T,
typename argument_type =
typename T::const_reference>
33 virtual void doExecute(
const T* container );
90 template<
typename T,
typename argument_type>
95 m_container( nullptr )
99 template<
typename T,
typename argument_type>
105 template<
typename T,
typename argument_type>
111 template<
typename T,
typename argument_type>
116 template<
typename T,
typename argument_type>
119 m_container = container;
120 if ( m_container !=
nullptr ) {
125 m_container =
nullptr;
128 template<
typename T,
typename argument_type>
133 template<
typename T,
typename argument_type>
137 onElement( i,
const_cast<T&
>(*m_container)[ i ] );
Representation of a name string.
ParallelRaContainerKernel(const agx::Name &name)
Construct given name.
agx::UInt getNumElements() const
virtual void onPostExecute()
Callback after the kernel (onElement callback) is executed.
virtual void onElement(agx::UInt index, argument_type element)=0
Callback with current element.
const T * getContainer() const
virtual void doExecute(const T *container)
Execute the jobs (blocking mode) given container.
virtual void onPreExecute()
Callback before the kernel (onElement callback) is executed.
A range job executes a kernel implementation on a subset of the data.
void execute()
Execute the task.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
LinearProbingHashSetImplementation< KeyT, HashT >::iterator end(LinearProbingHashSetImplementation< KeyT, HashT > &set)