armarx::view_selection::gaze_targets Namespace Reference

Namespaces

 dto
 

Classes

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

Enumerations

enum  AttentionType { TaskDriven = 2, StimulusDriven = 1, RandomEvent = 0 }
 Describes the type of attention. More...
 
enum  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 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 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 46 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 139 of file aron_conversions.cpp.

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

◆ fromAron() [3/4]

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

Definition at line 70 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 100 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 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:
+ Here is the caller graph for this function:

◆ operator<<() [1/2]

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

Definition at line 75 of file GazeTarget.cpp.

+ Here is the call graph for this function:

◆ operator<<() [2/2]

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

Definition at line 75 of file TargetPriority.cpp.

◆ toAron() [1/4]

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

Definition at line 29 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 123 of file aron_conversions.cpp.

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

◆ toAron() [3/4]

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

Definition at line 63 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 77 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 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:
+ Here is the caller graph for this function:

Variable Documentation

◆ AttentionTypeNames

const simox::meta::EnumNames< gaze_targets::AttentionType > AttentionTypeNames
Initial value:
{
{AttentionType::TaskDriven, "TaskDriven"},
{AttentionType::StimulusDriven, "StimulusDriven"},
{AttentionType::RandomEvent, "RandomEvent"},
}

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"}}

Definition at line 46 of file TargetStatus.h.

armarx::view_selection::gaze_targets::dto::AttentionType::StimulusDriven
@ StimulusDriven
Definition: GazeTargets.ice:20
armarx::view_selection::gaze_targets::dto::AttentionType::RandomEvent
@ RandomEvent
Definition: GazeTargets.ice:21
armarx::view_selection::gaze_targets::dto::AttentionType::TaskDriven
@ TaskDriven
Definition: GazeTargets.ice:19