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