GazeTarget Class Reference

Business Object (BO) class of GazeTarget. More...

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

Public Member Functions

 GazeTarget ()
 
 GazeTarget (std::string targetName, const FramedPosition &targetPosition, const TargetPriority &priority, armarx::core::time::Duration duration, bool keepInQueue)
 
bool isActive () const
 
bool isExpired (std::optional< DateTime > reference=std::nullopt) const
 
bool operator!= (const GazeTarget &rhs) const
 
bool operator< (const GazeTarget &rhs) const
 
bool operator<= (const GazeTarget &rhs) const
 
bool operator== (const GazeTarget &rhs) const
 
bool operator> (const GazeTarget &rhs) const
 
bool operator>= (const GazeTarget &rhs) const
 

Public Attributes

armarx::DateTime activationTimestamp = armarx::DateTime::Invalid()
 
armarx::DateTime creationTimestamp = armarx::DateTime::Invalid()
 
armarx::core::time::Duration duration = armarx::Duration::MicroSeconds(0)
 
bool keepInQueue = false
 
std::string name = ""
 
FramedPosition position
 
TargetPriority priority = TargetPriority(AttentionType::RandomEvent, 0.0)
 

Detailed Description

Business Object (BO) class of GazeTarget.

Definition at line 21 of file GazeTarget.h.

Constructor & Destructor Documentation

◆ GazeTarget() [1/2]

GazeTarget ( )
default
+ Here is the caller graph for this function:

◆ GazeTarget() [2/2]

GazeTarget ( std::string targetName,
const FramedPosition & targetPosition,
const TargetPriority & priority,
armarx::core::time::Duration duration,
bool keepInQueue )
explicit

Definition at line 19 of file GazeTarget.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ isActive()

bool isActive ( ) const

Definition at line 36 of file GazeTarget.cpp.

◆ isExpired()

bool isExpired ( std::optional< DateTime > reference = std::nullopt) const

Definition at line 42 of file GazeTarget.cpp.

+ Here is the call graph for this function:

◆ operator!=()

bool operator!= ( const GazeTarget & rhs) const
inline

Definition at line 66 of file GazeTarget.h.

+ Here is the call graph for this function:

◆ operator<()

bool operator< ( const GazeTarget & rhs) const
inline

Definition at line 47 of file GazeTarget.h.

+ Here is the call graph for this function:

◆ operator<=()

bool operator<= ( const GazeTarget & rhs) const
inline

Definition at line 53 of file GazeTarget.h.

+ Here is the call graph for this function:

◆ operator==()

bool operator== ( const GazeTarget & rhs) const
inline

Definition at line 60 of file GazeTarget.h.

+ Here is the call graph for this function:

◆ operator>()

bool operator> ( const GazeTarget & rhs) const
inline

Definition at line 78 of file GazeTarget.h.

+ Here is the call graph for this function:

◆ operator>=()

bool operator>= ( const GazeTarget & rhs) const
inline

Definition at line 72 of file GazeTarget.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ activationTimestamp

Definition at line 34 of file GazeTarget.h.

◆ creationTimestamp

Definition at line 33 of file GazeTarget.h.

◆ duration

◆ keepInQueue

bool keepInQueue = false

Definition at line 30 of file GazeTarget.h.

◆ name

std::string name = ""

Definition at line 25 of file GazeTarget.h.

◆ position

FramedPosition position

Definition at line 26 of file GazeTarget.h.

◆ priority

Definition at line 28 of file GazeTarget.h.


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