Stride Reference Manual  - generated for commit 9643b11
geopop::GeoAggregator< Policy > Class Template Reference

A GeoAggregator that has to be called with a functor. More...

#include <GeoAggregator.h>

Inheritance diagram for geopop::GeoAggregator< Policy >:
Inheritance graph
Collaboration diagram for geopop::GeoAggregator< Policy >:
Collaboration graph

Public Member Functions

 GeoAggregator (const KdTree< geogrid_detail::KdTree2DPoint > &tree, typename Policy::Args &&args)
 
template<typename F >
void operator() (F f)
 Aggregate over the area specified by the policy with the functor f. More...
 

Private Attributes

Policy m_policy
 
const KdTree< geogrid_detail::KdTree2DPoint > & m_tree
 

Detailed Description

template<typename Policy>
class geopop::GeoAggregator< Policy >

A GeoAggregator that has to be called with a functor.

Definition at line 85 of file GeoAggregator.h.

Constructor & Destructor Documentation

template<typename Policy >
geopop::GeoAggregator< Policy >::GeoAggregator ( const KdTree< geogrid_detail::KdTree2DPoint > &  tree,
typename Policy::Args &&  args 
)
inline

Definition at line 88 of file GeoAggregator.h.

Member Function Documentation

template<typename Policy >
template<typename F >
void geopop::GeoAggregator< Policy >::operator() ( f)
inline

Aggregate over the area specified by the policy with the functor f.

Definition at line 95 of file GeoAggregator.h.

References geopop::geogrid_detail::KdTree2DPoint::GetLocation().

Here is the call graph for this function:

Member Data Documentation

template<typename Policy >
Policy geopop::GeoAggregator< Policy >::m_policy
private

Definition at line 109 of file GeoAggregator.h.

template<typename Policy >
const KdTree<geogrid_detail::KdTree2DPoint>& geopop::GeoAggregator< Policy >::m_tree
private

Definition at line 110 of file GeoAggregator.h.


The documentation for this class was generated from the following file: