armarx::view_selection::gaze_targets Namespace Reference

Namespaces

namespace  dto
 

Classes

class  GazeTarget
 Business Object (BO) class of GazeTarget. More...
 
class  TargetPriority
 The Priority of a GazeTarget. More...
 

Enumerations

enum class  AttentionType { TaskDriven = 2 , StimulusDriven = 1 , RandomEvent = 0 }
 Describes the type of attention. More...
 
enum class  TargetStatus {
  Requested , Active , Fixating , Done ,
  Aborted
}
 Describes the type of attention. More...
 

Functions

void fromAron (const arondto::AttentionType &dto, AttentionType &bo)
 
void fromAron (const arondto::GazeTarget &dto, GazeTarget &bo)
 
void fromAron (const arondto::TargetPriority &dto, TargetPriority &bo)
 
void fromAron (const arondto::TargetStatus &dto, TargetStatus &bo)
 
void fromIce (const dto::AttentionType::AttentionTypeEnum &dto, AttentionType &bo)
 
void fromIce (const dto::GazeTargetPtr &dto, GazeTarget &bo)
 
void fromIce (const dto::TargetPriority &dto, TargetPriority &bo)
 
::std::ostream & operator<< (::std::ostream &os, const GazeTarget &target)
 
std::ostream & operator<< (std::ostream &os, const TargetPriority &prio)
 
void toAron (arondto::AttentionType &dto, const AttentionType &bo)
 
void toAron (arondto::GazeTarget &dto, const GazeTarget &bo)
 
void toAron (arondto::TargetPriority &dto, const TargetPriority &bo)
 
void toAron (arondto::TargetStatus &dto, const TargetStatus &bo)
 
void toIce (dto::AttentionType::AttentionTypeEnum &dto, const AttentionType &bo)
 
void toIce (dto::GazeTargetPtr &dto, const GazeTarget &bo)
 
void toIce (dto::TargetPriority &dto, const TargetPriority &bo)
 

Variables

const simox::meta::EnumNames< AttentionTypeAttentionTypeNames
 
const simox::meta::EnumNames< TargetStatusTargetStatusNames
 

Enumeration Type Documentation

◆ AttentionType

enum class AttentionType
strong

Describes the type of attention.

Enumerator
TaskDriven 

Task-Driven attention has highest priority.

StimulusDriven 

Stimulus-Driven attention is executed when there is no Task-Driven GazeTarget.

RandomEvent 

Random Targets with lowest priority.

Definition at line 32 of file AttentionType.h.

◆ TargetStatus

enum class TargetStatus
strong

Describes the type of attention.

Enumerator
Requested 

commited to memory, waiting for scheduling

Active 

submitted to controller

Fixating 

targetPoint is reached, keeping focus for requested duration

Done 

execution finished

Aborted 

target was out of reach and thus deactivated by controller

Definition at line 32 of file TargetStatus.h.

Function Documentation

◆ fromAron() [1/4]

void fromAron ( const arondto::AttentionType & dto,
AttentionType & bo )

Definition at line 58 of file aron_conversions.cpp.

+ Here is the caller graph for this function:

◆ fromAron() [2/4]

void fromAron ( const arondto::GazeTarget & dto,
GazeTarget & bo )

Definition at line 151 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ fromAron() [3/4]

void fromAron ( const arondto::TargetPriority & dto,
TargetPriority & bo )

Definition at line 82 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ fromAron() [4/4]

void fromAron ( const arondto::TargetStatus & dto,
TargetStatus & bo )

Definition at line 112 of file aron_conversions.cpp.

◆ fromIce() [1/3]

void fromIce ( const dto::AttentionType::AttentionTypeEnum & dto,
AttentionType & bo )

Definition at line 32 of file ice_conversions.cpp.

◆ fromIce() [2/3]

void fromIce ( const dto::GazeTargetPtr & dto,
GazeTarget & bo )

Definition at line 10 of file ice_conversions.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fromIce() [3/3]

void fromIce ( const dto::TargetPriority & dto,
TargetPriority & bo )

Definition at line 66 of file ice_conversions.cpp.

+ Here is the call graph for this function:

◆ operator<<() [1/2]

std::ostream & operator<< ( ::std::ostream & os,
const GazeTarget & target )

Definition at line 73 of file GazeTarget.cpp.

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream & os,
const TargetPriority & prio )

Definition at line 74 of file TargetPriority.cpp.

◆ toAron() [1/4]

void toAron ( arondto::AttentionType & dto,
const AttentionType & bo )

Definition at line 41 of file aron_conversions.cpp.

+ Here is the caller graph for this function:

◆ toAron() [2/4]

void toAron ( arondto::GazeTarget & dto,
const GazeTarget & bo )

Definition at line 135 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ toAron() [3/4]

void toAron ( arondto::TargetPriority & dto,
const TargetPriority & bo )

Definition at line 75 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ toAron() [4/4]

void toAron ( arondto::TargetStatus & dto,
const TargetStatus & bo )

Definition at line 89 of file aron_conversions.cpp.

◆ toIce() [1/3]

void toIce ( dto::AttentionType::AttentionTypeEnum & dto,
const AttentionType & bo )

Definition at line 49 of file ice_conversions.cpp.

◆ toIce() [2/3]

void toIce ( dto::GazeTargetPtr & dto,
const GazeTarget & bo )

Definition at line 21 of file ice_conversions.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toIce() [3/3]

void toIce ( dto::TargetPriority & dto,
const TargetPriority & bo )

Definition at line 74 of file ice_conversions.cpp.

+ Here is the call graph for this function:

Variable Documentation

◆ AttentionTypeNames

const simox::meta::EnumNames< gaze_targets::AttentionType > AttentionTypeNames
extern
Initial value:
{
{AttentionType::TaskDriven, "TaskDriven"},
{AttentionType::StimulusDriven, "StimulusDriven"},
{AttentionType::RandomEvent, "RandomEvent"},
}
@ 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.

Definition at line 28 of file AttentionType.cpp.

◆ TargetStatusNames

const simox::meta::EnumNames<TargetStatus> TargetStatusNames
inline
Initial value:
{
{TargetStatus::Requested, "Requested"},
{TargetStatus::Active, "Active"},
{TargetStatus::Fixating, "Fixating"},
{TargetStatus::Done, "Done"},
{TargetStatus::Aborted, "Aborted"}}
@ Fixating
targetPoint is reached, keeping focus for requested duration
@ Aborted
target was out of reach and thus deactivated by controller
@ Requested
commited to memory, waiting for scheduling

Definition at line 46 of file TargetStatus.h.