LocalizationJobContainer Class Reference

The LocalizationJobContainer class is used by ObjectLocalizationMemoryUpdater to create and execute segmentation specific groups of localization jobs. More...

#include <MemoryX/libraries/helpers/ObjectRecognitionHelpers/LocalizationJobContainer.h>

+ Inheritance diagram for LocalizationJobContainer:

Public Member Functions

void addJob (const LocalizationJobPtr &job)
 
void finishJobs ()
 finishJobs sets the finished property of all localization jobs to true More...
 
std::vector< std::string > getClassNamesUnique ()
 
std::vector< LocalizationQueryPtrgetQueries ()
 
std::string getRecognitionMethod ()
 
armarx::PosePtr getRobotPose ()
 
armarx::SharedRobotInterfacePrx getRobotState ()
 
 LocalizationJobContainer (const std::string &recognitionMethod)
 
void setRobotPose (const armarx::PosePtr &robotPose)
 
void setRobotState (const armarx::SharedRobotInterfacePrx &robotStatePrx)
 
void startJobs ()
 startJobs calls the LocalizationJob::start() method on all jobs added via LocalizationJobContainer::addJob(). More...
 
 ~LocalizationJobContainer () override
 

Detailed Description

The LocalizationJobContainer class is used by ObjectLocalizationMemoryUpdater to create and execute segmentation specific groups of localization jobs.

Definition at line 40 of file LocalizationJobContainer.h.

Constructor & Destructor Documentation

◆ LocalizationJobContainer()

LocalizationJobContainer ( const std::string &  recognitionMethod)
inline

Definition at line 44 of file LocalizationJobContainer.h.

+ Here is the call graph for this function:

◆ ~LocalizationJobContainer()

~LocalizationJobContainer ( )
inlineoverride

Definition at line 50 of file LocalizationJobContainer.h.

Member Function Documentation

◆ addJob()

void addJob ( const LocalizationJobPtr job)
inline

Definition at line 62 of file LocalizationJobContainer.h.

◆ finishJobs()

void finishJobs ( )
inline

finishJobs sets the finished property of all localization jobs to true

This results in LocalizationQuery::getFinished() to return true, indicating that all localization jobs have finished running. Calls LocalizationJob::setFinished() on each job added via LocalizationJobContainer::addJob().

Definition at line 91 of file LocalizationJobContainer.h.

◆ getClassNamesUnique()

std::vector<std::string> getClassNamesUnique ( )
inline

Definition at line 99 of file LocalizationJobContainer.h.

◆ getQueries()

std::vector<LocalizationQueryPtr> getQueries ( )
inline

Definition at line 107 of file LocalizationJobContainer.h.

◆ getRecognitionMethod()

std::string getRecognitionMethod ( )
inline

Definition at line 119 of file LocalizationJobContainer.h.

◆ getRobotPose()

armarx::PosePtr getRobotPose ( )
inline

Definition at line 149 of file LocalizationJobContainer.h.

◆ getRobotState()

armarx::SharedRobotInterfacePrx getRobotState ( )
inline

Definition at line 139 of file LocalizationJobContainer.h.

◆ setRobotPose()

void setRobotPose ( const armarx::PosePtr robotPose)
inline

Definition at line 144 of file LocalizationJobContainer.h.

◆ setRobotState()

void setRobotState ( const armarx::SharedRobotInterfacePrx robotStatePrx)
inline

Definition at line 124 of file LocalizationJobContainer.h.

◆ startJobs()

void startJobs ( )
inline

startJobs calls the LocalizationJob::start() method on all jobs added via LocalizationJobContainer::addJob().

Definition at line 77 of file LocalizationJobContainer.h.


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