Scheduler Class Reference

#include <armarx/view_selection/gaze_scheduler/Scheduler.h>

Classes

struct  InjectedServices
 
struct  Params
 

Public Member Functions

void handleControllerStatus (const gaze_controller::GazeControllerStatus &status)
 Feed one report from the low-level controller.
 
void handleTargetUpdate (const gaze_targets::GazeTarget &memoryTarget)
 
void resetPriorityQueue ()
 
 Scheduler (const InjectedServices &srv, const Params &params)
 
void submitToQueue (gaze_targets::GazeTarget target, armem::MemoryID gazeTargetID)
 Queue a request.
 
virtual ~Scheduler ()
 

Detailed Description

Definition at line 37 of file Scheduler.h.

Constructor & Destructor Documentation

◆ Scheduler()

Scheduler ( const InjectedServices & srv,
const Params & params )

Definition at line 35 of file Scheduler.cpp.

◆ ~Scheduler()

~Scheduler ( )
virtual

Definition at line 473 of file Scheduler.cpp.

Member Function Documentation

◆ handleControllerStatus()

void handleControllerStatus ( const gaze_controller::GazeControllerStatus & status)

Feed one report from the low-level controller.

Definition at line 308 of file Scheduler.cpp.

+ Here is the call graph for this function:

◆ handleTargetUpdate()

void handleTargetUpdate ( const gaze_targets::GazeTarget & memoryTarget)

◆ resetPriorityQueue()

void resetPriorityQueue ( )

Definition at line 88 of file Scheduler.cpp.

◆ submitToQueue()

void submitToQueue ( gaze_targets::GazeTarget target,
armem::MemoryID gazeTargetID )

Queue a request.

Parameters
gazeTargetIDThe memory ID of the request snapshot. Carries the requester and the target name, and pins the exact request, so status updates can be attributed even when two targets share an entity name. An invalid ID (the internal idle target) suppresses status publishing.

Definition at line 452 of file Scheduler.cpp.

+ Here is the call graph for this function:

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