15 #ifndef _ENTITY_FUNCTIONAL_WINDOW_H_INCLUDED_
16 #define _ENTITY_FUNCTIONAL_WINDOW_H_INCLUDED_
18 #include "entity/config.hpp"
23 namespace entity {
namespace functional
29 template<
typename ComponentPool>
30 typename ComponentPool::window
operator()(ComponentPool& p)
const
38 template<
typename ComponentPoolWindow>
39 typename ComponentPoolWindow::value_type&
operator()(ComponentPoolWindow view)
const
51 template<
typename ComponentPoolWindow>
52 bool operator()(
bool result, ComponentPoolWindow& view)
const
54 return view.increment(
target_) && result;
66 template<
typename ComponentPoolWindow>
67 bool operator()(
bool result, ComponentPoolWindow& view)
const
69 return view.increment(
target_) && result;
81 template<
typename ComponentPoolWindow>
92 template<
typename ComponentPoolWindow>
100 #endif // _ENTITY_FUNCTIONAL_WINDOW_H_INCLUDED_
increment_window(entity target)
bool operator()(ComponentPoolWindow const &view) const
advance_window(entity target)
bool operator()(bool result, ComponentPoolWindow &view) const
ComponentPool::window operator()(ComponentPool &p) const
bool operator()(ComponentPoolWindow const &view) const
ComponentPoolWindow::value_type & operator()(ComponentPoolWindow view) const
bool operator()(bool result, ComponentPoolWindow &view) const