AttentionType.cpp
Go to the documentation of this file.
1/*
2 ~/llvm/tools/clang/tools/clang-format/clang-format.py
3 * This file is part of ArmarX.
4 *
5 * ArmarX is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *
9 * ArmarX is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 *
17 * @package view_selection::ArmarXObjects::objects
18 * @author Johann Mantel ( j-mantel at gmx dot net )
19 * @date 2022
20 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
21 * GNU General Public License
22 */
23
24#include "AttentionType.h"
25
27{
28 const simox::meta::EnumNames<gaze_targets::AttentionType> gaze_targets::AttentionTypeNames{
29 {AttentionType::TaskDriven, "TaskDriven"},
30 {AttentionType::StimulusDriven, "StimulusDriven"},
31 {AttentionType::RandomEvent, "RandomEvent"},
32 };
33
34} // namespace armarx::view_selection
const simox::meta::EnumNames< AttentionType > AttentionTypeNames
@ RandomEvent
Random Targets with lowest priority.
@ StimulusDriven
Stimulus-Driven attention is executed when there is no Task-Driven GazeTarget.
@ TaskDriven
Task-Driven attention has highest priority.