$darkmode
#include <functional>#include <memory>#include <string>#include <cloe/component/object.hpp>#include <cloe/component/object_sensor.hpp>Go to the source code of this file.
Classes | |
| class | cloe::ObjectSensorFilter |
| class | cloe::ObjectSensorFilterMap |
Typedefs | |
| using | cloe::ObjectFilter = std::function< bool(const Object &)> |
| using | cloe::ObjectFilterMap = std::function< std::shared_ptr< Object >(const std::shared_ptr< Object > &)> |
This file provides definitions for common functional idioms with respect to Objects and ObjectSensors.
| using cloe::ObjectFilter = typedef std::function<bool(const Object&)> |
ObjectFilter shall return true for any Object that should be yielded, and false for every Object that should be skipped.
| using cloe::ObjectFilterMap = typedef std::function<std::shared_ptr<Object>(const std::shared_ptr<Object>&)> |
ObjectFilterMap may map and filter objects at the same time.
std::make_shared first, and then make the changes.