TargetPriority Class Reference

The Priority of a GazeTarget. More...

#include <armarx/view_selection/gaze_targets/TargetPriority.h>

Public Member Functions

bool operator!= (const TargetPriority &rhs) const
 
bool operator< (const TargetPriority &rhs) const
 
bool operator<= (const TargetPriority &rhs) const
 
bool operator== (const TargetPriority &rhs) const
 
bool operator> (const TargetPriority &rhs) const
 
bool operator>= (const TargetPriority &rhs) const
 
 TargetPriority (const AttentionType &attentionType=AttentionType::RandomEvent, double priority=-1)
 

Public Attributes

AttentionType attentionType
 The type of attention, defining the first level of priority.
 
double priority
 The priority among GazeTargets of same AttentionType.
 

Detailed Description

The Priority of a GazeTarget.

Definition at line 39 of file TargetPriority.h.

Constructor & Destructor Documentation

◆ TargetPriority()

TargetPriority ( const AttentionType & attentionType = AttentionType::RandomEvent,
double priority = -1 )

Definition at line 29 of file TargetPriority.cpp.

+ Here is the caller graph for this function:

Member Function Documentation

◆ operator!=()

bool operator!= ( const TargetPriority & rhs) const

Definition at line 55 of file TargetPriority.cpp.

+ Here is the call graph for this function:

◆ operator<()

bool operator< ( const TargetPriority & rhs) const

Definition at line 34 of file TargetPriority.cpp.

+ Here is the call graph for this function:

◆ operator<=()

bool operator<= ( const TargetPriority & rhs) const

Definition at line 41 of file TargetPriority.cpp.

+ Here is the call graph for this function:

◆ operator==()

bool operator== ( const TargetPriority & rhs) const

Definition at line 49 of file TargetPriority.cpp.

+ Here is the call graph for this function:

◆ operator>()

bool operator> ( const TargetPriority & rhs) const

Definition at line 68 of file TargetPriority.cpp.

+ Here is the call graph for this function:

◆ operator>=()

bool operator>= ( const TargetPriority & rhs) const

Definition at line 61 of file TargetPriority.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ attentionType

AttentionType attentionType

The type of attention, defining the first level of priority.

Definition at line 59 of file TargetPriority.h.

◆ priority

double priority

The priority among GazeTargets of same AttentionType.

Definition at line 61 of file TargetPriority.h.


The documentation for this class was generated from the following files: