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 isAborted () const
 
bool isActive () const
 
bool isExpired (std::optional< DateTime > reference=std::nullopt) const
 
bool isReached () const
 
bool isReleased () 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 abortedTimestamp = armarx::DateTime::Invalid()
 
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)
 
armarx::DateTime reachedTimestamp = armarx::DateTime::Invalid()
 
armarx::DateTime releasedTimestamp = armarx::DateTime::Invalid()
 
TargetStatus status = TargetStatus::Requested
 

Detailed Description

Business Object (BO) class of GazeTarget.

Definition at line 22 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 20 of file GazeTarget.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ isAborted()

bool isAborted ( ) const

Definition at line 58 of file GazeTarget.cpp.

◆ isActive()

bool isActive ( ) const

Definition at line 40 of file GazeTarget.cpp.

◆ isExpired()

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

Definition at line 64 of file GazeTarget.cpp.

+ Here is the call graph for this function:

◆ isReached()

bool isReached ( ) const

Definition at line 46 of file GazeTarget.cpp.

◆ isReleased()

bool isReleased ( ) const

Definition at line 52 of file GazeTarget.cpp.

◆ operator!=()

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

Definition at line 73 of file GazeTarget.h.

+ Here is the call graph for this function:

◆ operator<()

bool operator< ( const GazeTarget & rhs) const
inline

Definition at line 54 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 67 of file GazeTarget.h.

+ Here is the call graph for this function:

◆ operator>()

bool operator> ( const GazeTarget & rhs) const
inline

Definition at line 85 of file GazeTarget.h.

+ Here is the call graph for this function:

◆ operator>=()

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

Definition at line 79 of file GazeTarget.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ abortedTimestamp

Definition at line 38 of file GazeTarget.h.

◆ activationTimestamp

Definition at line 35 of file GazeTarget.h.

◆ creationTimestamp

Definition at line 34 of file GazeTarget.h.

◆ duration

◆ keepInQueue

bool keepInQueue = false

Definition at line 31 of file GazeTarget.h.

◆ name

std::string name = ""

Definition at line 26 of file GazeTarget.h.

◆ position

FramedPosition position

Definition at line 27 of file GazeTarget.h.

◆ priority

Definition at line 29 of file GazeTarget.h.

◆ reachedTimestamp

Definition at line 36 of file GazeTarget.h.

◆ releasedTimestamp

Definition at line 37 of file GazeTarget.h.

◆ status


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